Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
ronaldbrown #1
Replacing Content within Specific Tag
Hi
Can anyone recommend an extension (or other method) for the following solution?
I'm trying to replace all the height attributes within all td tags with
style="height:npx;". I thought I would be able to use the Find and Replace
within specific tags but it doesn't cater for the values within the attributes.
For example:
<td height="n"></td> would change to <td style="height:npx;"></td>
Any help much appreciated...
Ronnie
ronaldbrown Guest
-
Limiting Editing to specific page content
I bought this product for this specific reason from the Adobe sales literature: "With Adobe Contribute 4, site administrators can ensure that only... -
How to navigate to a specific accordian panel INSIDE a specific tab navigator
I'm using the tab control as the main navigation for a website. I have a button on tab 1. I want it to point to tab 2 AND open a specific... -
Need help with Content-Disposition Content-Type
I am trying to use the following script to allow users to download files with some of the file name stripped off. This script is for use on my... -
Replacing textures
hi, we're developing web-based applications with large-scaled landscapes and parts of cities. to keep initial file size and texture memory usage... -
replacing everything between 2 strings
Is there a way to replace everything between 2 given strings if it exists? Say I have: $str = "replace anything and everything in here."; Now... -
danilocelic *TMM* #2
Re: Replacing Content within Specific Tag
ronaldbrown wrote:
Try this:> <td height="n"></td> would change to <td style="height:npx;"></td>
Find:
<td([.\s]*?)height="(\d+)"([.\s]*?)>
Replace:
<td$1style="height:$2px;"$3>
Check Use regular expression
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
danilocelic *TMM* Guest



Reply With Quote

