Posts: 485
Location: world traveller based in UK
|
I have built a website for a customer.
http://www.bitsmail.co.uk/TheDell/index.html
Thanks to LadynRed my CSS use has got considerably better I just suffer from some small issues now mostly related to cross browser compatability.
In this case the site views fine in IE but in Firefox the menu is displaced.
Can anyone suggest an answer
here is my CSS (or the bits that matter anyway)
Quote:
.a {color:#1D3B3B; text-decoration:none;}
a:hover { text-decoration:underline;}
/* ------ Page Layout Id's ------------ */
#wrapper{ width:750px; position:relative; margin: 0 auto; }
#header{}
#infobar{ background-image:url(../graphics/layout/layout_r5_c1.gif);
background-repeat:no-repeat; margin:0px; height:35px;}
#infobar p{color:#1D3B3B; font-size:70%; text-align:center;}
.infobar{color:#1D3B3B; font-size:70%; text-align:center;}
#page{ background-image:url(../graphics/layout/layout_r3_c1.gif); margin:0px;}
#inner { width:99%;}
.page-inner { float:left; margin:0px 0px 0px 5px; padding: 5px 0px 0px 0px; width:99%;}
#menubar, #main
{float:left; }
/* Menu layout Id's & styles */
#menubar { width: 150px;
background-color:#FFFFFF;
line-height:1.4em;
padding: 3px 5px 3px 0px;
margin-left:6px;
margin-top:5px;
font-size:78%;}
#menubar ul { margin-left:0px;}
#menubar li { list-style:none; margin-left:0px; list-style-position:inside; }
/* top right bottom left*/
.menu {background-color:#FFFFFF;
line-height:1.4em;
padding: 3px 5px 3px 0px;
margin-left:6px;
margin-top:5px;
font-size:78%;
width:145px;}
.menu ul{ margin-left:0px;}
.menu li{ list-style:none; margin-left:0px; list-style-position:inside;}
.menu-link1 {background-color:#FFF03C; color:#1D3B3B;}
.menu-link2 { background-color:#FFF147; color:#1D3B3B;}
.menu-link3 { background-color:#FFF253; color:#1D3B3B;}
.menu-link4 { background-color:#FFF46A; color:#1D3B3B;}
.menu-link5 { background-color:#FFF581; color:#1D3B3B;}
.menu-link6 { background-color:#FFF798; color:#1D3B3B;}
.menu-link7 { background-color:#FFFABA; color:#1D3B3B;}
.sub-menu { padding-left:8px;}
#main { margin-left:5px; margin-right: 2px; width: 557px; padding:4px;}
.columnA, .columnB
{float:left; width:310px; margin-left:20px; padding:2px; }
.columnAA{ padding-left:0px; padding-top:5px;}
.columnAA p{ padding-left:0px;}
.columnA{ padding-left:20px; font-size:12px;}
.columnB{ padding-left:10px; font-size:12px;}
.columnC{ width:720px;
text-align:center;
padding-left:20px;
padding-right:20px;
font-size:12px;
float:left;}
.img-yellow { *border: 1px solid #FF0000; padding:3px;}
.red { color:#FF0000;}
/* footer section */
#footer{ text-align:center; line-height:1.4em;
padding:2px;
background-image:url(../graphics/layout/layout_r6_c1.gif);
font-size:90%;
font-weight:bold;}
#footer2{ text-align:center;
line-height:1.4em;
padding:2px;
font-size:80%;
height:59px;
color:#FFFFFF;
background-image:url(../graphics/layout/layout_r7_c1.gif);
background-repeat:no-repeat;}
#footer p{}/* top right bottom left*/
.footer{ font-size:100%; margin: 0px; padding: 0px; color:#F4FF00; }
#footer2 p{ font-size:80%;}
#footer2 a{ color:#F4FF00;}
#endlinks{ position:relative; margin: 0 auto;
color:#F7FF3C;
text-align:center;
padding:8px;
font-size:70%;
font-family:Verdana, Arial, Helvetica, sans-serif; }
#endlinks a{color:#F7FF3C;}
#endlinks a:hover { color:#FFFFFF;}
.brclear{
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0px;
}
|
|