Solved

Horz. Line ALT tag when using Themes in FPg

Posted on 1998-06-19
8
342 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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
 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Angular2 app not loading Bootstrap properly 4 69
ebay api to see some data about my customers 2 40
Company website 6 30
Designing forms 3 17
Read about why website design really matters in today's demanding market.
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 …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

856 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