Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2012
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Bulk Find and Delete Superfluous Font Tags

    I have an HTML website done years ago in DreamWeaver MX. At the time, being a newbie, I used font tags in Design View rather than CSS. There are dozens on each page. I eventually updated to CS3 and CSS.

    However, the pre-existing font tags appear to be conflicting with each other when I try to make additions in Design View. IOW I am unable to select the font style I want in the diaglog box and have it apply. It reverts to some other style and size, with a logic that has elluded me so far.

    I tried to attach a proven CSS to a page of the above site, but it seems to be over-ridden by the plethoria of old font tags.

    So ... rather than rebuild the entire website, I would like to remove these hundreds of font tags so the CSS will function properly. What is the most effective way to do this, without having to delete each tag individually in Code View?

    For example, is there some way I search for "<font size="2" face="Verdana, Arial, Helvetica, sans-serif">", select all, and delete in one go.

    Thank you for any advice.

  • #2
    New to the CF scene
    Join Date
    May 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This will be very general because I've never done anything like that but if it were me I'd:
    See if I could export all the files out of your design program and use raw text files. Then find a text utility that can perform a batch search and destroy. Then add them back into your design program.

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    Quote Originally Posted by toddmanning View Post
    See if I could export all the files out of your design program and use raw text files. Then find a text utility that can perform a batch search and destroy. Then add them back into your design program.
    Notepad++ can do this. It's only available on Windows though.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

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