Filedset width

Hi,
  How can I set width of a filedset element in html? Please let me know.

Thank you
SthokalaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
By wrapping it in a fixed width container like below.  Borrowed from http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_fieldset
<html>
<body>
<div style="width:330px">
<form>
<fieldset>
<legend>Personalia:</legend>
Name: <input type="text" size="30" /><br />
Email: <input type="text" size="30" /><br />
Date of birth: <input type="text" size="10" />
</fieldset>
</form>
</div>
</body>
</html>

Open in new window

0
 
Kim WalkerConnect With a Mentor Web Programmer/TechnicianCommented:
You should also be able to apply that directly to the fieldset element.

<fieldset style="width: 330px;">

Open in new window

0
All Courses

From novice to tech pro — start learning today.