Solved

Horz. Line ALT tag when using Themes in FPg

Posted on 1998-06-19
8
343 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
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

740 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