Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Member mark4man's Avatar
    Join Date
    Aug 2003
    Posts
    65
    Member #
    2599
    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

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Make your document with the "Make document XHTML-compliant" checkbox checked.

    Dreamweaver, in my experience, rarely makes retarded code in late versions with the exception of its flabbergastingly stupid Javascript code.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Member mark4man's Avatar
    Join Date
    Aug 2003
    Posts
    65
    Member #
    2599
    filburt1,

    OK...
    I ran across the following style example for repairing my code (relative to invalidated 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

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    It varies on the browser. You should never assume that a certain value will scale to a certain point size for accessibility and compatibility reasons. You can use the CSS font sizes larger, normal, xx-small, etc. for controlling sizes.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    the <font> "problem" isn't really a problem. Font elements are currently supported by W3C, so they're fine for now.

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Well, to be more specific: you shouldn't use font unless your doctype specifies a version of HTML where it is not deprecated. I would suggest using XHTML 1.0 with CSS to support all modern browsers and slightly older browsers, and definitely future browsers. I use Transitional but I'd use Strict if I could figure out some pesky attribute-to-CSS conversions (a:target to CSS, etc.).
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    Member mark4man's Avatar
    Join Date
    Aug 2003
    Posts
    65
    Member #
    2599
    Thanks.

    mark4man


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:56 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com