Author Topic: CSS Warnings  (Read 2560 times)

billy_gates

  • Member
  • **
  • Posts: 801
  • Kudos: 0
    • http://www.skinner.com/jeffberg
CSS Warnings
« on: 9 March 2003, 00:23 »
I put my page on the CSS valdator to make sure it was correct.  It did not give errors but instead warnings...

Code: [Select]

then I made my CSS code look like this...

Code: [Select]

Then the warnings went away, when loaded in my browser it looks the same, just seems like a lot of redundant code to me.  Should I keep it the way without warnings or make it shorter and keep the warnings?

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
CSS Warnings
« Reply #1 on: 9 March 2003, 03:01 »
Doesn't matter at all! These are just warnings and NOT errors! Your CSS is still valid so it's really up to you to decide.   ;)

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
CSS Warnings
« Reply #2 on: 9 March 2003, 03:07 »
Without warnings of cource.

It may render in your browser but not someone else's otherwise. Dont be BILL G, make things COMPATIBLE.

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
CSS Warnings
« Reply #3 on: 9 March 2003, 04:46 »
quote:
Originally posted by X11: Slackware Commando.:
Without warnings of cource.

It may render in your browser but not someone else's otherwise. Dont be BILL G, make things COMPATIBLE.



It will render in EVERY browser out there just fine, believe me! These are just warnings that have to do with his links and body colors and not something of extreme importance.

billy_gates

  • Member
  • **
  • Posts: 801
  • Kudos: 0
    • http://www.skinner.com/jeffberg
CSS Warnings
« Reply #4 on: 9 March 2003, 07:36 »
I think because I like standards I will keep it the long way.  Also I don't get major hits, so a couple extra bytes tagged to the html file won't matter.  Thanks for your help.  Also, is there a reason you need to have a background and a color in every curly bracket?

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
CSS Warnings
« Reply #5 on: 10 March 2003, 02:10 »
If you weren't following the standards, then your CSS would not be validated in the first place. These are warnings and not errors. As for your question there is no particular reason at least to my knowledge.

JH

  • Member
  • **
  • Posts: 40
  • Kudos: 0
CSS Warnings
« Reply #6 on: 11 March 2003, 13:43 »
quote:
Originally posted by Billy Gates: Mac Comrade Captain:

Code: [Select]



Hope things might be a bit better if you try
Code: [Select]

devlkore

  • Member
  • **
  • Posts: 47
  • Kudos: 0
    • http://www.sparktasty.tk/
CSS Warnings
« Reply #7 on: 11 March 2003, 14:50 »
Test everything in Opera, if it looks fine then that's good. If it looks the same in Opera and in IE (GRR!) and Netscape, then that's great.
sono sain wa nihongo desu

zoolooo

  • Member
  • **
  • Posts: 54
  • Kudos: 0
CSS Warnings
« Reply #8 on: 11 March 2003, 20:30 »
The warnings refer to "best practice".

It's belt and braces - don't forget the bg colour of your text in case the body tag colour has failed.

zooloo