Solved

Horz. Line ALT tag when using Themes in FPg

Posted on 1998-06-19
8
337 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
Comment Utility
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
Comment Utility
Who says a horizontal line is a gif, that it would need an alt tag?
0
 

Author Comment

by:kmullin
Comment Utility
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
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Expert Comment

by:eversoslightly
Comment Utility
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
Comment Utility
I like 'everslslightly's suggestion.  I'll try it.
0
 
LVL 1

Expert Comment

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

Accepted Solution

by:
Bluemoon earned 50 total points
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

772 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

15 Experts available now in Live!

Get 1:1 Help Now