On a completely different topic, but regarding your CSS:

Anytime you have "0" as a numerical value in your rules you don't need
units of anykind.  Only when you have something other than "0" do you
need to specify px, em, %, etc.

Also, you can use the value stated once when all numbers are equal as below.

For instance: {margin: 0; padding: 0;}

Also, if top/bottom and right/left pairs are the same number you can do this:

{margin: 5px 3px; padding: 1px 4px;}

In the above case, the first number is for top/bottom, and the second
for right/left.

Overall, just a shorter, more bandwidth-friendly way of writing the
code.  I know it seems tiny, but in the course of a whole CSS document
multiplied by the pages in your site multiplied by the times each page
is served up . . .  it can mean quicker page loading and better use of
the bandwidth you pay for.

Hope that helps some.  I'm still learning the CSS stuff myself :-)

Chris

> CSS:
>
> body { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; }
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to