Posted By

naehrstoff on 11/28/08


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

basicmagic
ETbyrne
snipplrhanz


Horizontal list without knowing it's width


 / Published in: CSS
 

URL: http://jqueryfordesigners.com/slider-gallery/

Displays the list horizontally without using floats and predefined ul-widths.

  1. ul {
  2. position: absolute;
  3. list-style: none;
  4. overflow: none;
  5. white-space: nowrap;
  6. padding: 0;
  7. margin: 0;
  8. }
  9. ul li {
  10. display: inline;
  11. }

Report this snippet  

You need to login to post a comment.