Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Programming/Scripting/Development/Web Design

WYSIWYG - Page 2

Re: WYSIWYG

Posted by: Bent`
Date: 2009-07-03 18:14:36
Your selectors are improperly nested. a:hover should not be within .navbar{}.


Unrelated discussion:
I would definitely recommend using a strict doctype rather than a transitional one. Transitional doctypes are, like their name suggests, only to be used for transitioning old, invalid code to more valid code. New pages should always be written in HTML Strict. To make this change, replace the doctype declaration with this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "">http://www.w3.org/TR/html4/strict.dtd">;

This will make some of the code (specifically the alink, link, and vlink attributes in the body element) invalid. You can just remove them, since you can use a{} in CSS to modify links.

Re: WYSIWYG

Posted by: Ratipharos
Date: 2009-07-03 19:56:01
Thank you. It seems to be working fine. I will probably have more questions.