Using Conditional Comments in Your HTML

Internet Explorer is a fickle browser that often doesn’t cooperate with CSS rules like most other browsers do, which can really make the styling of certain elements a problem. To remedy this, you may sometimes choose to include a separate […]

Read Article

CSS Styles: Inline vs. Internal vs. External

Before you master CSS, you need to understand the different ways in which you can apply the CSS to your HTML. There are three basic ways to include style in your code: inline styling, internal stylesheets, and external stylesheets.

Inline styling […]

Read Article

CSS3’s Background Property: the Shorthand

There are a lot  of different variations for CSS3’s background property that are used very often — especially when we’re working with a background that’s an image. Styling a background can result in the accumulation of several different lines of […]

Read Article

When to Use CSS !important

Despite the fact that it’s widely used, applying CSS3’s !important declaration to your stylesheets isn’t considered to be a best practice. The !important declaration is typically used to override style rules that are defined elsewhere in the CSS. For example, […]

Read Article

How to Center Any HTML Element

We’ve all had that pesky HTML element that refuses to center no matter how many different CSS styles we apply. We always get it eventually, but sometimes it’s not before a lot of time has been wasted trying to remember […]

Read Article

Quick Tip: Multiple Classes

Sometimes it’s necessary for an HTML element to have two, three, or even four + classes assigned to it. To assign multiple classes to an element, all you need to do is separate them with a space, like this:

< View […]

Read Article