Forum Moderators: open

Message Too Old, No Replies

Complete list of all valid DTDs

Finally, a complete list from W3C itself

         

DrDoc

11:35 pm on May 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Even though this was posted about a month ago on W3C's Web site, I've totally missed it, until today.

Complete list of all valid DTDs [w3.org]

We can expect updates to the list soon...

Nick_W

7:46 am on May 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



And about time too! - It's such an utter pain to have to trawl through specs looking for those little sods..

Thanks Doc, great bookmark!

Nick

ncsuk

8:05 am on May 10, 2003 (gmt 0)

10+ Year Member



Apparantly I cant use a height attribute in a table so my html is not valid. What kind of tosh is that. If I dont use it the page wont work....!

grahamstewart

10:12 am on May 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Cool - shame the template they give us doesn't work properly in IE6.

ncsuk: but why would you ever need to specify a height for a table? It depends on how many rows there are, how big the font is and how much text-wrapping occurs.

Unless of course your (mis-)using it for layout instead of just tabular data? ;)

Psstt..Why not just specify the height in the CSS? <table style="height:200px">

ncsuk

11:05 am on May 10, 2003 (gmt 0)

10+ Year Member



Because I have about 6 different tables and I dont know how to CSS it.

grahamstewart

11:28 am on May 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I dont know how to CSS it

Well I just told you one method, you can specify the CSS for each table by using the

style
attribute.

Alternatively you could give the table an id attribute and then set its style in some CSS at the top of your document (or even better, in an external stylesheet).

e.g.

<table id="nav_table">

in your HTML and then..

#nav_table {
height: 100px;
}

in your CSS.

Pay a visit to the CSS forum if you need some more help. And have a look at Nick_Ws excellent CSS crash courses (in the CSS forum library [webmasterworld.com]) for a good primer.

DrDoc

4:37 pm on May 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



shame the template they give us doesn't work properly in IE6

Err... you mean, too bad IE6 is too crappy of a browser to render it correctly? ;)

It's such an utter pain to have to trawl through specs looking for those little sods

Well, not any more! :) I just hope everyone noticed that they're using the full DTD...

They should all work, if they don't, it's the browser's fault!

<adding DTD to my HTML editor></adding>

Oaf357

8:44 pm on May 10, 2003 (gmt 0)

10+ Year Member



You know what. One of my partners was surfing my site the other day and his browser (IE5) crashed. He went back to surfing and it happened again. Turns out it was this:

<?xml version="1.0" encoding="utf-8"?>

That caused it to happen. The pages still validate as XHTML so what is that for?