Sweets287 Posted November 21, 2007 Share Posted November 21, 2007 I have a header and a menu down the left setup by an include on my website. And a table with various text and images between them. Is there any way where I can keep the header and menu in the same place while I use the browser scroll bar to scroll down the text and images, I can put an extra scroll bar in the table but it looks awful with two scroll bars. Any Ideas? Quote Link to comment https://forums.phpfreaks.com/topic/78261-floating-header-menu/ Share on other sites More sharing options...
Glyde Posted November 21, 2007 Share Posted November 21, 2007 Wrong forum. We're here to help you with PHP related issues, and this isn't one. Check the HTML/CSS/JavaScript forums, you'll find the people you want there. Quote Link to comment https://forums.phpfreaks.com/topic/78261-floating-header-menu/#findComment-396058 Share on other sites More sharing options...
phpQuestioner Posted November 22, 2007 Share Posted November 22, 2007 create a div with a fixed width and fixed height and set the overflow to auto. example: <div style="width:500px;height:300px;overflow:auto;display:block;border:solid 1px #000000"> <table width=100% height=100% align=left valign=top border=0> <td> <img src="whatever.jpg" width=250 height=200> </td> <td align=left valign=top width=50%> text content here </td> <tr> <td width=50%> <img src="whatever.jpg" width=250 height=200> </td> <td align=left valign=top> text content here </td> </tr> </table> </div> Quote Link to comment https://forums.phpfreaks.com/topic/78261-floating-header-menu/#findComment-396411 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.