SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2004
    Location
    UK
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Emphasised text causes drop

    Hi there,

    this site has a problem where italic text using <em></em> causes the page to drop.

    Need to use the <em></em> method as its part of the back end system

    The text isn't justified so I don't think it's the IE bug that I've read about on another thread.

    http://www.welcometoimago.com/index.php?id=176

    Any ideas why this is happening?

    Thanks,

    Disciple

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,380
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Emphasised text does exhibit the same problems as the italic bug and will stretch its container enough to make it drop.

    I assume your talking about the bobbing up and down as you resize the screen smaller. (Obviously once the container is squashed too small it will drop anyway.)

    You should set a smaller widfth on your content -center to offset the stretching.
    Code:
    #center_content_block {
     margin: 10px 5px 0 3px ;
     width:95%;
     padding: 3px 3px 3px 0;
     color:#000; 
    }
    You also need to check your page in mozilla/firefox as you have some display issues there also.

    Hope that helps anyway.

    Paul


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
  •