Re: html and css madness

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: Main PLUG discussion list
Subject: Re: html and css madness
On Sun, 2006-10-22 at 18:41 -0700, Joseph Sinclair wrote:
> This would make a lot more sense in devel, but I'll answer here for now...
>
> > all work as expected but the w3.org says these tags are deprecated which
> > is why I want to use the css methodology...but I can't make it work.
> ---
> Remember, CSS never works right if the browser is in quirks mode, so *MAKE SURE* your code is XHTML, *NOT* HTML 4.01 if you're going to use CSS.
> As an aside, you really should *never* use HTML 4.01, all new pages should be XHTML 1.1.

----
clearly defined as PEBKAC

XHTML 1.1 seems to have helped...yes
----
> Drop the 3 items above and see if the CSS works.
> Also, note that if you declare your page to be XHTML, then both CSS and HTML are case sensitive, use lowercase for all tags.

----
Gone - good to know that they weren't needed - which I sort of knew
because they weren't needed for it to work but I couldn't get the
list-style-types to work. I typically use lower case for all tags but
the ones that I copied from w3.org were upper case.
----
> End your li tag before starting a subgroup

----
interestingly enough, removing the closing li tags actually fixed a
numbering problem but I digress
----
> Subgroups need to be enclosed in their own li tag

----
I have them that way in my full document, I reduced it to test things
out and in this test file, I did a global eliminate my closing li tags
which as I said...stupid enough actually fixed one of my numbering
problems
----
> End all of your ol tags too.
>
> Here's a reformed version:

----
All my ol tags were closed...I simply didn't include all of the code,
only enough to give you the idea of what I was doing.

Indeed...changing the type declaration from html 4.01 to xmhtml 1.1 and
removing the unnecessary lines cleaned it all up nicely and the red,
green and blue tells me that the styles are working properly, plus the
numerals are as I want...and it all works with the closing li tags too!

Thanks - you are a genius and I wish I had your knowledge.

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss