M
mark
Hello,
I have created a page which correctly validates as html transitional.
Still, I have problems while opening it in IE7.
My html code looks like that (two rows, first row four columns, second
row - one column):
<table width="683" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="#" onmouseover="window.status='home'; changeImages('myImg1',
'images/1-over.jpg'); return true;"
onmouseout="window.status='';
changeImages('myImg1', 'images/1.jpg'); return true;">
<img name="Basic" src="images/1.jpg" width="100" height="53"
alt="button"></a>
</td>
<td>
<img name="x" src="images/2.jpg" width="86" height="53" alt="button2">
</td>
<td>
<img name="Kontakt" src="images/3.jpg" width="93" height="53"
alt="button3">
</td>
<td>
<img src="images/bannerHead.jpg" width="404" height="53" alt="banner">
</td>
</tr>
<tr>
<td colspan="4">
<img src="images/bannerMain.jpg" width="683" height="212"
alt="mainBanner">
</td>
</tr>
</table>
And my CSS file:
body { background-color: black; text-align: center;}
table { margin: auto; border: 0px;}
img { border: 0px}
a:link { color: #FFFFFF; font-family: tahoma; font-size: 10px; font-
weight: normal; text-decoration: none;}
a:visited {color: #FFFFFF; font-family: tahoma; font-size: 10px; font-
weight: normal; font-style: normal; text-decoration: none;}
a:hover {color: #FFFFFF;font-family: tahoma;font-size: 10px;font-
weight: normal;font-style: normal;line-height: normal;font-
variant:normal;text-transform: none;text-decoration: underline;}
The problem is following: in IE7 between first and second row there is
an emply space (looks like 1px), whereas in Mozilla Firefox everything
looks great. I think that the problem is connected with styles of
links, cause when I remove from the code <a href...> then everything
looks correctly. Any ideas how to make the current version working in
IE7? Thank you very much for your answers!
Regards, Mark
I have created a page which correctly validates as html transitional.
Still, I have problems while opening it in IE7.
My html code looks like that (two rows, first row four columns, second
row - one column):
<table width="683" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="#" onmouseover="window.status='home'; changeImages('myImg1',
'images/1-over.jpg'); return true;"
onmouseout="window.status='';
changeImages('myImg1', 'images/1.jpg'); return true;">
<img name="Basic" src="images/1.jpg" width="100" height="53"
alt="button"></a>
</td>
<td>
<img name="x" src="images/2.jpg" width="86" height="53" alt="button2">
</td>
<td>
<img name="Kontakt" src="images/3.jpg" width="93" height="53"
alt="button3">
</td>
<td>
<img src="images/bannerHead.jpg" width="404" height="53" alt="banner">
</td>
</tr>
<tr>
<td colspan="4">
<img src="images/bannerMain.jpg" width="683" height="212"
alt="mainBanner">
</td>
</tr>
</table>
And my CSS file:
body { background-color: black; text-align: center;}
table { margin: auto; border: 0px;}
img { border: 0px}
a:link { color: #FFFFFF; font-family: tahoma; font-size: 10px; font-
weight: normal; text-decoration: none;}
a:visited {color: #FFFFFF; font-family: tahoma; font-size: 10px; font-
weight: normal; font-style: normal; text-decoration: none;}
a:hover {color: #FFFFFF;font-family: tahoma;font-size: 10px;font-
weight: normal;font-style: normal;line-height: normal;font-
variant:normal;text-transform: none;text-decoration: underline;}
The problem is following: in IE7 between first and second row there is
an emply space (looks like 1px), whereas in Mozilla Firefox everything
looks great. I think that the problem is connected with styles of
links, cause when I remove from the code <a href...> then everything
looks correctly. Any ideas how to make the current version working in
IE7? Thank you very much for your answers!
Regards, Mark