SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist ktown's Avatar
    Join Date
    May 2001
    Location
    toronto
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Did I apply the box model hack correctly ?

    [CODE]ul#mainnav {
    position:relative;
    top:64px;
    float:right;
    list-style: none;
    margin:0;
    padding:0;
    color:#CCCCCC;
    }

    ul#mainnav li {
    display: inline;
    padding:3 10 3 10;
    border: 1px solid #90928E;
    width:75px;
    }
    * html ul#mainnav li {
    width:97px;/*for ie5.x win */
    w\idth:75px;/*for ie6*/
    }

    ul#mainnav li a:link, ul#mainnav li a:visited {
    text-decoration:none;
    display: inline;
    padding:3 10 3 10;
    width:75px;
    }
    * html ul#mainnav li a:link, ul#mainnav li a:visited {
    width:97px;/*for ie5.x win */
    w\idth:75px;/*for ie6*/
    }

    ul#mainnav li a:hover {
    background-color:#90928E;
    display: inline;
    padding:3 10 3 10;
    width:75px;
    }
    * html ul#mainnav li a:hover {
    width:97px;/*for ie5.x win */
    w\idth:75px;/*for ie6*/
    }

  2. #2
    SitePoint Evangelist ktown's Avatar
    Join Date
    May 2001
    Location
    toronto
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is the navigation code (obviously) but its still doing all kinds of funky stuff in all browsers ? mostly IE though... I'm so confused still...

    http://www.portraitprofile.com/index2.html

    its hosted there - the index.html page is the one i didn't apply any box model hack to and it looks exactly the same

    help me please

    many many thanks !

    i swear sometimes i feel like i ask the same question over and over and over again... forgive me Paul'OB

    .nina

  3. #3
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  4. #4
    SitePoint Evangelist ktown's Avatar
    Join Date
    May 2001
    Location
    toronto
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks !

    I am actually battling the situation quite nicely w/ help from google.

    Toodles



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
  •