Newsroom / Blog

CSS

SGreenwell's picture

5 CSS Tricks You May Not Know

Dec30th

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:

SocialTwist Tell-a-Friend

Tags: CSS, Web Design