Posted by Beauregard T. Shagnasty on 08/06/07 12:04
jollyroger wrote:
> I have a table that will only validate if I use inline or an attached
> style. I would love to do that but for some really strange reason if
> I use the same identical attributes in my style it hoses up my
> layout??
First, I suggest you give the URL to your page, instead of posting code
fragments here.
> Can I please have a fresh eye look at this and tell me if it's
> something obvious I'm missing? Thanks!
Let us know when it's on a web server. Your mix of CSS and old-style
inline styling is .. well .. old.
> (I commented out the inline style for the table)
With the "<!--" and "-->" ? HTML comment markers don't work in CSS and
should be removed.
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
New pages should be Strict; you aren't Transitioning from anything.
> <style type="text/css">
> <!-- <--- remove these...
> .sometext {
> font-family: Tahoma, Verdana; <-- specify fallback
> font-size: 11px; <-- change to 100%;
> font-style: normal; <-- that is the default
> font-weight: bold; <-- bold is hard to read
See: http://k75s.home.att.net/fontsize.html
Validate your pages first.
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/validator.html
--
-bts
-Motorcycles defy gravity; cars just suck
Navigation:
[Reply to this message]
|