Jump to content

fixing fieldset


asmith

Recommended Posts

<fieldset><legend>test</legend>
<table><tr><td>teeeeeeeeeeeexxxxxxtttttttt</td></tr></table>
</fieldset>

 

 

thi fieldset streches when table grows bigger . what i want is to fix the fieldset , so when table grows it just add scroll bars .

 

i did tried css with width and height , but didn't get any results.

any idea ?

thanks

Link to comment
https://forums.phpfreaks.com/topic/83991-fixing-fieldset/
Share on other sites

if you have a continuous line of text, without any spaces in between; your probably not going to be able to set the field set at a specific width/height. plus your table does not have a specific width/height either. but if you use spaces in between your words and set the css width/height style for the fieldset you should not have any problems. as far as the scrollbar idea, for a fieldset; I don't think you will be able to implement it in the fieldset itself. you could wrap the entire field set in a div and set-up a specific witdh/height/overflow css style for it. that may give you what you wanting to do.

Link to comment
https://forums.phpfreaks.com/topic/83991-fixing-fieldset/#findComment-427522
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.