Skip to main content

All Questions

Tagged with
0 votes
1 answer
308 views

Legends overlapping border in IE7 and 8 but not 9

I'm having an issue containing legends within fieldsets for IE7 and IE 8. Basically I have a set of fieldsets with the following CSS: fieldset { padding: 10px; border-top: 1px solid silver !...
Rick Donohoe's user avatar
  • 7,181
2 votes
1 answer
2k views

HTML: Why i can't see elements with html legend tag in browser for mobiles?

The first image belongs to Chrome desktop and the second is a browser for Android, the question is because in the mobile browser (including Safari for iPhone) I can not display the legend label on the ...
SoldierCorp's user avatar
  • 7,670
0 votes
3 answers
2k views

Legend doesn't float left on IE7

I am having trouble on IE7. I have following html format. <fieldset class="wrapper"> <legend class="ct">Legend </legend> <div class="ct">Div 1</div> <div ...
Dips's user avatar
  • 3,290
0 votes
2 answers
3k views

IE issue min margin-top Legends within a Fieldset

Got some IE issue with fieldsets, as you can see in the image is that IE even IE9 doesn't get the margin-top: -26px; Someone how knows the fix? fieldset{ border: 1px solid #CCC; border-top-color: ...
ThomasA's user avatar
  • 1,611
0 votes
1 answer
7k views

css style fieldset

i'm new to css and i'm trying to figure out a way to incorporate a legend tag as an header for my page currently my master page is styled by a field set : fieldset.field_set_main { ...
eran otzap's user avatar
  • 12.5k
7 votes
2 answers
11k views

Make a legend fill up the full width within the fieldset

I would like to have a background for a legend field within a fieldset. And I want it to take up the full width, but only within the fieldset. If I use legend {width: 100%} it will be wider than the ...
Jonas's user avatar
  • 127k
14 votes
9 answers
14k views

How can I make a fieldset legend-style "background line" on heading text?

I'm attempting to style heading text similar to how your default legend text appears in fieldsets; that is to say, I'd like a strikethrough-like line to come up to, but not through, the text. I can't ...
Meshaal's user avatar
  • 704
3 votes
1 answer
3k views

Why does Firefox 4 absolutely position fieldset legends differently than other browsers?

Why does Firefox 4 absolutely position fieldset legends differently than other browsers? Test page: <!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta charset="...
XP1's user avatar
  • 7,083
41 votes
2 answers
14k views

Why won't my <legend> element display inline?

I am trying to apply display: inline; to the <legend> element in my <fieldset> element, so that the following <span> will follow on the same line, but my CSS is having no effect. ...
Mild Fuzz's user avatar
  • 30.3k
1 vote
4 answers
2k views

Is there any way to get the full border when adding a border to a fieldset element?

When I add a border to fieldset element and then drag the legend down to work as a heading of sorts, the gap in the fieldset remains. Is there a way to have the entire border, without adding a wrapper ...
alex's user avatar
  • 487k
9 votes
4 answers
14k views

legend tag and Chrome

I've looked everywhere but to no avail. I got a <legend> in a form, which displays as I want in every browsers, except in Chrome. It's like it sits outside of the fieldset, or it's like it ...
Shaoz's user avatar
  • 10.6k
43 votes
10 answers
98k views

How to position the legend inside a fieldset with a border? [duplicate]

According to the several references on the web, it is not possible to position a legend. So it is suggested to wrap it with span: <legend><span>Foo</span></legend> Then we ...
nocss guy's user avatar
  • 433
1 vote
1 answer
503 views

IE7 acronym underline in a fieldset legend

I have an acronym inside of a fieldset/legend: <fieldset> <legend> <acronym>foo</acronym> </legend> </fieldset> In Firefox this gets rendered with ...
Chuck's user avatar
  • 143
28 votes
7 answers
29k views

Default CSS values for a fieldset <legend>

I'm trying to use a <legend> as a title inside a <fieldset>. In browsers other than IE, the <legend> is positioned on the top border of the <fieldset>, with the text perfectly ...
Marko's user avatar
  • 71.9k
1 vote
1 answer
11k views

How to set fieldset border from legend bottom?

I have fieldset and legend. fieldset border is coming in the middle of the legend like below But I want border like below Border line should come below legend. I am using below css. .fieldSet { ...
James123's user avatar
  • 11.5k

15 30 50 per page