[EMAIL PROTECTED] wrote:

>I have been trying to change my 3-column layout from % right left 
>columns to fixed width right/left columns and I keep getting a weird 
>error in the validator  It reads:
>
>    * Line: 255
>
>      Invalid number : margin
>      <http://www.w3.org/TR/REC-CSS2/box.html#propdef-margin> px is not
>      a margin-top value : px
>
>    * Line: 255
>
>      Invalid number : padding
>      <http://www.w3.org/TR/REC-CSS2/box.html#propdef-padding> px is not
>      a padding-top value : px
>
>    * Line: 255
>
>      Invalid number : width
>      <http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-width> Parse
>      Error -
>
>But when I look on and around line 255 in my code, I don't see anything 
>amiss.  Would someone mind checking it and see if there is something I 
>need to change?
>  
>
Yup! Line 255 says:

        <div class="mosimage" style="border-width: 0px; float: right; 
        margin: px; padding: px;" align="center">

There is no value before the "px" of the margin, but an empty space ("px 
is not a padding-top value", because the first expected thing after a 
margin-declaration is the value for the margin-top). The same for the 
padding. Is it: margin: 0px and padding: 0px?

        <div class="mosimage_caption" style="width: ; text-align: center;" 
        align="center">

Here is no value and no unity for the width: is it style="width: 154px;" 
(the same as the img)?

>Also, my middle column [...]
>
Hoping someone else can have a look.

Greetings,
francky

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to