CSS

Some Tips for Writing CSS

When it comes to building a website, there is one file that dictates just about every aspect of the site’s design and layout – the Cascading Style Sheet (CSS). Personally, I have learned the hard way that it is very important to create this document the right way to make future edits and adjustments quick and easy. Constantly changing browsers require edits to be made to the CSS file(s) by the designer.

5 CSS Tricks You May Not Know

1. Minimum Width for a Page (Using Expressions)

A very handy CSS command that exists is the min-width command, whereby you can specify a minimum width for any element. This can be particularly useful for specifying a minimum width for a page.

Unfortunately, IE doesn't understand this command, so we'll need to come up with a new way of making this functionality work in this browser. First, we'll insert a DIV under the BODY tag, as we can't assign a minimum width to the BODY:

 
blog rss banner
 

View All

Testimonials

"The Unleashed team was a lot of fun to work with - you guys have incredible talent and a great energy.

Alexander S. Martin
President, Skye Maritime

"Unleashed Technologies has done a phenomenal job with two different major and ongoing projects.

Director of Marketing, Recruiting Firm