![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've designed a fairly simple site that I want to take advantage of CSS in. Unfortunately, the bit I've used so far only seems to show up when viewed with IE and not Firefox (not sure about Mozilla at the moment). Here's the link from the applicable page: LINK REL="stylesheet" TYPE="text/css" HREF="dough1.css" TITLE="dough" And here's the css file referenced: style type="text/css" !-- BODY { color: #33CCCC; background: #800080; } -- /style I'm a total noob so feel free to hit me with obvious corrections. fin |
#3
| |||
| |||
|
|
finbogey wrote: move style type="text/css" !-- and -- /style from the css file you are including. <style type="text/css">... </style are only used for styles defined within the html page. They are not used in an included css file. !-- and --> are html comments. They were only useful with css in very old browsers. They serve no practical purpose within a css definition nowadays. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |