how to create a CSS class

How to create a class in HTML and CSS

In CSS you need to be able to select something on the HTML page to be able to style it.  Let’s take this HTML page for example: <!DOCTYPE html> <html lang=””> <head> <meta charset=”utf-8″> <title></title> </head> <body> <div>Style Me</div> </body> </html> On that page, we …

Read More

CSS Fixed Position

How to use position fixed in CSS

Sometimes on a webpage, you’ll want a part of it to never leave the screen.  No matter how much you scroll up or down, you’ll want that piece of the page to always be in the same spot.  For that, we use a CSS position …

Read More

apply css to xml

How to apply CSS to XML

Sometimes there will be times when you’ll need to take a body of XML information and apply CSS styles to it.  Luckily, it’s not too hard to do.  Let’s say you have an XML document that looks like this (the content about the movie is …

Read More