SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot want2design's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dreamweaver MX: Applying Source Formatting.

    Hi!

    I just changed my Code Formatting Preferences so that the tags are in CAPS and the attributes in lowercase.

    This works perfectly for new documents, but for existing documents i'm having some problems.

    I got to "Commands" -> "Apply Source Formatting" but it only spaces out the code, and doesn't format the case of the Tags.

    For example.

    Desired code = <IMG src="image.gif" width="5" height="5">
    Current code = <img src="image.gif" width="5" height="5">

    As i said, it works fine with new documents, but i am trying to edit all the pages on a site and it would take me quite some time to convert all the tags to Uppercase.

    Macromedia.com's suggestion was to "Apply Source Formatting" but even using that doesn't work.

    Any help will be GREATLY appreciated, thanks


  2. #2
    Alt+F4= User Control ;-) rabmurdy's Avatar
    Join Date
    Mar 2002
    Location
    Ecosse
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry but I can't find a way to do what your after either, but the only other way I can suggest is the 'find and replace' tool under edit.
    Not an ideal solution, but you could give it a try.

    Rab
    "If something is too hard,give it up. The moral my boy is too never try anything"
    "Just because I don't care doesn't mean I don't understand"

  3. #3
    Happy Holidays !! Paul S's Avatar
    Join Date
    Mar 2001
    Location
    Mexico
    Posts
    1,287
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dreamweaver MX: Applying Source Formatting.

    Originally posted by want2design
    As i said, it works fine with new documents, but i am trying to edit all the pages on a site and it would take me quite some time to convert all the tags to Uppercase.
    Hi, May I ask you why you want to do this? In the new standard, XHTML, it is compulsory for all tags to be written in lowercase.

    Paul

  4. #4
    SitePoint Zealot want2design's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Re: Dreamweaver MX: Applying Source Formatting.

    Originally posted by Paul S


    Hi, May I ask you why you want to do this? In the new standard, XHTML, it is compulsory for all tags to be written in lowercase.

    Paul
    hmmm, maybe i should leave it then.

    it was really just for personal preference, i'll leave it aline in that case.

    thanks alot for trying to solve the problem too rabmurdy, greatly appreciated.

    thanks for the replies!


  5. #5
    SitePoint Member daynah's Avatar
    Join Date
    Jul 2002
    Location
    CA
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm assuming you have Homesite 5 as well since you're using Dreamweaver MX. If you open you file in Homesite, go to Edit -> Convert Tag Case, and then choose "Convert all tags to UPPERCASE."

    However, like Paul said, I'd stick to lowercase tags since it's XHTML compliant.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •