SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    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

  2. #2
    Pointiest Petitions carrotflowers's Avatar
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •