Ruriko
06-22-2008, 09:07 PM
This is my layout http://tinyurl.com/67s4dz
In IE the left side headings are centered I want to make it align on left. I tried putting text-align:left but that didn't work. How can I fix this?
In IE6 the navigation bar is bigger than the original height I set to. How to fix this?
/* CSS Document */
body {
background-image: url(images/bg.jpg);
background-repeat: repeat-x;
font-family: Verdana, Arial, Helvetica, sans-serif;
background-color: #F7EFDE;
margin: 0px;
font-size: 100%;
}
#wrapper {
width: 100%;
background-color: #000000;
}
#header {
width:985px;
background-image: url(images/header.jpg);
height: 209px;
background-repeat: no-repeat;
background-color: #FF9999;
}
#bar {
width:985px;
height:33px;
background-color: #666666;
background-image: url(images/bar.jpg);
text-align: center;
font-size: 12px;
color: #FFFFFF;
line-height: 33px;
font-weight: bold;
}
#bar a {
color: #990000;
text-decoration: none;
float: left;
padding-right: 2.5%;
padding-left: 2.5%;
}
#bar a:hover {
color: #990000;
text-decoration: none;
background-color: #FFFFFF;
line-height: 33px;
}
#banner {
width:468px;
height:60px;
background-color: #FFFFFF;
font-size: xx-large;
color: #A5717B;
left: 48.4%;
top: 5%;
position: relative;
border: 1px solid #A5717B;
text-align: center;
}
#sidebar-left{
width:21%;
background-color: #FFFFFF;
float: left;
border: 1px solid #663333;
margin: 1%;
display: inline;
}
#side-a {
padding: 5px;
font-size: 100%;
color: #663333;
}
#side-a a {
color: #990000;
text-decoration: none;
}
#side-a a:hover {
text-decoration: underline;
}
#side-a ul {
list-style-type: none;
margin: 0px;
padding: 2px;
}
#side-a li {
font-size: 80%;
list-style-type: none;
}
#side-a li li {
font-size: 100%;
font-weight: normal;
padding: 0px;
}
#content {
background-color: #FFFFFF;
border: 1px solid #663333;
margin-top: 1%;
margin-bottom: 1%;
float: left;
width: 53%;
}
#info {
padding: 5px;
font-size: 80%;
color: #663333;
}
#info li {
list-style-type: none;
}
#info a {
color: #990000;
text-decoration: none;
}
#info a:hover {
text-decoration: underline;
}
#sidebar-right {
width:21%;
background-color: #FFFFFF;
float: right;
border: 1px solid #663333;
margin: 1%;
display: inline;
}
#side-b {
padding: 5px;
font-size: 100%;
color: #663333;
}
#sidebanner {
padding: 2%;
color: #663333;
background-color: #FFFFFF;
border: 1px solid #663333;
height: 600px;
width: 160px;
margin-right: auto;
margin-bottom: 3%;
margin-left: auto;
text-align: center;
font-size: xx-large;
}
#side-b a {
color: #990000;
text-decoration: none;
}
#side-b a:hover {
text-decoration: underline;
}
#side-b ul {
list-style-type: none;
margin: 0px;
padding: 2px;
}
#side-b li {
font-size: 80%;
font-weight: bold;
list-style-type: none;
padding-bottom: 10px;
}
#side-b li li {
font-size: 100%;
font-weight: normal;
padding: 0px;
}
#footer {
background-color: #C6969C;
font-size: 80%;
color: #FFFFFF;
text-align: center;
padding: 0.1%;
height: 1%;
margin: 0px;
clear: both;
}
#footer a {
color: #660000;
text-decoration: none;
}
#search {
float: right;
position: relative;
}
h2 {
font-size: 100%;
}
h3 {
font-size: 100%;
}
h4 {
font-size: 100%;
}
input {
border: 1px solid #663333;
color: #663333;
background-color: #FFFFFF;
}
#comment {
width: 90%;
border: 1px solid #663333;
}
In IE the left side headings are centered I want to make it align on left. I tried putting text-align:left but that didn't work. How can I fix this?
In IE6 the navigation bar is bigger than the original height I set to. How to fix this?
/* CSS Document */
body {
background-image: url(images/bg.jpg);
background-repeat: repeat-x;
font-family: Verdana, Arial, Helvetica, sans-serif;
background-color: #F7EFDE;
margin: 0px;
font-size: 100%;
}
#wrapper {
width: 100%;
background-color: #000000;
}
#header {
width:985px;
background-image: url(images/header.jpg);
height: 209px;
background-repeat: no-repeat;
background-color: #FF9999;
}
#bar {
width:985px;
height:33px;
background-color: #666666;
background-image: url(images/bar.jpg);
text-align: center;
font-size: 12px;
color: #FFFFFF;
line-height: 33px;
font-weight: bold;
}
#bar a {
color: #990000;
text-decoration: none;
float: left;
padding-right: 2.5%;
padding-left: 2.5%;
}
#bar a:hover {
color: #990000;
text-decoration: none;
background-color: #FFFFFF;
line-height: 33px;
}
#banner {
width:468px;
height:60px;
background-color: #FFFFFF;
font-size: xx-large;
color: #A5717B;
left: 48.4%;
top: 5%;
position: relative;
border: 1px solid #A5717B;
text-align: center;
}
#sidebar-left{
width:21%;
background-color: #FFFFFF;
float: left;
border: 1px solid #663333;
margin: 1%;
display: inline;
}
#side-a {
padding: 5px;
font-size: 100%;
color: #663333;
}
#side-a a {
color: #990000;
text-decoration: none;
}
#side-a a:hover {
text-decoration: underline;
}
#side-a ul {
list-style-type: none;
margin: 0px;
padding: 2px;
}
#side-a li {
font-size: 80%;
list-style-type: none;
}
#side-a li li {
font-size: 100%;
font-weight: normal;
padding: 0px;
}
#content {
background-color: #FFFFFF;
border: 1px solid #663333;
margin-top: 1%;
margin-bottom: 1%;
float: left;
width: 53%;
}
#info {
padding: 5px;
font-size: 80%;
color: #663333;
}
#info li {
list-style-type: none;
}
#info a {
color: #990000;
text-decoration: none;
}
#info a:hover {
text-decoration: underline;
}
#sidebar-right {
width:21%;
background-color: #FFFFFF;
float: right;
border: 1px solid #663333;
margin: 1%;
display: inline;
}
#side-b {
padding: 5px;
font-size: 100%;
color: #663333;
}
#sidebanner {
padding: 2%;
color: #663333;
background-color: #FFFFFF;
border: 1px solid #663333;
height: 600px;
width: 160px;
margin-right: auto;
margin-bottom: 3%;
margin-left: auto;
text-align: center;
font-size: xx-large;
}
#side-b a {
color: #990000;
text-decoration: none;
}
#side-b a:hover {
text-decoration: underline;
}
#side-b ul {
list-style-type: none;
margin: 0px;
padding: 2px;
}
#side-b li {
font-size: 80%;
font-weight: bold;
list-style-type: none;
padding-bottom: 10px;
}
#side-b li li {
font-size: 100%;
font-weight: normal;
padding: 0px;
}
#footer {
background-color: #C6969C;
font-size: 80%;
color: #FFFFFF;
text-align: center;
padding: 0.1%;
height: 1%;
margin: 0px;
clear: both;
}
#footer a {
color: #660000;
text-decoration: none;
}
#search {
float: right;
position: relative;
}
h2 {
font-size: 100%;
}
h3 {
font-size: 100%;
}
h4 {
font-size: 100%;
}
input {
border: 1px solid #663333;
color: #663333;
background-color: #FFFFFF;
}
#comment {
width: 90%;
border: 1px solid #663333;
}