Jump to content

The <fieldset> Tag


atar.yosef
 Share

Recommended Posts

Hello to all!!!Can someone help me concerning with how to limit the size of the <fieldset> element?I want this element to surround my data "coupledly", but instead, it spread to all the page's width!!!What can I do in order to force it to couple to my data also to the width? Waiting for your help!!!!:)

Link to comment
Share on other sites

Don't use a width attribute in the tag. Use a width definition in a CSS stylesheet. If you're not sure how to do that, this will work also. Put it in your tag:<fieldset style="width:100px">My choice of 100px was just for illustration. You can choose your own width.The following is better. Put the style section in your document head:

<style type="text/css">	fieldset.mine {		width: 100px	}</style>*   *   *<fieldset class="mine">

Link to comment
Share on other sites

Don't use a width attribute in the tag. Use a width definition in a CSS stylesheet. If you're not sure how to do that, this will work also. Put it in your tag:<fieldset style="width:100px">My choice of 100px was just for illustration. You can choose your own width.The following is better. Put the style section in your document head:
<style type="text/css">	fieldset.mine {		width: 100px	}</style>*   *   *<fieldset class="mine">

Oh yeah!!!A lot of thanks for you Deirdre's Dad!!!!you are great!!!! :):)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...