SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2001
    Location
    Northeast
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS with IE6 for Windows

    I noticed a problem when viewing two websites I'm working in in IE 6 on a windows machine (although they are fine in all Mozilla based browsers i.e. Camino, Mozilla 1.3 and IE 5.2 on Mac OSX).

    The left box is too far over to the right, in fact it covers the main text area of the site. The css for those two area's is below and the only site online to view is the main page at http://www.ericweb.org

    In CSS templates I have seen, there is sometimes a comment and code for IE6 browsers, but unfortunately, I can't seem to figure out what will fix the issue. If anyone can provide any ideas I would greatly appreciate it.

    #center{
    margin: 0 25% 0 15%;
    padding: 1% 3%;
    background: #ffffff;
    color: black;
    font-family: verdana, sans-serif;
    font-size: 11px;
    }

    #left{
    position: absolute;
    padding: 0;
    top: 115px;
    width: 15%;
    background: white;
    color: black;
    font-family: verdana, sans-serif;
    font-size: 11px;
    border-right: 1px solid #a5b5c6;
    border-left: 1px solid #a5b5c6;
    border-bottom: 1px solid #a5b5c6;
    border-top: 1px solid #a5b5c6;
    }


    Thanks!
    -Eric

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'll assume this is an issue relating to IE's faulty box model in quirks mode. check http://www.tantek.com/CSS/Examples/boxmodelhack.html for details
    redux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #3
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    Svj
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How to use the !DOCTYPE declaration in your document to switch on standards-compliant mode with Internet Explorer 6 or later...
    http://msdn.microsoft.com/library/de...hancements.asp


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
  •