SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2004
    Location
    england
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    getting several DIVS inline

    Hi

    DIV areas have an automatic line break after them. So to use inline, you need to use SPAN. This is what I normally do, except I need to access the width and height attributes of the area which span tags just don't support, and if I tell the div to display:inline, it ignores them too!

    Is there an easy way to have several divs on one line, without line breaks, and fully supporting all attributes?

    Cheers

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Read up on floating divs with CSS.

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,492
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by Vinnie
    Read up on floating divs with CSS.
    Theres also some Info in the FAQ thread about floats that should help


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •