www.webdeveloper.com
Results 1 to 3 of 3

Thread: Display Problems in IE

  1. #1
    Join Date
    Apr 2007
    Posts
    12

    Display Problems in IE

    Hi everyone,
    I'm replacing my menu system and moving to a css based method. The files render okay in firefox, but i'm having some difficulty in IE. Each drop down is shifted to the right in IE 7. I have not been able to test this in any other browser, so if you see some problems, let me know.

    FYI: the site is http://www.blacksoxfan.com/testpage.php.

    Here is css the code:
    Code:
    /* blacksoxfan.com css stylesheet */
    /* steal at your own risk :-) */
    
    a:link    {text-decoration:none;color:#333;}
    a:visited {text-decoration:none;color:#333;}
    a:active  {text-decoration:none}
    a:hover	  {text-decoration:underline;}
    html{min-height:100%;margin-bottom:1px;}
    
    body {min-width:710px;text-align:center;vertical-align:top;font-size:10px;font-family:arial,helvetica,sans-serif;padding:0px;margin:0px auto;background-repeat:repeat-x;background-position:left top;}
    #frame {width:710px;text-align:center;border:1px solid #666;padding:0px;margin:0px auto;position:relative;overflow:hidden;}
    #frame2 {width:710px;text-align:center;border:0px solid #666;padding:5px 0px 0px 0px;margin:0px auto;overflow:hidden;}
    
    #imap {width:710px;height:247px;background:url(../images/art/banner.jpg) no-repeat;margin:0px auto 0px;position:relative;text-align:left;padding:0px;float:left;}
    #imap a#home{display:block;width:710px;height:133px;position:absolute;margin-top:114px;}
    #imap a#risberg {display:block;width:87px;height:91px;position:absolute;left:0;top:0;}
    #imap a#mcmullin {display:block;width:82px;height:91px;position:absolute;left:96px;top:0;}
    #imap a#jackson {display:block;width:83px;height:91px;position:absolute;left:186px;top:0;}
    #imap a#gandil {display:block;width:83px;height:91px;position:absolute;left:280px;top:0;}
    #imap a#felsch {display:block;width:81px;height:91px;position:absolute;left:372px;top:0;}
    #imap a#cicotte {display:block;width:80px;height:91px;position:absolute;left:463px;top:0;}
    #imap a#weaver {display:block;width:76px;height:91px;position:absolute;left:549px;top:0;}
    #imap a#williams {display:block;width:76px;height:91px;position:absolute;left:634px;top:0;}
    #imap2 {width:710px;height:247px;background:url(../images/art/banner_reds.jpg) no-repeat;margin:0px auto 0px;position:relative;text-align:left;padding:0px;float:left;}
    
    #imap2 a#home{display:block;width:710px;height:133px;position:absolute;margin-top:114px;}
    #imap2 a#roush {display:block;width:60px;height:91px;position:absolute;left:0;top:0;}
    #imap2 a#daubert {display:block;width:62px;height:91px;position:absolute;left:66px;top:0;}
    #imap2 a#sallee {display:block;width:62px;height:91px;position:absolute;left:135px;top:0;}
    #imap2 a#moran {display:block;width:63px;height:91px;position:absolute;left:203px;top:0;}
    #imap2 a#groh {display:block;width:63px;height:92px;position:absolute;left:273px;top:0;}
    
    #menu{width:100%;float:left;background-image:url('http://www.blacksoxfan.com/images/art/nav_back.gif');border-width:0px 0px 1px 0px;border-style:solid;}
    #menu ul{list-style:none;margin:0;padding:0;width:115px;float:left;}
    #menu a, #menu h2{font:10px arial,helvetica,sans-serif;width:118px;color:#000;background-color:inherit;line-height:18px;text-decoration:none;font-weight:bold;display:block;margin:0px;}
    #menu h2{background-image:url('http://www.blacksoxfan.com/images/art/nav_back.gif');background-repeat:repeat-x;height:19px;}
    #menu a{color:#000;height:19px;background-color:#eee;padding-width:1px 1px 0px 0px;padding-style:solid;}
    #menu a:hover{color: #a00;background:#fff;}
    #menu li{position:relative;}
    #menu ul ul{position:absolute;z-index:500;}
    #menu ul ul ul{position: absolute;top:0;left:100%;}
    
    div#menu ul ul,
    div#menu ul li:hover ul ul,
    div#menu ul ul li:hover ul ul{display:none;}
    
    div#menu ul li:hover ul,
    div#menu ul ul li:hover ul,
    div#menu ul ul ul li:hover ul{display:block;}
    
    /* old menu
    #menu {background-image:url('http://www.blacksoxfan.com/images/art/nav_back.gif');background-repeat:repeat-x;height:19px;width:710px;text-align:center;border-width:1px 0px 1px 0px;border-style:solid;border-color:#666;clear:both;margin-top:0px;padding-top:0px;}
    #menu ul {display:inline;list-style:none;border:0px;padding-left:0px;margin-left:0px;}
    #menu ul li{padding-right:10px;display:inline;list-style:none;}
    #menu a{font-family:arial,helvetica,sans-serif;font-size:10px;color:#000;background-color:inherit;line-height:18px;text-decoration:none;font-weight:bold;}
    #menu a:hover{color:#999;background-color:inherit;}
    #menu a:active{color:#999;background-color:inherit;}
    */
    
    #bottom_menu {background-image:url('http://www.blacksoxfan.com/images/art/nav_back.gif');background-repeat:repeat-x;height:19px;width:710px;text-align:center;border-width:1px 0px 1px 0px;border-style:solid;border-color:#666;clear:both;}
    #bottom_menu ul {display:inline;list-style:none;border:0px;padding-left:0px;margin-left:0px;}
    #bottom_menu ul li{padding-right:10px;display:inline;list-style:none;}
    #bottom_menu a{font-family:arial,helvetica,sans-serif;font-size:10px;color:#000;background-color:inherit;line-height:18px;text-decoration:none;font-weight:bold;}
    #bottom_menu a:hover{color:#999;background-color:inherit;}
    #bottom_menu a:active{color:#999;background-color:inherit;}
    
    #container {width:710px;float:left;margin:0px -195px 0px 0px;}
    #container2 {width:710px;float:left;margin:0px -400px 0px 0px;}
    
    #text {width:490px;height:270px;font-size:13px;text-align:justify;margin:10px 210px 10px 0px;padding:0px 0px 10px 10px;}
    #text a{font-family:arial,helvetica,sans-serif;font-size:13px;color:#999;background-color:inherit;text-decoration:none;}
    #text a:hover{color:#CC0000;background-color:inherit;text-decoration:underline;}
    #text h1 {font-family:arial,helvetica,sans-serif;font-size:15px;font-weight:bold;}
    #text h1 a{font-family:arial,helvetica,sans-serif;font-size:15px;text-decoration:none;}
    #text img {float:left;margin:5px 10px 0px 10px;}
    
    .notice {font-family:arial,helvetica,sans-serif;font-size:13px;color:#999;background-color:inherit;font-weight:bold;}
    
    #featured {width:180px;height:250px;margin:10px 10px 0px 0px;padding:55px 0px 0px 0px;background-image:url('http://www.blacksoxfan.com/images/art/featured.gif');background-repeat:no-repeat;float:right;}
    
    #new {text-align:left;margin:10px 0;width:299px;float:left;padding:0px 0px 0px 20px;border-width:0px;border-right-style:solid;border-color:#000;font-size:11px;}
    #new h1 {font-family:arial,helvetica,sans-serif;font-size:12px;}
    #new p {font-family:arial,helvetica,sans-serif;font-size:14px;}
    #new a {margin-left:2px;font-family:arial,helvetica,sans-serif;font-size:10px;color:#666;background-color:inherit;line-height:12px;text-decoration:none;}
    #new a:hover {color:#cc0000;background-color:inherit;text-decoration:underline;}
    
    #threads {text-align:left;margin:10px 0px 0px 20px;width:350px;float:right;font-size:11px;}
    #threads h1 {font-family:arial,helvetica,sans-serif;font-size:12px;}
    #threads p {font-family:arial,helvetica,sans-serif;font-size:14px;}
    #threads a {margin-left:2px;font-family:arial,helvetica,sans-serif;font-size:10px;color:#666;background-color:inherit;line-height:12px;text-decoration:none;}		
    #threads a:hover {color:#cc0000;background-color:inherit;text-decoration:underline;}
    
    .footer {text-align:left;padding-left:5px;border:0px solid #666;}
    .clear {height:0;clear:both;}
    
    .bodytext {font-size:13px;text-align:left;padding:10px 10px 10px 10px;}
    .bodytext a{font-family:Arial, Helvetica, sans-serif;font-size:13px;color:#999999;background-color:inherit;text-decoration:none;}
    .bodytext a:hover{color:#CC0000;background-color:inherit;text-decoration:underline;}
    .bodytext h1 {font-family:Arial, Helvetica, sans-serif;font-size:15px;text-align:left;font-weight:bold;}
    .bodytext h1 a{font-family:Arial, Helvetica, sans-serif;font-size:15px;text-decoration:none;}
    .bodytext img {float:left;margin:5px 10px 5px 10px;border:0px solid #666;}
    
    .sectionheader {font-family:Arial, Helvetica, sans-serif;font-size:10pt;font-style:italic;font-weight:bold;margin:5px 0px 5px 0px;}
    .playerheader {font-family:Arial, Helvetica, sans-serif;font-size:9pt;font-style:italic;font-weight:bold;text-align:left;margin:5px 0px 5px 0px;padding-left:10px;}
    
    div.image_row {margin:0px auto;float:left;}
    div.image_row img {margin:0px 5px 5px 5px;}
    div.image_row p {text-align:center;margin:1em 0;}
    div.holder {border:1px dashed #666;background-color:#ffe;width:680px;margin:0px 15px 0px 15px;}
    div.spacer {clear:both;}
    
    .top {text-align:right;padding-right:5px;}
    .labeltext {font-family:Arial, Helvetica, sans-serif;font-size:8pt}
    
    table.stats {text-align:center;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif ;font-weight:normal;font-size:11px;color:#fff;width:280px;background-color:#666;border:0px;border-collapse:collapse;border-spacing:0px;}
    table.stats td	{background-color:#CCC;color:#000;padding:4px;text-align:left;border:1px #fff solid;}
    table.stats td.hed  {background-color:#666;color:#fff;padding:4px;text-align:left;border-bottom:2px #fff solid;font-size:12px;font-weight:bold;}

  2. #2
    Join Date
    Apr 2006
    Posts
    225
    Looks fine in FF and IE6. Sorry I don't have IE7 to look at it.

  3. #3
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    The same in Fx and IE7

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles