Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.