Skip to main content

All Questions

Tagged with
-1 votes
1 answer
395 views

Custom fieldset Legend css

How can i recreate the classic behavior of a form with fieldset and legend <form> <fieldset> <legend> Text </legend> </fieldset> </form> ...
Christian M.'s user avatar
0 votes
2 answers
2k views

How to prevent the fieldset's border from going through the legend element surrounded by the form tag?

I have a form with these tags: <form>, <fieldset> and <legend>. The fieldset's border passes through the middle of the legend element. I still want to have the border around my form,...
Camryn's user avatar
  • 3
1 vote
1 answer
580 views

Legend doesn't fit (different resolution)

I have got a form with a fieldset and a legend in it and I would like, the legend's background to fit the full width of the fieldset. But I don't know how? Here is my fiddle: Link HTML code: <...
c00L's user avatar
  • 609
10 votes
5 answers
14k views

Two legends in a fieldset

You can't have two legends for a given fieldset, but is there a way to get a legend effect without using the <legend> tag? <!-- left legend --> <fieldset> <legend> ...
gator's user avatar
  • 3,513
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
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