Skip to main content

All Questions

Tagged with
10 votes
4 answers
13k views

Can any HTML element be styled as a fieldset/legend?

Using the display property, HTML elements become interchangeable from a styling perspective. This doesn't seem to be the case for fieldset and legend, however. Is it possible to style other HTML ...
Jakob's user avatar
  • 2,726
1 vote
1 answer
2k views

basic html css design of a box with image and title

I am not a very good designer. At least not with html and css. I have been using a very simple code like this: <fieldset style=\"color: #000000; border: 1px solid #000000; width: 225px; text-align:...
ganjan's user avatar
  • 7,546
0 votes
1 answer
1k views

i want to have some cross browser consistency on my fieldsets, do you know how can i do it?

i have this problem with fieldsets... have a look at https://i.sstatic.net/2P59B.png is it possible to achieve what i want with css??? believe me, i tried! as you can see on the img, i just want ...
Omar's user avatar
  • 21
23 votes
6 answers
14k views

Cannot add `margin` to `<legend>` element in Safari & Chrome (WebKit)

EDIT: As of 2012-06-11 this bug has been finally fixed! https://bugs.webkit.org/show_bug.cgi?id=35981#c1 I have some pretty straightforward markup: <form action=""> <fieldset class="...
Graham Conzett's user avatar
0 votes
2 answers
2k views

Getting LEGEND tags to wrap text properly

Legend tags are always a nuisance as they don't adhere to a lot of CSS rules. I'm trying to get the text within a LEGEND tag to wrap using the typical solution of wrapping the text in the LEGEND with ...
DA.'s user avatar
  • 40.5k
59 votes
7 answers
80k views

Which CSS tag creates a box like this with title?

I want to create a box like this with title: Can any one please let me know if there is a default CSS tag to do this? Or do I need to create my custom style?
Mozammel's user avatar
  • 1,051

15 30 50 per page
1 2 3 4 5
6