Click to See Complete Forum and Search --> : NN fails on Links in Text-Box
Reckless
11-06-2003, 10:26 AM
I am having a problem with NetScape recognizing HyperLinks that are enclosed within a Text-Box.
I have posted a simple sample at:
http://www.digi-graphics.com/test_directory/test_page.htm
In IE (6), the link moves you to the target.
In NN (7), the link is inoperable.
Any suggestions??
Thanks!
Les De Moss
(Reckless)
Front Page generated code rarely works in other browsers. :rolleyes:
Reckless
11-06-2003, 11:34 AM
Come on... Do you suppose that manually coding a text box with links will work in NN? Or coding in Go Live or DreamWeaver? Are text boxes a specially coded proprietary feature that only FrontPage offers?
Did you happen to look at the code? How might I rewrite it so that it's stripped of its FrontPage limitations? The code can't be that difficult... but my knowledge is limited so I defer to this forum of experts for guidance.
Thanks!
Les De Moss
How about this, from 44 lines of generated, invalid code to 22 lines of valid code that is cross-browser compatible:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>New Page 1</title>
<style type="text/css">
#container {
width: 86px;
height: 166px;
border: 1px solid #606060;
padding: 8px;
}
</style>
</head>
<body>
<div id="container">
(Text Box)
<p><a href="http://www.w3.org">Link</a></p>
</div>
</body>
</html>
Reckless
11-06-2003, 06:32 PM
Thanks for your time on this! Yes, it works in NN.
The original code specified an absolute position and Z-Index. It appears that's the code that's hammering NN.
I'll augment the BEAUTIFUL code you supplied to see if I can incorporate position and Z-Index that NN will honor.
Thanks again
From Chilly Colorado
-Les
Netscape will have no problem's with the z-index and absolute positioning with the above code.... :)
PeOfEo
11-06-2003, 07:11 PM
Z-index is only use for overlapping images and elements so it is not crucial that you have it, unless thats actually what you were going for. Check this out http://www.w3schools.com/css/css_positioning.asp it expains z-index. Also look at the stuff on overflow, the overflow stuff will allow you to specify if the div or 'text box' changes in size with the content, stays constant or even if it uses scroll bars when the content is bigger then the box.