CSS in Firefox and Safari

Joined
Jan 17, 2008
Messages
16
Reaction score
0
Points
1
Your Mac's Specs
MacBook Pro: 2.16 GHz 2GB ram
I have made this School's website with in-line frames, and the CSS doesn't seem to be working in side the frame when views in FireFox.

http://www.spetisbury.dorset.sch.uk/school.html (an example page) works fine with IE and shows Comic Sans (not my choice) for the body text. But when I open it in FireFox it has the links on the parent page in Comic and the text in the in-line frames in Times. What is going so drastically wrong?

The CSS:
parent: http://www.spetisbury.dorset.sch.uk/style.css
frame: http://www.spetisbury.dorset.sch.uk/pages/contentstyle.css

Thanks, I can't work out what's going on! :Oops:
 
Joined
Mar 19, 2007
Messages
1,814
Reaction score
137
Points
63
Location
NY USA
Your Mac's Specs
iMac 5.1 | iMac 7.1 | iMac 12.1 | iMac 19.1 | iPhone 11 Pro | Watch s5
Take the <style> tags out of your .css files.

They should be like:
/* CSS Document */

body,td,th {
font-family: Comic Sans MS, Verdana, Arial, Helvetica, sans-serif;
font-size: small;
color: #000000;
}
 
OP
F
Joined
Jan 17, 2008
Messages
16
Reaction score
0
Points
1
Your Mac's Specs
MacBook Pro: 2.16 GHz 2GB ram
Thanks! That worked brilliantly!!!!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top