Reply to Re: Fieldset not showing

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация