After some prodding, I'm nearly there... http://mrbsdomain.com/about.php
[edit]I thought the remaining problem was IE only but it's actually almost universal ( http://browsershots.org/http://mrb.t....com/about.php ) [/edit] The active tab has a 2px bottom border which obscures the top white border which spans the UL and appears to be the top border of the content box. This works in firefox et. al. but in IE, the UL border-bottom is in front of the active tab bottom border. The example I was using does not seem to have this problem.
Relevant CSS
Code:
#nav {
color: #fff;
text-align: right;
width: 100%;
border-bottom: 1px solid #fff;
margin: 0;
padding: 7px 0 9px 0;
}
#nav li {
display: inline;
overflow: hidden;
list-style-type: none;
}
body#home #tab-home a,
body#portfolio #tab-portfolio a,
body#gallery #tab-gallery a,
body#vaio #tab-vaio a,
body#webcam #tab-webcam a,
body#about #tab-about a {
color: #222;
background: #D9D5A3 /* url(http://www.mrbsdomain.com/images/tab-on.gif) repeat-x top left */;
border: 1px solid #fff;
border-bottom: 2px solid #D9D5A3;
font-weight: bold;
}
#contentContainer {
border: 1px solid #fff;
border-top: 0;
border-color: #FFFFFF;
background: #D9D5A3;
text-align: left;
width: 946px;
height: auto;
padding: 20px;
overflow: hidden;
}
[edit]
Partially solved with addition of...
position: relative;
z-index: x;
...to content DIV and UL
Aside from some IE issues, border corner rendering differs by browser which is having a slightly adverse effect on the appearance of the border line.
http://browsershots.org/http://mrbsdomain.com/about.php
If there is a way to control this with CSS, I would be appreciative.
[/edit]
[edit]Solved... view the source and see http://mrbsdomain.com/style.css[/edit]
Last edited by Mr. B; 12-18-2008 at 12:17 PM..
|