|
Posted by Jedi Fans on 08/10/05 14:06
Ant wrote:
> Thanks everyone for the replies!
>
> I should have mentioned that I would like the image to act as the entrance
> to a site - so you click on the picture and get taken to the main page - so
> I don't think the background method will work for this - my bad, should have
> said.
>
>
css:
img.central{position:absolute;width:WIDTHOFIMAGEpx;height:HEIGHTOFIMAGEpx;left:50%;top:50%;margin-top:-HALFOFIMAGEHEIGHTpx;margin-left:-HALFOFIMAGEWIDTHpx;}
html:
<img src="enter.png" class="central" alt="Enter the website" />
--
Hope This Helped and MTFBWY...
Kieren aka JediFans - <URL:http://jedifans.com/>
The Force Is With Me, SuSE Linux Professional 9.3, Mozilla Firefox
1.0.6, Mozilla Thunderbird 1.5 Alpha 2 and Revenge Of The Sith!
Navigation:
[Reply to this message]
|