Solved

Horz. Line ALT tag when using Themes in FPg

Posted on 1998-06-19
8
340 Views
Last Modified: 2013-12-25
I'm using FrontPage 98 (FP) for all of my page authoring, using the FP themes for color.  We have an internal web standards that says we must have ALT tags on all gif's.  When I insert a horizontal line in FP editor, I see it.  When I view the HTML in FP, I don't see the HTML that will actually be produced.  If I open the HTML file in NOTEPAD, I do see what's generated, and it looks like:
<!--msthemeseparator--><p align="center"><img src="_themes/expeditn/exphorsa.gif" width="300" height="10"></p>
If I hand edit this HTML code to add the ALT attribute, FrontPage eliminates it the next time I use FrontPage for any reason for this website.

So, my question is, How can I apply an ALT tag to a horizontal line that the MS themes will generate the code for?
0
Comment
Question by:kmullin
8 Comments
 

Author Comment

by:kmullin
ID: 1858398
By the way, there is nowhere in the Horizontal Line properties while in the FrontPage editor to do this.  I've checked that.
0
 
LVL 1

Expert Comment

by:eversoslightly
ID: 1858399
Who says a horizontal line is a gif, that it would need an alt tag?
0
 

Author Comment

by:kmullin
ID: 1858400
That is the way MS FrontPage 98 generates the HTML for a horizontal line when you use a theme.  If you look at the HTML from OUTSIDE of FrontPage 98 (if you view the HTML using the FrontPage editor, you don't see it.  FP98 apparently generates the .gif reference when you exit from FP98) you will reference to the .gif.  Here is how the horizontal line HTML looks inside of FP98:
<hr align="center">
<div align="center"><center>
Looking at the same .HTM file using notepad, the horizontal line HTML looks like:
<!--msthemeseparator--><p align="center"><img src="_themes/expeditn/exphorsa.gif" width="300" height="10"></p>
<div align="center"><center>
As you can see, the Horizontal Line turns out to be a .gif.  I want an ALT tag supplied with the .gif reference.  How can I do it in FP98?
0
 
LVL 5

Expert Comment

by:mayhew
ID: 1858401
You can't.

The only way is if you edit your source outside of FrontPage.  Just be sure that if you open your html file in FrontPage again that you make the change outside of FrontPage afterward.

We had this trouble a couple of months ago and we exhausted every resource we could find but to no avail.  FrontPage won't let you make those changes.

I think what eversoslightly meant was that you could make an argument that a horizontal line gif might be exempt from your standard since horizontal lines normally are not gif files.

Good luck!
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 1

Expert Comment

by:eversoslightly
ID: 1858402
Idea... instead of put the horizontal line where you want it, why don't you do:
Insert
Image
Then insert "_themes/expeditn/exphorsa.gif"
Might just work?
-Ever-So-Slightly
0
 

Author Comment

by:kmullin
ID: 1858403
I like 'everslslightly's suggestion.  I'll try it.
0
 
LVL 1

Expert Comment

by:eversoslightly
ID: 1858404
Okay... tell us how it works out when you've tried it
0
 
LVL 1

Accepted Solution

by:
Bluemoon earned 50 total points
ID: 1858405
If i remeber correctly if you place <!--NO_EDIT--> codes around the text you editted manualy, it will not remove it the next time you save it, (look in the frontpage-help for the code that will not remove your text)

it would be:
<!--msthemeseparator--><!--NO_EDIT-->
<p align="center"><img src="_themes/expeditn/exphorsa.gif" width="300"  height="10" ALT="------------------------------------------------------------------------"></p><!--/NO_EDIT-->
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now