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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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!!!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.