- From: Laurens Holst <lholst@students.cs.uu.nl>
- Date: Wed, 17 Aug 2005 12:23:55 +0200
- To: Tommy Hartline <stargazertgh@sbcglobal.net>
- Cc: www-html@w3.org
Tommy Hartline schreef: > I have a web site, I want to make an enter page, I want the enter page > to have a enter button you click on to enter my web site, I want to take > a pic Ive taken and embed a enter button ( html) in the middle of it to > click on, is there an html code i can place in the html for my image > that i can add that will put the enter button in the middle of my image? > Thanks Hi, You can use CSS style attributes for that purpose... Example: <div style="position:relative;"> <img src="photo.jpg"> <a href="enter.html" style="position:absolute; top:20px; left:50px;"> <img src="enter.gif"> </a> </div> You can adjust the ‘top:20px’ and ‘left:50px’ values to suit your needs. Alternatively, you can place the enter button in the photo with an image editor and use an ‘image map’. ~Grauw -- Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!
Received on Wednesday, 17 August 2005 10:24:52 UTC