Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text over images in NS4

Status
Not open for further replies.

desap

IS-IT--Management
Feb 13, 2002
8
IT
is possible to write a text link over an image in Netscape4?
 
In Netscape 4, rather than the DIV, the LAYER is used. It is absolutely positioned, and for a link hovering over an image, it does its job just as well as any old DIV.
Code:
<layer top=&quot;300&quot; left=&quot;20&quot;>
 <div style=&quot;position:absolute; top:300; left:20;&quot;>
  <a href=&quot;myPage.html&quot;>Click Me!</a>
 </div>
</layer>

Personally, though, I would use a TABLE with a BACKGROUND attribute set to the image, then set the table height and width to be the size that the image is. Then, just put text inside the TABLE as if nothing had happened. For things like that, I generally try my best to make it old-fashioned as possible to make sure as many browsers can correctly view the page as possible.

bluebrain.gif
blueuniment.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top