PDA

View Full Version : IE and fieldset li - i'm going crazy!



minx
Tue 2nd Nov '04, 12:52am
Hi..

I've got this annoying overlap...

It's the 'fieldset li' CSS tag, works in all besides IE
check the attached, you'll see what i mean, the colour breaks through the border past the 'legend'... how can i stop this?

RagingPenguin
Tue 2nd Nov '04, 1:03am
There is no LI tag displayed in your image. That css definition affects LI tags when inside a fieldset tag. What you need to do is play the top level definition for a fieldset and give it a fixed margin (the minimum distance between it's outer border and objects around it) and the border attribute of the containing element. I'm guessing that's a panel, so the css is .panel. It may take some playing around with the panels border and padding, as well as the fieldset's margin attributes, but that's the key here. Find a balance that looks good everywhere.

minx
Thu 4th Nov '04, 8:28am
http://forums.devshed.com/archive/t-195721

another example of hell :)
I could'nt do it, all i did was remove the background colour... all i could do

-M

RagingPenguin
Fri 5th Nov '04, 10:54pm
Email me a full client window screenshot, your css file (cut-n-pasted from 'view source' so I have all definitions), and a more detailed description of what your want. I'll try and fix it. This isn't a promise, just an attempt.