SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: css help

  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    css help

    Hi,

    How can I prevent horizontal scrolling in IE6 (both resoutions) and still make this page render correctly in firefox?

    http://luxury-homes-virginia.com/index2.shtml
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting

  2. #2
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vision2000
    (both resolutions)


    As per the CSS box model specification, the TOTAL width of an element is the sum of its width, padding and borders.

    You have #wrapper with width of 100%, plus 2px borders (plus the padding that you haven't removed from the body).

  3. #3
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Buddy,

    Should I reduce the width to 98% or have a fixed width ie 770px?
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting

  4. #4
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I fixed it - please check.
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting


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
  •