layers - positioning

windows

Guest
Hello!<br />
I have been thinking about this for a long time now...<br />
Check this out:<br />
<!-- m --><a class="postlink" href="http://members01.chello.se/claes.oas/Fotografier/Fotografier.htm">http://members01.chello.se/claes.oas/Fo ... rafier.htm</a><!-- m --><br />
There are pictures on the page. And when u move the cursor over them text appear in overlapped layers...<br />
This looks ok in 800*600. Not so ok with higher resolution. I don't want to set the table to 100% width and position the layers after that! What to do?? <br />
Thanx! Great forum this!<!--content-->Hi claesOas,<br />
<br />
You can try using a percentage for the left positioning and see if that works about right for the effect, something like this:<br />
<br />
<div id="Rabarber" style="position:absolute; left:33%; top:324px;<br />
<br />
Or you could use tables in the DIVs that display the messages and use align=center in the table tag and see if that works to center the message on the page.<br />
<br />
Something like:<br />
<br />
<div id="Rabarber" style="position:absolute; top:324px; width:404px; height:20px; z-index:4; visibility: hidden"><br />
<table border=0 align=center width=404 height=20><br />
<tr><td><br />
<font size="2" face="Tahoma">En <br />
AIK:are under en rabarberbuske i Leksand...</font><br />
</td></tr></table><br />
</div><br />
<br />
Not sure if it will work correctly but you can try it and see.<br />
<br />
Regards,<br />
Kevin<!--content-->Thank u Kevin!<br />
I will try that...<!--content-->It worked!<br />
Your second idea solved it!<br />
Thanks Kevin!<!--content-->
 
Back
Top