...

View Full Version : Authoring App Shoots Down It's Own Code?



mark4man
02-08-2004, 08:23 PM
You know...I created a form for my community's website in Dreamweaver MX.

Then I validate the code; & Dreamweaver tells me the code it wrote is no good!

For god's sake...am I stupid, or is Dreamweaver just illiterate?

Anyway...here are the tags that are really, really, really, really bad (& I should be ashamed of myself for having allowed Dreamweaver to write them behind my back...honest to god...what a dumba_ s system.) (actually...never mind all that rant. I'm just hoping someone in the forum can help me fix the code.):

1) In HTML 4.0, FONT is depreciated; & may become obsolete in the future. Consider using style sheets instead.

2) The tag: "textarea" does not contain an attribute: "wrap" in currently active versions.

Can someone help me deal with these?

Thanks,

mark4man

mark4man
02-08-2004, 11:28 PM
OK...I ran across the following style example for repairing my code (relative to unvalidated font tags):

<head>

<style type="text/css">
h1 {font-size: 100%}
h2 {font-size: 125%}
h3 {font-size: 150%}
</style>

</head>


<body>
<h1>This is 100%</h1>
<h2><em>This is 125%</em></h2>
<h3>This is 150%</h3>

</body>

It works great in my Authoring app (Dreamweaver); & my code is now valid where applied...but I was wondering:

The app normally applies font sizes in numbers (-7 to +7) as opposed to points (10, 12, 14, etc.) Is there a cross reference available which would give me relative font sizes across designations (from numbers to points to percentages)?

Thanks,

mark4man

Antoniohawk
02-09-2004, 09:53 PM
I couldn't find the conversion rate. I did however, find this site that lists the measurement types and their equivalents.

http://www.htmlref.com/reference/appb/measurements.htm

mark4man
02-10-2004, 12:26 AM
Antoniohawk,

Now, that's a nifty resource.

Thanks much,

mark4man



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum