Jump to content

Random problem


The Praetorian

Recommended Posts

thats a very nice looking site.but you have no doctypethis should be the basic head of every page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

and why dont you add

<style type="text/css">p.blocktext{margin-right:auto;margin-left:auto;width:12cm;}hr{margin-right:auto;margin-left:auto;width:12cm;}</style>

into your stylesheet?and theres no link to 'dic.php' in the main menu...???

Link to comment
Share on other sites

Thank you for the compliment.The link for dic.php is in a sub-menu. (Compendium->Dictionary) I can't add the css you just mentioned to my style sheet, otherwise it would effect all the pages. That css code is supposed to be specific to that page.When adding the doctype declaration, what would I put for a page that's php and not html? And by the way, what does a Doctype declaration even do? From what I can tell, it obviously doesn't change how my page appears in any way, so why do I need it?And, I'm sorry if this seems rude, I don't mean it to be... but neither of those things solved my problem...EDIT: Gah. Turns out I had a typo in some random part of my code. Closed a heading tag with </a> instead of </h3>. *Kisses the xhtml validator* Anyway, sorry for the fuss.

Link to comment
Share on other sites

When adding the doctype declaration, what would I put for a page that's php and not html? And by the way, what does a Doctype declaration even do? From what I can tell, it obviously doesn't change how my page appears in any way, so why do I need it?
it tells the browser how to read the pageit doesn't matter if your page is html or php, thats the same doctype.http://www.w3schools.com/tags/tag_doctype.asp:)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...