Table Scroll? |
Table Scroll? |
May 25 2009, 09:36 PM
Post
#1
|
|
|
Funride.org ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 326 Joined: Jul 2007 Member No: 542,299 |
I dont like the way my layout looks tiled, so I need to make it scroll.
Can someone tell me how? |
|
|
|
![]() |
May 26 2009, 07:48 PM
Post
#2
|
|
|
Funride.org ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 326 Joined: Jul 2007 Member No: 542,299 |
It's still not working.
When I make it smaller... I dont know. Just here's my code. Do you want to try? CODE <style type="text/css">
body{background-color: #f4fee5; background-image:url(http://i40.tinypic.com/28valax.png); background-image: repeat; color: #000000; font-family: century gothic; font-size: 12px;} #content{ position: absolute; overflow: hidden; top: 370px; left: 28px; width: 280px} .scroll { width:270px; height:100px; overflow:auto; } h1{ color:FF0000; font-family: Georgia; border: 1px solid; border-color: #FFFFFF; font-size: 30px} #banner{ position: absolute; top: 0px; left: 0px; width: 301px} #content h1 { margin-left: 0px; text-align: left; } #content p { margin-left: 0px; width: 300px; } #conenttwo{ position: absolute; overflow: hidden; top: 10px; left: 550px; width: 175px} #conenttwo h1 { margin-left: 350px; text-align: left; } #contenttwo p { margin-left: 350px; width: 300px; } #conenttwo h1 { margin-left: 0px; text-align: left; } </style> <div id="banner"> <img src="http://i42.tinypic.com/2euh06w.png"> </div> <div id="content"> <div class="scroll"> <h1>Heading</h1> text text text text textadlfkajsdlfhasdlfkjsdfl;jsadfl;kaaksssssssssssssssssssssssssssssssssssssssss sssssssssssssssssssssssssssssssssss </div></div> <div id="conenttwo"> <h1>Heading Here</h1> <p>Words words words words words. Words words words words words. These are words I want to see if they get cut off? Words words words words words. Words words words words words. Words words words words words. Words words words words words. Words words words words words. Words words words words words</p> </div> |
|
|
|
5stardesigns Table Scroll? May 25 2009, 09:36 PM
theerinkal You need to ask dreamgurl36 before editing her lay... May 25 2009, 09:51 PM
schizo Are you talking about the one you posted in the sh... May 25 2009, 11:04 PM
alek css for a basic scrolling div
CODE<style type... May 26 2009, 03:20 PM
5stardesigns I dont want it to scroll left to right.
I want it ... May 26 2009, 07:24 PM
digitalfragrance ^ Then erase the "width: 200px" attribut... May 26 2009, 07:27 PM
5stardesigns That didnt work because there was already a height... May 26 2009, 07:29 PM
digitalfragrance You want it to scroll up and down, right? Is it n... May 26 2009, 07:42 PM
digitalfragrance Well based on the text that you have in your scrol... May 26 2009, 07:55 PM
5stardesigns Alright thanks.
Now it works. May 26 2009, 07:59 PM
manny-the-dino Topic Closed & Moved May 26 2009, 08:03 PM![]() ![]() |