View Full Version : Question About Fieldsets


antisociaL
01-26-2003, 04:50 PM
Hi. I haven't posted here in a while, but I was just recently updating a site of mine, and I came across a problem.

I use fieldset tables, and I can't seem to have the tables set to a certain size, and it keeps expanding everytime I write something new.

The code I'm working is this:

<fieldset style="padding: 2">
<legend>Name Of Box Here</legend>
Message Here</fieldset>

I tried putting the:

id=scroll3 style=width:223;height:123;overflow:auto

code, but I don't see any change. I just want to know if that is the correct code and where I should put the code?

:: is majorly confused and would be glad if somebody could help ::

:)

pb&j
01-26-2003, 05:24 PM
Surround your fieldset with a table.

<table width="223"><tr><td>
<fieldset style="padding: 2">
<legend>Name Of Box Here</legend>
Message Here</fieldset>
</td></tr></table>

You should also have a type specified for your padding...
padding:2px;

If you wanted to add any other CSS (instead of the table idea) then I would think it goes into the fieldset tag as you have already done.

So going with all that, perhaps try this...

<fieldset style="padding: 2px; width:223px;height:123px;overflow:auto;">
<legend>Name Of Box Here</legend>
Message Here</fieldset>

antisociaL
01-26-2003, 09:47 PM
Thank you = )
I applied the html you suggested, and after a couple of size adjustments, I got it to fit perfectly on my page.

Thanx again! = )