Solved

Horz. Line ALT tag when using Themes in FPg

Posted on 1998-06-19
8
346 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
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.

623 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