2 replies [Last post]
dcatkin
Offline
newbie
Utah
Last seen: 12 years 41 weeks ago
Utah
Joined: 2007-12-07
Posts: 2
Points: 0

This is my imported css file.

*/

*{

margin: 0;

padding: 0;

}

body {

margin: 20px 0;

background: #F0F8FF;

font: normal small "Trebuchet MS", Arial, Helvetica, sans-serif;

color: #666666;

}

h1, h2, h3 {

color: #333333;

}

h2 {

}

h3 {

font-size: 1em;

}

p, blockquote, ul, ol {

margin-bottom: 1.0em;

line-height: 1.05em;

text-align: justify;

}

p {

}

blockquote {

margin-left: 2em;

margin-right: 2em;

font-style: italic;

}

ul {

margin-left: 3em;

}

ul li {
text-align:left;

}

ol {

margin-left: 3em;

}

ol li {

}

a {

text-decoration: underline;

color: #3E9722;

}

a:hover {

text-decoration: none;

color: #E58C24;

}

img {

border: none;

}

img.left {

float: left;

margin: 5px 20px 0 0;

}

img.right {

float: right;

margin: 5px 0 0 20px;

}

/* Boxed Style */

.boxed {

}

.boxed .title {

background: #3C74E6 url(../images/img06.gif) repeat-x;

}

.boxed .title h2 {

height: 28px;

padding: 12px 0 0 20px;

text-transform: uppercase;

font-size: 1em;

color: #FFFFFF;

}

.boxed .content {

padding: 20px;

border-top: 1px solid #CCCCFF;

background: url(../images/img07.gif) repeat-x;

}

/* Header */

#header {

width: 920px;

height: 120px;

margin: 0 auto;

padding: 20px 20px 0 20px;

background: url(../images/header/header920.gif) no-repeat;

}

/* Header > Logo */

#logo {

float: left;

width: 240px;

height: 50px;

}

#logo h1 {

float: left;

margin: 0;

padding: 50px 0 0 0;

font-size: 2.6em;

}

#logo h2 {

float: left;

margin-top: -5px;

font-size: 1em;

}

#logo a {

text-decoration: none;

color: #000000;

}

/* Header > Menu */

#menu {

float: center;

}

#menu ul {

margin: 0;

padding-top: 85px;

list-style: none;

}

#menu li {

display: inline;

}

#menu a {

display: block;

float: left;

width: 80px;

height: 30px;

margin-left: 2px;

padding-top: 10px;

background: url(../images/img03.gif) no-repeat;

text-decoration: none;
text-align:center;

font-weight: bold;

color: #000000;

}

#menu a:hover {

background-image: url(../images/img04.gif);

}

#menu .active a {

background-image: url(../images/img05.gif);

}

/* Content */

#content {

width: 920px;

margin: 0 auto;

padding: 20px;

background: url(../images/img02.jpg) no-repeat;

border-top: 1px solid #FFFFFF;

}

/* Content > Main */

#main {

float: left;

width: 480px;

padding-left: 20px;
padding-right: 20px;

}

/* Content > Sidebar */

#sidebar {

float: left;

width: 220px;

}

#sidebar .boxed .title h2 {

background: url(../images/img08.gif) no-repeat;

}

#sidebar2 {

float: left;

width: 180px;

padding-right: 20px;
position:absolute;
top:180px;
left:1120px;

}

#sidebar2 .boxed .title h2 {

background: url(../images/img10.gif) no-repeat right top;

}

/* Content > Sidebar2 > Sponsors */

#sponsors {

}

#sponsors ul {

margin-left: 0;

padding-left: 0;

list-style: inside;

}

/* Content > Sidebar2 > ad120x600 */

#ad120x600 {

text-align: center;

}

/* Footer */

#footer {

clear: both;

width: 960px;

height: 80px;

margin: 0 auto;

padding: 20px 0;

background: url(../images/img02.jpg) no-repeat;

}

#footer p {

margin: 0;

text-align: center;

line-height: normal;

font-size: x-small;

}

#footer a {

text-decoration: underline;

color: #666666;

}

#footer a:hover {

text-decoration: none;

}

/* Footer > Legal */

#legal {

}

/* Footer > Links */

#links {

}
This is the url to the html page.

usa-homeland.org

chikoppi
Offline
Enthusiast
Last seen: 9 years 40 weeks ago
Timezone: GMT-6
Joined: 2006-06-25
Posts: 85
Points: 2

Well, your "#menu"

Well, your "#menu" declaration specifies "float: center", which isn't a valid declaration. You can only use left, right, or none.

dcatkin
Offline
newbie
Utah
Last seen: 12 years 41 weeks ago
Utah
Joined: 2007-12-07
Posts: 2
Points: 0

Ok I fixed it

Thank you very much, sometimes I wonder about IE LOL.