div style question...

  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Posts: 135
  • Loc: Bulgaria

Post 3+ Months Ago

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!
  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Posts: 135
  • Loc: Bulgaria

Post 3+ Months Ago

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
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

I think it should. The only way to find out is if you test it out from browser to browser.
  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Posts: 135
  • Loc: Bulgaria

Post 3+ Months Ago

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
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

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
  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Posts: 135
  • Loc: Bulgaria

Post 3+ Months Ago

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 23 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.