fieldset

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? ...

Wrapping a label element within a legend element

I've never had a reason to put a label element inside of a legend element (never really thought about it or seen it done). But with the design I'm implementing, it's tempting to do so. Here's what I'm tempted to do: <fieldset> <legend><label for="formInfo">I would like information on</label></legend> <select id="formInfo"> <option val...

Fieldsets and legends

Alright, I know how the fieldset/legend works out in html. Say you have a form with some fields: <form> <fieldset> <legend>legend</legend> <input name="input1" /> </fieldset> </form> What should I use the legend for? It's being displayed as a title, but isn't a legend semantically an explanation of the contents...

Does the use of the fieldset HTML tag have meaning beyond grouping forms?

Usually, I've seen it with forms, but I've found it helpful to group related sets of data (eg when you have multiple tables on a page, using a fieldset around each table or group of related tables to define a visible meaning and a group name (legend)). Is this abusing the fieldset tag to the point where, in my uses, it no longer has sema...

Vertical center an anchor tag within a fieldset

I am trying to vertically center an anchor within a fieldset using CSS but it always appears to align to bottom. Is there any tricks to this? ...

Django and fieldsets on ModelForm

I know you can specify fieldsets in django for Admin helpers. However, I cannot find anything useful for ModelForms. Just some patches which I cannot use. Am I missing something? Is there a way I could achieve something like fieldsets without manually writing out each field on my template in the appropriate tag. I would ideally like to...

Jquery Dynamic Form - Quick Question

I have a form and up the top it contains four different radio buttons - the rest of the form changes depending on which of these radio buttons are selected. Currently each 'part' of the form is in its own fieldset and I'm hiding/showing these with Jquery. How can I only submit the data that is relevant to which part of the form is fille...

Forms with multiple columns, no tables

How to position a complex form with multiple fields in line across the screen? ...

Rounded corners on a fieldset

Hi, I noticed that the "fieldset" tag renders a rounded corner border on IE (it renders squared on the other browsers). <fieldset> <legend>My legend</legend> </fieldset> BUT if i set a CSS style on the fieldset, the rounded corners disappear!! Anybody know why? How to keep the rounded corners but with another border color?...

How to control the postioning of a fieldset with css?

I have the following code: <fieldset> <legend> <strong>Personal Information</strong> </legend> <ul> <li> <label for="first_name">First Name</label><br /> <input type="text" id="first_name" name="first_name" value="" maxlength="30" /> </li> ... </ul> </fieldset> ...

Zend_Form Display Groups Problem

Here is a short snippet from my class extending Zend_Form: $this->addElements(array( $inputField1, $inputField2, $inputField3, $submitButton )); $this->addDisplayGroup(array('inputField1', 'inputField2', 'inputField3', 'submitButton')...

can you have multiple formats within a fieldset legend

is there anyway to have a fieldset legend have different formats. For example, title would be big but sub title would be small? Title: sub title ...

Zend Form and nested fieldsets/containers?

I have a form. I have a single element that needs to be wrapped in a div or fieldset (for formatting). Then I have two groups of elements, including the above, that I want to wrap in a fieldset or div. I've managed to create two groups, but Zend Form seems to balk at letting me create a group containing a group. Should I be able to do th...

Validation on fieldset. The fieldset is inside the form and has inputs outside.

<form id="youtube-form" method="post" action=""> <label for="searchField" id="label-youtube-id">YouTube ID:</label> <input type="text" id="searchField" name="videoid" class="search-field" /> <fieldset id="outputFieldset"> <legend>Output format:</legend> <label for="flv">FLV</label> <input type="radio" id="flv"...

Example of a fieldset tag in HTML

Does anyone have good examples of how to use a fieldset tag in HTML? ...

Titled frame panel for GWT (using FIELDSET and LEGEND html tags)

I'm trying to create a titled border frame in GWT, which results in this: This can be done using HTML fieldset and legend tags, such as <fieldset> <legend>Connection parameters</legend> ... the rest ... </fieldset> I want to create a custom widget in GWT that implements that. I managed to do that, but the problem is that e...

Prevent jumpy fieldset when hovering in IE8

I have a fieldset inside of a fieldset. Each type of fieldset changes color when hovered over. Works great in Firefox, but in IE8 and IE8 in IE7 compat mode, when I hover over the child fieldset, it jumps (it looks like some padding gets removed, but that's not what my css says). Can someone help me figure out how to prevent the jumpy...

html fieldset allows children to expand indefinitely

I want to put a scrollable box inside of a fieldset, but I've run into a quirk and I can't figure out my way around it. When you put your scrollable div inside of a fieldset, the fieldset expands instead of making the scrollable element scroll. Here's a test case. The following expands indefinitely (boo): <div style="width: 300px; over...

Is using fieldset and labels in XHTML discouraged?

I heard there was fundamental lack of web-browser comprehension of those, and often IE6,7, opera would flounder trying to display them. Is that indeed true? Should those be avoided? And while we're at it, do they have a specific advantage when using forms? (except for the impeccably square frame around) ...

Is it possible to achieve a <fieldset>-like effect without using the <fieldset> tag?

Hello guys, I personally like the <fieldset> tag because of how it draws a box and puts the <legend> at the top of it, over the border. Like this. However, it was made to organize forms, and using it for general design is no better than using tables for general design. So, my question is... how can I achieve the same result using ano...