SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 28 of 28
  1. #26
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,272
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by EricWatson View Post
    Thank you for explaining Paul Well cool then. Unless I'm mistaken that puts inline-block right up there with overflow hidden as a simple float container then.
    Except that it makes the element an inline block and content will try to go alongside would there be room. It also introduces the whitespace bug between elements like the gaps between words because that's what the element effectively becomes.

    However if you are using it on a page wrapper then those problems probably won't have any effect.

    Also remember that inline-block is also subject to the text-alignment of the parent.

  2. #27
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Ahh yes. As with the others then - depending in the situation.

  3. #28
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    I notice Paul mentioned display: inline-block above too. Might be worth adding that to your handy list, Eric.
    Morning Ok I added inline-block and AP to my float demos.


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
  •