Why doesn't FrontPage automatically insert span classes?

B

BonnieM

I am using FrontPage 2003. I have an external .css style sheet set up for my
Web site. I have assigned a style to a paragraph of content without any
problem, but when I want to change the style within the paragraph, instead of
inserting a span class, the entire paragraph is changed.

I tried to use "Style" in the dropdown under "Format", but none of the
user-defined styles show up in the list from the external style sheet.

Dreamweaver does this automatically, but I have to hand code the span class
in FrontPage. I am working with many novice users and would like to know if
there is an automated way of doing this in FrontPage 2003.
 
B

BonnieM

I read through the tutorial, but it did not address the issue I am dealing
with.

I have an external style sheet set up. I have a paragraph of text assigned a
body text style. I want to change just a portion of the text within the
paragraph to one of the other styles from my external style sheet. If I
select the type and choose one of the other styles, the entire paragraph
changes to the new style and not just the "span" of text I have highlighted.

I don't want to have to set up an inline style for the page, because I want
to be able to do this site-wide. That is one of the purposes of the external
style sheet. I have to hand code the span class within the html for
FrontPage, but when I use Dreamweaver, the span class is automatically
inserted where I have the text highlighted.

I am wondering if this is a software issue with FrontPage or if I am missing
something.
 
D

David Berry

Unfortunately you can't do that in design view.

To speed up the manual entry you can create a custom span code snippet such
as
<span class="|"></span> named classspan (the pipe allows you to enter a
unique class each time)

See http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc...

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

HTH
 
B

BonnieM

Thanks, again.

David Berry said:
Unfortunately you can't do that in design view.

To speed up the manual entry you can create a custom span code snippet such
as
<span class="|"></span> named classspan (the pipe allows you to enter a
unique class each time)

See http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc...

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

HTH
 

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