Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
IE's showing it different again
Old 11-12-2005, 10:35 AM IE's showing it differently again
Ultra Talker

Posts: 251
Location: Belgium, Antwerp, Zoersel
Trades: 0
On this site: http://weyn.be, when you move your mouse over the links in the navigation menu, its background changes color. This goes perfectly well in Firefox, Opera and Internet Explorer, but IE's showing a 2px border on the right. Anyone got an idea on how to fix it?

The stylesheet's dynamic, so here are the versions for IE and the other browsers
layout.css (IE):
Code:
@media print{
  div.header{
    display:none;
  }

  div.menu{
    display:none;
  }

  div.balk{
    display:none;
  }

  div.bottom{
    display:none;
  }
}

@media screen{
  body {
    background:url(/images/background.jpg);
    color:#555753;
    margin:0;
  }

  #Container{
    margin:120px 10px 10px 160px;
  }

  div.header{
    height:66px;
    background-color:#4D2905;
    text-align:center;
    position:absolute;
    top:0;
    left:0;
    width:100%;
  }

  div.balk{
    height:30px;
    background-image:url(/images/balkachtergrond.png);
    text-align:center;
    position:absolute;
    top:66px;
    left:0;
    width:100%;
    padding:0;
  }

  div.menu{
    position:absolute;
    top:0;
    left:0;
    padding:96px 0 0 0;
    width:150px;
  }

  div.menu a{
    color:#fdef12;
    text-decoration:none;
    display:block;
    padding:0 0 0 2px;
    width:150px;
  }

  div.menu a:hover{
    background-color:#ae6a27;
  }

  div.menu ul{
    padding:5px 0 5px 0;
    width:100%;
    background-color:#4D2905;
    margin:0;
  }

  div.menu ul li a{
    padding:0 0 0 5px;
    width:145px;
  }

  div.menu ul li ul{
    padding-top:0;
  }

  div.menu ul li ul li a{
    padding:0 0 0 15px;
  }
  div.menu ul li ul li ul li a{
    padding:0 0 0 25px;
  }

  div.bottom{
    margin-left: 160px;
  }
}

@media screen, print{
  h1{
    font-weight:bold;
    font-style:italic;
    font-size:175%;
    text-align:center;
  }

  .block{
    display:block;
    padding:2px;
  }

  .preload{
    display:none;
  }

  a.nou{
    text-decoration:none;
  }

  ul.listing li{
    font-weight:bold;
  }

  ul.listing li ul li{
    font-weight:normal;
  }
}
Other Browsers:
Code:
@media print{
  div.header{
    display:none;
  }

  div.menu{
    display:none;
  }

  div.balk{
    display:none;
  }

  div.bottom{
    display:none;
  }
}

@media screen{
  body {
    background:url(/images/background.jpg);
    color:#555753;
    margin:0;
  }

  #Container{
    margin:120px 10px 10px 160px;
  }

  div.header{
    height:66px;
    background-color:#4D2905;
    text-align:center;
    position:absolute;
    top:0;
    left:0;
    width:100%;
  }

  div.balk{
    height:30px;
    background-image:url(/images/balkachtergrond.png);
    text-align:center;
    position:absolute;
    top:66px;
    left:0;
    width:100%;
    padding:0;
  }

  div.menu{
    position:absolute;
    top:0;
    left:0;
    padding:96px 0 0 0;
    width:150px;
  }

  div.menu:after{
    height:30px;
    content:url(/images/menubottom.gif);
  }

  div.menu a{
    color:#fdef12;
    text-decoration:none;
    display:block;
    padding:0 0 0 2px;
    width:148px;
  }

  div.menu a:hover{
    background-color:#ae6a27;
  }

  div.menu ul{
    padding:5px 0 5px 0;
    width:100%;
    background-color:#4D2905;
    margin:0;
  }

  div.menu ul li a{
    padding:0 0 0 5px;
    width:145px;
  }

  div.menu ul li ul{
    padding-top:0;
  }

  div.menu ul li ul li a{
    padding:0 0 0 15px;
    width:135px;
  }
  div.menu ul li ul li ul li a{
    padding:0 0 0 25px;
    width:125px;
  }

  div.bottom{
    margin-left: 160px;
  }
}

@media screen, print{
  h1{
    font-weight:bold;
    font-style:italic;
    font-size:175%;
    text-align:center;
  }

  .block{
    display:block;
    padding:2px;
  }

  .preload{
    display:none;
  }

  a.nou{
    text-decoration:none;
  }

  ul.listing li{
    font-weight:bold;
  }

  ul.listing li ul li{
    font-weight:normal;
  }
}

Last edited by Orodreth; 11-12-2005 at 11:38 AM..
Orodreth is offline
Reply With Quote
View Public Profile Visit Orodreth's homepage!
 
 
Register now for full access!
Reply     « Reply to IE's showing it different again
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15810 seconds with 12 queries