homepage Welcome to WebmasterWorld Guest from 54.226.161.112
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
H1 tags - Different in IE and Firefox
...
austtr




msg:3130301
 1:05 am on Oct 22, 2006 (gmt 0)

The following is a typical line of code used in the CSS file to set the H1 display.

h1{margin-bottom:0em;font-size:13pt;color=#0066cc;font-family:Tahoma; verdana, Arial;}

IE will show the specified colour but Firefox does not seem to recognise it and usually shows the H1 text in black. This happens across multiple sites.

Can anyone offer a suggestion for getting the specified colour to show in both Browsers?

 

icantthinkofone




msg:3130307
 1:19 am on Oct 22, 2006 (gmt 0)

It's color:#0066cc; no equals sign. Also, remove the semicolon after Tahoma.

austtr




msg:3130510
 7:42 am on Oct 22, 2006 (gmt 0)

Thanks..

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved