|
Posted by Rik on 01/20/07 14:53
Peter Smit wrote:
> Please can someone tell me why fieldset borders are not showing. IE
> does what I expect. Mozilla does't. Page validates.
> http://pjmsmit.nl/probeersel5.htm
> Thank you for your patience.
You have no border-color and style defined. Allthough it's customary to
pick the color of the element and 'solid' in that case, there's no color
defined for the element by parent either. Also 'border' takes 3 values, if
you only wnat to define the width you should use border-width.
Furthermore I would not use em for a border-width. Using em's is good, but
there it get's tricky, for instance, my bottom-border gets marginally
thinner then to top & left, possibly due to internel rounding of the
browser.
There are several options:
Option 1:
fieldset{
border: 1px solid black;
}
Option 2:
fieldset{
border-width: 1px;
color: black;
}
Option 3:
fieldset{
border-width: 1px;
border-color: black;
}
Option 4:
body{
color: black;
}
fieldset{
border-width: 1px;
}
--
Rik Wasmus
Navigation:
[Reply to this message]
|