CSS errors

  • Thread starter Thread starter Malcolm Walker
  • Start date Start date
M

Malcolm Walker

Using FrontPage 2003 - Help will be much welcomed.

I have a test page in my site at www.sandiwaygolf.co.uk/2008janfb.htm
that has two CSS errors and does not display coloured borders or
background colour in two of the rows. The CSS errors are in line 7 and
line 70 of the style sheet, but from my CSS reference books I cannot see
what is causing the errors.

Warning: Expected ':' but found ','. Declaration dropped.
Source File: http://www.sandiwaygolf.co.uk/sgc_styles/2008fb.css
Line: 7

Warning: Unexpected end of file while searching for closing } of
declaration block.
Source File: http://www.sandiwaygolf.co.uk/sgc_styles/2008fb.css
Line: 70

On my system in Design view the borders and the background colour are
displayed. On-line in IE7 and Firefox 2.0.0.11 neither are to be seen.
Every cell in the table should have a border and the second and third
rows should have background colouring.
 
Ron,

Thank you for pointing out the omission to line 6. From the error
messages I would have been lucky to spot it was missing. Evidently I
will have to check my CSS very much more stringently.

Not only did the reported errors not recur but the expected borders and
background colour appeared as well. But more errors were then shown.
With the help of the W3 CSS validator I have resolved them and I'm left
with one warning.

Thank you again for your help and encouragement - it is very much
appreciated.

Malcolm
 
Back
Top