This is a discussion on "[SOLVED] Doctypes and CSS Headache" within the Web Page Design section. This forum, and the thread "[SOLVED] Doctypes and CSS Headache are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Doctypes and CSS Headache
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Ok here is the code:
Thanks in advance, this is driving me loopy... Jen |
|
|
|
|||
|
Re: Doctypes and CSS Headache
Quote:
The specific problem is the following validation error: Line 2, Column 48: there is no attribute "lang". Remove your code lang="en" and it should work (or you might get a new error). The more general problem is that you're obviously clueless about Doctypes and validation. I don't mean that as an insult -- you need to understand that XHTML is not forgiving. If you do something wrong in XHTML then your site will break. Read my article about Doctypes to get a proper understanding of all the complexities. I recommend you switch to HTML 4.01 Strict. At the very least, stop using XHTML 1.1, and change to XHTML 1.0 Strict. Just because 1.1 is "the latest" doesn't make it a wise choice. In almost every case, XHTML 1.1 is a sign of someone who doesn't know what he's doing. |
|
|||
|
Re: Doctypes and CSS Headache
It turns out that if I used letters instead of numbers it works fine... ;-)
As in: Quote:
|
|
|||
|
Re: Doctypes and CSS Headache
Which one is your question? Your Doctype or your CSS problem?
We don't recommend to give your CSS class name in numbers! What error message you get when you use numbers instead of letters?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Tags |
| css, doctypes |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with understanding DOCTYPES in Dreamweaver! | bellabella | Web Page Design | 1 | May 16th, 2008 22:42 |
| [SOLVED] Help please! Headache. | Bravo81 | Search Engine Optimization (SEO) | 16 | Jan 24th, 2008 10:26 |
| Straw Poll - Doctypes | matelot | Web Page Design | 7 | Jul 21st, 2007 17:24 |
| Doctypes, IE6, scrolling content | matelot | Web Page Design | 0 | Jul 2nd, 2007 19:34 |
| Another CSS Headache... a big one! | mattlowe81 | Web Page Design | 2 | Apr 17th, 2006 12:16 |