div style question...

  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 19, 2008
  • Posts: 134
  • Loc: Bulgaria
  • Status: Offline

Post October 7th, 2008, 9:34 am

How do you make this this but to scroll vertically?

And can this div be put in a table? I mean, so that you have a scrolling content IN the table.

I see in the source that it's this but can it be made vertically and put in a table?

Code: [ Select ]
<div style="width:100%;height:350px;overflow:auto;white-space:nowrap;background:#0F0D0C;border:1px solid #555">


If there's a way, please, will someone give me the code? Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 7th, 2008, 9:34 am

  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 19, 2008
  • Posts: 134
  • Loc: Bulgaria
  • Status: Offline

Post October 7th, 2008, 10:11 am

Wait, this should do, I think. Something like this:
Code: [ Select ]
<div style="border : solid 2px #ff0000; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 50px; overflow : auto; ">
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
</div>
  1. <div style="border : solid 2px #ff0000; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 50px; overflow : auto; ">
  2. 1<br />
  3. 2<br />
  4. 3<br />
  5. 4<br />
  6. 5<br />
  7. 6<br />
  8. 7<br />
  9. 8<br />
  10. 9<br />
  11. 10<br />
  12. </div>
Question is - will it work on all browsers?
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post October 7th, 2008, 9:33 pm

I think it should. The only way to find out is if you test it out from browser to browser.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 19, 2008
  • Posts: 134
  • Loc: Bulgaria
  • Status: Offline

Post October 8th, 2008, 7:17 am

Is Browsershots.org a good idea? I don't have all the possible browsers, and not to mention I'm on Windows so I can't see it through a Mac or Linux.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post October 8th, 2008, 9:39 pm

Yeah. Browsershots.org gives you a good idea on if it would work on major browsers. Just unselect the minor browsers that they have checked to make it quicker and go ahead. Unless you want to be a perfectionist and see it on every single browser... like I do :D
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 19, 2008
  • Posts: 134
  • Loc: Bulgaria
  • Status: Offline

Post October 9th, 2008, 6:22 am

Yes, I am too, haha.
I even made an account there so I can request more caps groups per day or whatever it was, because I always select ALL and that makes lots of jpg-s so.. ya sou da =3

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 118 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.