maxelcat
Technical User
- Oct 19, 2006
- 79
Dear All
If you kindly view the link
in firefox then the phone numbers etc at the bottom sit nicely on the violet border - whcih is where I wnat them and where I think the code that i have written puts them.
However, same link in IE6 and 7 puts the text over the line.
Can anybody tell me what I am doing wrong and what I need to do to get the positioning right.
The css for the above page is below
Many thanks
Edward
If you kindly view the link
in firefox then the phone numbers etc at the bottom sit nicely on the violet border - whcih is where I wnat them and where I think the code that i have written puts them.
However, same link in IE6 and 7 puts the text over the line.
Can anybody tell me what I am doing wrong and what I need to do to get the positioning right.
The css for the above page is below
Many thanks
Edward
Code:
/* CSS Document */
/*Level the playing field...*/
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6 forms, fieldset {
margin:0px;
padding:0px;
border:0px;
}
/*Define fonts for the whole site. Yext align:center is a IE5 bug fix - doesn't use margin:auto*/
body {
text-align:center;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
color:#000000;
}
/*center the whole page, give it a width of 740px
test-align:left undoes the IE5 bug fix in body, and puts all text back to the left. Good old microsoft*/
#wrapper {
width:740px;
margin:0px auto;
border:0px solid black;
text-align:left;
}
#banner {
margin-top:10px;
padding:0px;
}
/*navigation based on ul/li with altered properties*/
#nav {
width:500px;
border: 0px solid orange;
}
/*line height is adjusted by eye until the links line up with the bottom of the maxelcat*/
#nav ul {
padding:0px;
margin:0px;
background-color:#ffffff;
font-size:14px;
font-weight:bold;
line-height:120px;
}
#nav ul li {
display:inline;
padding:0px;
margin:0px;
}
#nav ul li a{
color:#000000;
background-color:#ffffff;
padding:0px 15px 0px 15px;
border-right:1px solid #8fd6ab;
text-align:center;
text-decoration:none;
}
#nav ul li a:hover, #nav ul li a:focus {
color:#ffffff;
background-color:#8fd6ab;
text-decoration:none;
}
/*center block container this block is fixed.*/
#mainblock_container {
margin-top:10px;
padding:0px;
border:0px solid black;
}
.tabletext {
background-color:#8fd6ab;
}
.tablewhite {
background-color:#FFFF00;
}
.imageright {
float:right;
}
#thumbnails {
margin:10px 0 0 0;
border:0px solid purple;
padding:0px;
}
#footerlist {
padding::0px;
margin: 10px 0 0 0;
border:1px solid violet;
text-align:center;
}
#footerlist ul {
padding:0px;
margin:0px;
background-color:#ffffff;
font-size:12px;
font-weight:bold;
line-height:120px;
}
#footerlist ul li {
display:inline;
padding:0px 10px;
margin:0px;
}
#footerlist p {
font-size:12px;
text-align:left;
}
.floatleft {
float:left;
}
.floatright {
float:right;
}