Timoots
01-30-2008, 12:47 PM
Hey guys im having a CSS issue with a new menu bar I put on my site which im still developing
I view the site on my computer and it looks fine. But while im at work on an older model computer and prob and older version of IE it drops each tab verticaly and spreads them horizontaly the width of my page.
you can view the page at
http://www.scribblehost.com/phptest/
Here is the part of my style.css file which is related.....
/* -----------------------------------------Header------------------------------------ */
#logo {
width: 750px;
height: 65px;
margin: 0 auto;
}
#logo h1, #logo p {
margin: 0;
color: #FFFFFF;
}
#logo h1 {
float: left;
padding-top: 30px;
}
#logo p {
float: right;
padding-top: 39px;
font-size: 1.2em;
}
#logo a {
text-decoration: none;
color: #FFFFFF;
}
/* --------------------------------------------Menu -------------------------------------------*/
#menu {
width: 778px;
height: 45px;
margin: 0 auto;
background: #E7E7E7 url(images/lightbar.gif) no-repeat;
}
#menu ul {
margin: 0px;
padding: 5px 0 0 14px;
list-style: none;
}
#menu li {
display: inline;
float: left;
list-style: none;
background: #eee url(images/a_center2.gif) repeat-x;
}
#menu a {
display: block;
float: left;
height: 26px;
padding: 6px 26px 0px 26px;
text-decoration: none;
font-weight: bold;
color: #333333;
white-space: nowrap;
}
#menu a:hover {
color: #e8e8e8; background: #4f4f4f url(images/a_center.gif) repeat-x;
}
#menu .current_page_item a {
background: url(/images/b_center.gif) repeat-x;
}
#menu .navwidth > ul a {width: auto;}
#menu a {float: none; color: #e8e8e8;}
#menu li.current {position:relative; top:0px; margin-top: 0px}
#menu li.current a {
color: #000000;
background: #E7E7E7;
padding: 6px 16px;
}
#menu li.current a:hover {color: #000000; background: #E7E7E7;}
Any ideas?
And do you like the design so far?
I view the site on my computer and it looks fine. But while im at work on an older model computer and prob and older version of IE it drops each tab verticaly and spreads them horizontaly the width of my page.
you can view the page at
http://www.scribblehost.com/phptest/
Here is the part of my style.css file which is related.....
/* -----------------------------------------Header------------------------------------ */
#logo {
width: 750px;
height: 65px;
margin: 0 auto;
}
#logo h1, #logo p {
margin: 0;
color: #FFFFFF;
}
#logo h1 {
float: left;
padding-top: 30px;
}
#logo p {
float: right;
padding-top: 39px;
font-size: 1.2em;
}
#logo a {
text-decoration: none;
color: #FFFFFF;
}
/* --------------------------------------------Menu -------------------------------------------*/
#menu {
width: 778px;
height: 45px;
margin: 0 auto;
background: #E7E7E7 url(images/lightbar.gif) no-repeat;
}
#menu ul {
margin: 0px;
padding: 5px 0 0 14px;
list-style: none;
}
#menu li {
display: inline;
float: left;
list-style: none;
background: #eee url(images/a_center2.gif) repeat-x;
}
#menu a {
display: block;
float: left;
height: 26px;
padding: 6px 26px 0px 26px;
text-decoration: none;
font-weight: bold;
color: #333333;
white-space: nowrap;
}
#menu a:hover {
color: #e8e8e8; background: #4f4f4f url(images/a_center.gif) repeat-x;
}
#menu .current_page_item a {
background: url(/images/b_center.gif) repeat-x;
}
#menu .navwidth > ul a {width: auto;}
#menu a {float: none; color: #e8e8e8;}
#menu li.current {position:relative; top:0px; margin-top: 0px}
#menu li.current a {
color: #000000;
background: #E7E7E7;
padding: 6px 16px;
}
#menu li.current a:hover {color: #000000; background: #E7E7E7;}
Any ideas?
And do you like the design so far?
