The syntax is incorrect. It should be

xyz {
        margin: 0% 24% 0% 0%;
}

No commas between the values in the shorthand syntax. And you could  
also leave out the percent symbol when the value is 0. 0px = 0% = 0em  
= 0 ;-)


Michael


Am 07.04.2009 um 01:08 schrieb Christopher R:

> I used FireBugs layout method to adjust the margin on a <div> As  
> most of us know margins work by top, right, buttom, left.  Now using  
> firebox I enter in 24 for the right margin, then I wrote the short  
> hand for the <div> which I have in absolute positioning inwhich I  
> wrote, {0%, 24%, 0%, 0%;} when I previewed in Firefox after entering  
> that into my code it didn't show what I had saw using those values  
> in firebug, why is that?
>
> ______________________________________________________________________
> css-discuss [cs...@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to