It's a shame that IE doesn't come to the party with this one. legend is a stubborn mule that doesn't want to budge, I've really never come across such a problem with any other tags.
I know what your talking about with the fieldset tag as well, that too was a pain in the butt, I had to wrap a seperate div around it and a span inside it to get it to do what I want. Marc ----- Original Message ----- From: "James Ellis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2004 5:26 PM Subject: Re: [WSG] applying styles to <legend> > Heh.. > > I banged my head against the wall about this for while, then gave up and > went with the flow which got the application into production sooner. > > Is an IE user going to be simultaneously viewing the same page in > Firefox or Mozilla or Opera? Bet you it's only web developers. > > Wait till you see what IE does with the <fieldset> tag... hint: put a > top border on it and a background image in :D > > This is the thing: don't worry about pixel perfectness, it doesn't exist. > > Cheers > James. > > Marc Greenstock wrote: > > >Hi all, > > > >I can't figure it out, Internet Explorer puts a 10px margin to the left of > >the legend, setting padding and margin to 0px removes about 3px but that > >still leaves about 7px that I don't want. > > > > > ***************************************************** > The discussion list for http://webstandardsgroup.org/ > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ***************************************************** > ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************