4 replies [Last post]
Dillinjl's picture
Last seen: 11 years 23 weeks ago
Timezone: GMT-6
Joined: 2010-03-03
Posts: 14
Points: 20

I created this site using a mac, and viewing it with firefox. All looks well in firefox but IE is not recognizing my css h1 tag. all of the text in the header is supposed to be white including "520 North Bullard Street - Silver CIty - New Mexico - 88061 - ......" But IE is not recognizing anything I put into my h1 tag. Here is the web address:

here is the css:

@charset "UTF-8";
/* CSS Document */
html, body {
	margin: 0;
	padding: 0;
body{background-color: #91AA8C}
h1{color: #FFF; Font-family: Georgia, "Times New Roman", Times, serif; font-size: 46px; letter-spacing: .33em; font-weight: normal; margin: 0; padding:0; float: right; margin-top: 80px; padding: left=150px}
img.produce{float: right; margin-top: -150px}
p1{color:#FFF;font-family:Arial, Helvetica, sans-serif; letter-spacing: .2em; font-size: .8em;  margin: 0; padding:0; float:left; margin-top: -5px; padding-left:10px}
#statement{font-weight: bold;font-family: Verdana, Geneva, sans-serif; font-size: .8em;margin-left:.2em}
#ourcoop {background-color: #A6000D}
#ourfood {background-color: #802400}
#ourcommunity {background-color:#89001F}
#resources {background-color: #DF6100}
#navmenu a{color: #FFF; text-decoration:none; line-height:1.5em;display:block; width:14.84em; text-align:center; letter-spacing:.3em}
#sublink a{color: #000;display:block; text-align:center; letter-spacing:.2em}
#dropdown a{background-color:#000;text-align:left;font-size:1em;border: solid; border-width:1px; letter-spacing:0}
#dropdownourcoop a{background-color:#A6000D}
#dropdownourfood a{background-color: #802400}
#dropdownourcommunity a{background-color:#89001F}
#dropdownresources a{background-color:#DF6100 }
#navmenu a:hover{background-color:#FFF; color:#000}
ul li {
	position: relative;
li ul {
	position: absolute;
	left: 0px;
	top: 24px;
	display: none
li:hover ul { display: block;z-index:2}
#navmenu ul{list-style: none; padding:0;margin:0;}
#navmenu li{float:left;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}
div.box {height: 150px; width:950px; border: 0px solid; border-color: #FFC9CF; background-color: #166501;clear:both}
#footer{color:#FFF; font-family:Arial, Helvetica, sans-serif;letter-spacing: .2em; height:1.5em;width:950px;background-color:#166501;float:left;padding-top:50;margin-top:50px}
p2{font: Arial, Helvetica, sans-serif; letter-spacing: .2em; font-size: .8em; color:#FFF; margin: 0; padding:0; float:left;Margin-top:5px; padding-left:7px}
html, body {height:100%;text-align: center}
#container {margin:0 auto;width: 950px; text-align: left; background-color: #FFF1E7;overflow: auto}

Can anyone see what I am doing wrong?


//mod edit: moved --gt

Panda's picture
Last seen: 11 years 16 weeks ago
Timezone: GMT+1
Joined: 2010-04-25
Posts: 98
Points: 110

padding: left=150px should

padding: left=150px

should be

padding-left: 150px

But as you have padding in the h1 tag twice I would take one out and re-write the remaining one:

padding: 0 0 0 150px;

Hope this helps, and works for you...

Deuce's picture
Somewhere, USA
Last seen: 4 years 14 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Validate, Validate, VALIDATE!

Validate, Validate, VALIDATE!

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Ed Seedhouse
Ed Seedhouse's picture
Victoria British Columbia
Last seen: 35 weeks 9 hours ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

As Deuce says we ask folks to

As Deuce says we ask folks to validate their code before they post. The validators are free and can catch errors much better than humans can. Please don't make us do work that a machine can do faster and better!

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

lokiloks's picture
Albuquerque, NM
Last seen: 11 years 24 weeks ago
Albuquerque, NM
Timezone: GMT-6
Joined: 2007-05-16
Posts: 145
Points: 24

IE for a mac

If you're using IE for mac, don't bother. It's a horrid browser and almost nobody uses it.

After getting your site to validate, re-post this in another area. The site check area is for sites that are at the very least in the alpha testing stage, not development.