Steve Pugh wrote:
Merlin Fradley <me************@btinternet.com> wrote:
I am re doing a friends site using css, and have a problem with the
formating applied to the body not registering in firefox. It works fine
in IE and Opera, the only other browsers I've tried it in.
Page in question is here:
http://www.stgeorgearmoury.co.uk/dev/index.html
Any help greatly appreciated.
You have HTML in your CSS file. Take out the <style> tags and the HTML
comments. Comments in CSS are of the form /* comment */
Steve
Hey! It works! The HTML was put in by the authoring program I use
(Matrix Y2K) which I am generally happy with, and I had assumed it was
trying to make sure browsers never tried to display the css itself. I
left it in just because it was easier than deleting it I guess. Lazy! If
you look, you will find my /* comments */ are in the right format, but
thanks for the tip, and thanks for the solution! I was going to try a
div enclosing everything in the body, but that seemed a little silly.
Thanks again!
--
Merlin