tactica
asked on
Aligning images to edge of browser...
I wonder if it's possible to allign an image in a table to the edge of the browser (both NN and MSIE). That is if you resize the browser window the image/picture will follow the bottem edge or whatever specified. Could this be done via tables?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I see what you are saying. Using a small gif image, I was able
to come up with the following bit of HTML.
<left>
<table width=100%>
<tr><td>
<img src="whiteback.gif">
</td><td>
<img src="whiteback.gif">
</td><td width=100% align=right>
<img src="whiteback.gif" align=right>
</td></tr></table>
</left>
Is this what you are looking for? (Obviously, you will have to
replace "whiteback.gif" with something else.)
to come up with the following bit of HTML.
<left>
<table width=100%>
<tr><td>
<img src="whiteback.gif">
</td><td>
<img src="whiteback.gif">
</td><td width=100% align=right>
<img src="whiteback.gif" align=right>
</td></tr></table>
</left>
Is this what you are looking for? (Obviously, you will have to
replace "whiteback.gif" with something else.)
ASKER
Yes almost :) It just needs to be done vertical instead. I've tried but I can't seem to get it working. Do you have a solution to that problem?
Same thing but vertical? How about a structured table such as:
<table height=100%><tr valign=top><td>
<table><tr><td>
<img src="whiteback.gif">
</td></tr><tr><td>
<img src="whiteback.gif">
</td></tr></table>
</td></tr><tr height=100% valign=bottom><td>
<img src="whiteback.gif">
</td></tr></table>
<table height=100%><tr valign=top><td>
<table><tr><td>
<img src="whiteback.gif">
</td></tr><tr><td>
<img src="whiteback.gif">
</td></tr></table>
</td></tr><tr height=100% valign=bottom><td>
<img src="whiteback.gif">
</td></tr></table>
ASKER
Of course!! Thanks a lot for your help.
ASKER
Table:
+--------+--------+-------
|########|########| ########| @ <-- browser edge
|#image1#|#image2#| #image3#| @
|########|########| ########| @ if the borwser window then
+--------+--------+-------
@ without getting streched.