Connecting Tech Pros Worldwide Forums | Help | Site Map

Fitting complete browserwindow

Stephan Koser
Guest
 
Posts: n/a
#1: Jul 20 '05
Hi,

I have a problem since I use a full DOCTYPE.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body style="height:100%">
<table cellspacing="0" cellpadding="0" border="1" style="width:100%;
height:100%;">
<tr style="height:50px">
<td valign="top">header</td>
</tr>
<tr style="height:100%;">
<td valign="top">body</td>
<tr>
<tr style="height:20px">
<td valign="top">footer</td>
</tr>
</table>
</body>
</html>

This works very well. The whole content fits in the browser window. When I
add the URL to the DOCTYPE:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

it doesn't work anymore with IE6. Since I have to use the latter DOCTYPE I
need a solution that leads to the same result as the first samle.
Can onyone help me with this.

--
bye Stephan...



Brian
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Fitting complete browserwindow


Stephan Koser wrote:[color=blue]
>
> I have a problem since I use a full DOCTYPE.[/color]

You seem to have a problem multiposting, too.[1]

http://groups.google.com/groups?selm...41%40online.de

http://groups.google.com/groups?selm...41%40online.de

[1] Not knowing where you will look for replies, I had to do the same.

--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Stephan Koser
Guest
 
Posts: n/a
#3: Jul 20 '05

re: Fitting complete browserwindow



"Brian" <usenet3@julietremblay.com.invalid-remove-this-part> schrieb im
Newsbeitrag news:ZhbZb.80762$uV3.536618@attbi_s51...[color=blue]
> Stephan Koser wrote:[color=green]
> >
> > I have a problem since I use a full DOCTYPE.[/color]
>
> You seem to have a problem multiposting, too.[1]
>
> http://groups.google.com/groups?selm...41%40online.de
>
> http://groups.google.com/groups?selm...41%40online.de
>
> [1] Not knowing where you will look for replies, I had to do the same.[/color]

Of course in both ;-)

--
bye Stephan...


Closed Thread


Similar HTML / CSS bytes