Matt Posted March 19, 2006 Share Posted March 19, 2006 Basically, I have a website created using tables and inline frames. The center table is not big enough and I want to make it so it has a scroll bar, so the viewer can use it to view the rest of the information. Here is the page:http://artemis-fowl.com/NewDesign/fotw.htmAny tips? Link to comment Share on other sites More sharing options...
Err Posted March 19, 2006 Share Posted March 19, 2006 oh, I see. You need to add a div on the middle section, make the div have a height or however tall you want it then add overflow auto to it... something like this: <style type="text/css">div { width: 100%; height: 490px; overflow: auto;}</style> your html for that will most likely have to be within the table cell.I hope that helps Link to comment Share on other sites More sharing options...
thangaman Posted March 23, 2006 Share Posted March 23, 2006 *RahXephon has given the better suggestion, Good!,I would like to give the little different code.//The center table u can keep it inside Div tag//U can code it like--------------------------------------------------------------------------<div style="width:width in pixel; height:height in pixel; overflow:auto"><table id="ur table" width="width in pixel"><tr><td>UR Tbale</td></tr></table></div>----------------------------------------------------------------------------Depends upon ur content in center table U will get vertical scroll and Horizonal scroll bars Link to comment Share on other sites More sharing options...
Jonas Posted March 23, 2006 Share Posted March 23, 2006 Well, that is most certainly one way to do it, but that is dependant on him having one table element (with belonging tr and td elements) for each part. I'm guessing he really has only one table for layout, divided into a left, middle and right section (table cells), and want to scroll the middle table cell. That being the case, he would have to place the div inside the middle td element. Link to comment Share on other sites More sharing options...
Err Posted March 25, 2006 Share Posted March 25, 2006 That's what I first suggested! lol ...now, please don't ban me for saying that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now