...

View Full Version : CSS In Firefox and IE...



Wayners
10-19-2009, 10:56 AM
Hi everyone. Got a strange problem here.



h8 {
font:normal 1.6em "Lucida Grande", sans-serif;
letter-spacing:-1px;
color:#fff;
text-align:left;
margin:10px 0 0;
text-indent:10px;
}




<div class="homebox2">
<div class="homebox-left"><h1><span>Why get a quote from Click Conveyancing?</span></h1>
<br /><h8><img src="images/arrow3.png" width="34" height="24" alt="Blue Arrow" align="texttop"/>For over 20 years we have been providing specialist conveyancing services.</h8>
<br />
<h8><img src="images/arrow3.png" width="34" height="24" alt="Blue Arrow" align="texttop" />Last year our team processed over &pound;6 Billion of conveyancing transactions.</h8>
<br />
<h8><img src="images/arrow3.png" width="34" height="24" alt="Blue Arrow" align="texttop"/>Conveyancing is our core business; It is what we do.</h8>
<div class="getquote"><img src="images/getquote2.png" width="139" height="26" alt="Quote Logo" /></div>
</div>
<div class="homebox-right"></div>
</div>
</div>


The above works fine in Firefox, and displays all fonts/colours/images etc in the right place, but strangely, IE displays the 3 bulletpoints without any styling (colour, indent, "texttop")

Anyone any idea why this is the case?

thanks in advance.

Wayners
10-19-2009, 11:02 AM
think ive just sussed it out - using my own <h> tags is obviously a no-no in a strict doctype :(

drhowarddrfine
10-19-2009, 05:39 PM
Making up your own tags is a no-no in any html doctype.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum