Forum Moderators: open

Message Too Old, No Replies

Dreamweaver alteration?

assigning attributes to reflect correct markup

         

limbo

12:11 pm on Nov 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OK, I was reading the very interesting thread [webmasterworld.com] in CSS started by Suzy UK. And on visiting the CSS presentation One thing has particulrly caught my eye and I wondered if it was possible to alter how DW creates tags.

For instance if I want the Bold and Italic attributes to actually mark the text as <em> and <strong> instead of the word processor based <b> and <i>.

anybody know if thats even possible? I am so enamoured with CSS but remain in the DW environment through the preference of our team and our site structure. But I would like to be able to make the changes with out hand typing the code every time - in effect force DW to change its mark up perameters.

Ta

Limbo

aevea

2:55 pm on Nov 7, 2003 (gmt 0)

10+ Year Member



I think dreamweaver will use <strong> and <em> if you're working on an xhtml document.

Adam

limbo

4:04 pm on Nov 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Aevea.

That is not someting I had noticed. Will have a look.

Still does't really answer my query though - is there a way to add additional select and click tag generatot to the existing to the existing GUI or by some other method?

Ta

KPJ

caine

4:47 pm on Nov 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



DW4 and earlier versions markup with <b> & <i>, where as MX versions markup with <strong> & <em> this is on straight HTML 4.01 spec docs

vrtlw

9:40 am on Nov 8, 2003 (gmt 0)

10+ Year Member



In dreamwever MX you can select to use <strong> <em> in place of <b> and <i> by going to Edit > Preferences > General and selecting the bottom check box.

Paul

Shannon Moore

9:47 pm on Nov 8, 2003 (gmt 0)

10+ Year Member



You can force it to use <em> and <strong> -- there's an option in the General tab of Preferences to do so (exact labels apply to Dreamweaver MX, but I remember the option was configurable in Dreamweaver 4.x, as well.)

Also, not sure it answers your question, but you can highlight any markup or script you've already got on-screen and make a "snippet" or "scriptlet" out of it for future reuse. Highlight the text and right click -- one of the options is to "Create Snippet".

Hope this helps.

limbo

10:08 am on Nov 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks everyone.

I am using DW4. unfortunately none of the suggestions that you have made work on this version :(

one step closer to and upgrade.....

Shannon Moore

12:50 am on Nov 11, 2003 (gmt 0)

10+ Year Member



Have you checked the help that's integrated into Dreamweaver? I distinctly recall that being an option in DW 4.x, but don't know what the exact path to it in the menuing system is.

That, or I've grown more accustomed to DW MX than I originally thought! ;)