what is the correct BORDER command ?

liunx

Guest
hi,
1) what is the right order to write the border properties?
i do like this = border: 1px solid black;
but i have seen = border : solid 1px black;
which is the correct way?

2) how do i border: none for all browsers?
i have seen this : "Opera doesn't get border:none or border:0 on fieldsets"
and his sulotion was : border:solid 0 black;
is this correct? is this a sulotion for ALL browsers ?Hi

1) 'border: 1px solid black' is the correct way.

2) 'border: 0' OR 'border-width: 0' works as well.

Hope that helps.Older versions of Opera (< 7.02) do require the border-style border:solid 0;
 
Back
Top