Is there a way to have Frontpage insert a <span class="..."> tag .

C

caiello

I cannot figure out how to have FrontPage insert a <span class="..."> tag
automatically. Every time I try to change the style of one word in a
sentence it changes the style of the whole paragraph. I know there has to be
a better way to do this than going into the code and inserting the span tags
myself, I just can't find it.
I know with Dreamweaver if you highlight one word in a sentence and set it
to a different style it will insert the span tags automatically, that is what
I am looking to do.
Thanks.
 
S

Stefan B Rusynko

Unfortunately not directly (in design view)
To speed up the manual entry you can create a custom span code snippet as say
<span class="|"></span> named classspan (the pipe allows you to enter a unique class each time)
See http://msdn.microsoft.com/office/de..._fp2003_ta/html/odc_fpCustomizingSnippets.asp

Another shortcut method, if you use the same or similar span styles repeatedly is to create it once in code view and then use the
format Painter to apply it elsewhere in the page or other pages




| I cannot figure out how to have FrontPage insert a <span class="..."> tag
| automatically. Every time I try to change the style of one word in a
| sentence it changes the style of the whole paragraph. I know there has to be
| a better way to do this than going into the code and inserting the span tags
| myself, I just can't find it.
| I know with Dreamweaver if you highlight one word in a sentence and set it
| to a different style it will insert the span tags automatically, that is what
| I am looking to do.
| Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top