Forums

CSS

This topic is locked

CSS padding and borders

Posted 17 May 2007 04:18:57
1
has voted
17 May 2007 04:18:57 Kylie Jensen posted:
Hi
I am using dreamweaver to create my website and in the results section that picks up all your errors, I keep getting errors when I use broders and padding in my website if I view my website in firefox and safari. How can I stop this error. "value 5 is not supported for CSS property padding"

In firefox my borders dont show up correctly

Replies

Replied 17 May 2007 17:53:22
17 May 2007 17:53:22 Alan C replied:
this is a guess really <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

have you got a unit set after the 5 in your stylesheet, something like 5px ? No space between the number and the unit.

Reply to this topic