Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

document type definition

Status
Not open for further replies.

tnsbuff

Technical User
Jan 23, 2002
216
US
Hi,

I promise I will not post another question today ... after the one that follows: ;-)

I downloaded a trial of an html validator and in validating my pages, it mentioned that I should specify the document type declaration on line 1. I've never done this before though I'd heard that you should, so I chose:

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;
But I noticed that after adding that, all of my fonts got really, really small, so I removed it until I could figure out what the problem was. (I'm using relative percentages in my style sheet for font sizes.)

Does anyone know what would cause that?

Thanks very much - all of you have been really helpful!
 
Put this in the page:

<BASEFONT size=&quot;6&quot;></BASEFONT>(i can't remember if it needs to be ended)

Rick It's a pleasure to know that I've helped you. If I have,
please click the link below to let me know. :)
 
Thanks ristmo, but it's still causing major problems. I think I need to read up on the DTD's. Maybe I need to use a different one.

Will check it out and report back.

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top