SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Fieldset and legend
-
Sep 2, 2004, 06:34 #1
- Join Date
- Jan 2004
- Location
- Hull
- Posts
- 66
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Fieldset and legend
Anybody else had trouble with fieldset and legend in I.E., I've added a border and background colour to both so nothing to adveturous. The problem is the fielset background in I.E. goes up to the top of the legend tag instead of stopping at the border of the fieldset.
Haven't got an accessible url so can't show you, the code is
[CODE]
fieldset {
width:400px;
border: 1px solid #000;
font-size: 12px;
background: #C8C7D9;
}
legend {
color:#164974;
font-size: 14px;
font-weight:bold;
background: #C8C7D9;
border:1px solid #000;
}
Any ideas? TIA
-
Sep 10, 2004, 08:21 #2
- Join Date
- Jul 2003
- Location
- Suburbs of DC (MD)
- Posts
- 595
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you're still looking there's a relevant discussion here: http://www.sitepoint.com/forums/showthread.php?t=169621 which includes a hack (scroll to midnight9's post); there seems to be no non hack solution.
Bookmarks