asmith Posted January 1, 2008 Share Posted January 1, 2008 <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 More sharing options...
phpQuestioner Posted January 1, 2008 Share Posted January 1, 2008 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 More sharing options...
we4freelance Posted January 2, 2008 Share Posted January 2, 2008 Hello, I do not think you will be able to have scrollbar for fieldset. Instead replace your <table> tag with <div> tag or try to put <table> tag in <div> tag. Hope this will help you. Link to comment https://forums.phpfreaks.com/topic/83991-fixing-fieldset/#findComment-428348 Share on other sites More sharing options...
phpQuestioner Posted January 2, 2008 Share Posted January 2, 2008 Hello, I do not think you will be able to have scrollbar for fieldset. Instead replace your <table> tag with <div> tag or try to put <table> tag in <div> tag. Hope this will help you. that is pretty much the same thing I have already said. Link to comment https://forums.phpfreaks.com/topic/83991-fixing-fieldset/#findComment-428619 Share on other sites More sharing options...
revraz Posted January 2, 2008 Share Posted January 2, 2008 He had to get to 5 posts somehow. Link to comment https://forums.phpfreaks.com/topic/83991-fixing-fieldset/#findComment-428717 Share on other sites More sharing options...
phpQuestioner Posted January 3, 2008 Share Posted January 3, 2008 He had to get to 5 posts somehow. Revraz - I guess so - LOL!!!!! Link to comment https://forums.phpfreaks.com/topic/83991-fixing-fieldset/#findComment-428870 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.