Eternal
07-10-2003, 07:05 AM
Hi all!
I've got this problem: I can't center a picture dynamicly....
It'll be my index page; on picture in the center of the screen.
It should be right in the center of users screen not depending on their screen size.
I've tried this kind of code:
<table height="100%">
<tr>
<td align="center" valign="middle">
<a href="abcdefg.html">
<img src="abcdefg.jpg" height="150" width="123" />
</a>
</td>
</tr>
</table>
It worked great on IE 6 but not in Netscape....
I think it's 'cause the <table> tag don't include "height" in html4...
Thanks...
I've got this problem: I can't center a picture dynamicly....
It'll be my index page; on picture in the center of the screen.
It should be right in the center of users screen not depending on their screen size.
I've tried this kind of code:
<table height="100%">
<tr>
<td align="center" valign="middle">
<a href="abcdefg.html">
<img src="abcdefg.jpg" height="150" width="123" />
</a>
</td>
</tr>
</table>
It worked great on IE 6 but not in Netscape....
I think it's 'cause the <table> tag don't include "height" in html4...
Thanks...