Problem with valid table-height

G

Guest

Hello,

I´ve a problem with the following lines:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

....

<table width="100%" height="100%">
<tr align="center" valign="middle">

<td> <a href="uberuns.htm" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image1','','images/box02.gif',1)"><img
src="images/box01.gif" alt="Weiter zu Pixelpearls.De" name="Image1"
width="334" height="139" border="0"></a>
</td>
</tr>
</table>


.....


http://validator.w3.org/ says:

Line 24, column 27: there is no attribute "HEIGHT"

<table width="100%" height="100%">


What do I do wrong?
Isn´t there an attribute height? So how do I reach that a table fills a
whole site?


Bye,
Martin
 
E

Edwin van der Vaart

Martin said:
Hello,

I´ve a problem with the following lines:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

...

<table width="100%" height="100%">
<tr align="center" valign="middle">

<td> <a href="uberuns.htm" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image1','','images/box02.gif',1)"><img
src="images/box01.gif" alt="Weiter zu Pixelpearls.De" name="Image1"
width="334" height="139" border="0"></a>
</td>
</tr>
</table>


....


http://validator.w3.org/ says:

Line 24, column 27: there is no attribute "HEIGHT"

<table width="100%" height="100%">


What do I do wrong?
Isn´t there an attribute height? So how do I reach that a table fills a
whole site?
Put the height's and width's in a stylesheet e.g.

Some where between the <head>
<style type="text/css">
table {width: 100%; height: 100%;}
</style>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top