SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Jul 2003
    Location
    england
    Posts
    819
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question IE7 Breaks 'Read More' Link in two Lines

    I'm trying to get the '>> Read More...' links to display on one line in IE7, but it keeps breaking into two.

    What sort of fix do I need?

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    What sort of fix do I need?
    Hi,

    IE6/7 need the floats to come first in the source order if they are to sit on the same line with a non-floated element.

    You have floated your a.readon but the image before it was not floated.

    Either float them both or remove the float from a.readon

  3. #3
    SitePoint Guru
    Join Date
    Jul 2003
    Location
    england
    Posts
    819
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Smile

    Quote Originally Posted by Rayzur View Post
    Either float them both or remove the float from a.readon

    Excellent! That worked out nicely! Thank you!

  4. #4
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    Another general tip for ensuring that certain words or phrases stay together is to replace the space with a "non-breaking space" ( ). This should work in any context to prevent the text breaking onto a second line between those words.

  5. #5
    SitePoint Guru
    Join Date
    Jul 2003
    Location
    england
    Posts
    819
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks, Stevie D. I'll keep that in mind as well. Formatting for IE7 still has its challenges.


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
  •