SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard subnet_rx's Avatar
    Join Date
    Aug 2001
    Location
    Hattiesburg, MS
    Posts
    1,085
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Text not staying within div on IE

    Text that is written though PHP and hard-coded text is not staying within the boundaries on certain divs on my site. All the content divs are within a class and have no id's, so why would some be going outside the boundaries while others aren't? Margins and padding are set. Are there known reasons why this happens?

  2. #2
    SitePoint Addict Guimauve's Avatar
    Join Date
    Aug 2004
    Location
    Chicago
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Set borders around your divs to see exactly where they fall, you may be surprised.

    Browsers cannot go outside of a div's boundary. Either your divs are growing in size, or the text isn't really where you think that it is.

    Charles

  3. #3
    SitePoint Wizard subnet_rx's Avatar
    Join Date
    Aug 2001
    Location
    Hattiesburg, MS
    Posts
    1,085
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my borders are set. Here is the site if you'd like to take a look. I think the included page in the search box is affecting the next content box. So I think I just have one problem instead of many.

  4. #4
    SitePoint Wizard subnet_rx's Avatar
    Join Date
    Aug 2001
    Location
    Hattiesburg, MS
    Posts
    1,085
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, problem pretty much solved. The table on the included file seemed to be forcing itself outside of the div.

    Although, the problem is not completely solved because now my bottom content box doesn't have a top border.


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
  •