R
Rolf Welskes
Hello,
if I have for example:
<table style="width: 100%; height: 100%;" border="1">
<tr>
<td style="width: 100px">k
</td>
<td style="width: 100px">k
</td>
</tr>
<tr>
<td style="width: 100px">k
</td>
<td style="width: 100px">k
</td>
</tr>
</table>
and I see the page in internet explorer 6.0 then:
if I have before:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
then the table in the height is not the full internet-explorer page as I
want it.
if I have not
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
before in the site, the table is the full internet-explorer page as I want.
So question:
Do I need
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
in my aspx.-pages (asp.net 2.0) ?
Visual studio 2005 allways includes this in aspx-files.
The question is: When I have server controls that generate for example
html-code for IE 6.0 does this code need, that there
are these declarations in the aspx pages ?
Means: If these declarations are not there can it be, that asp.net generated
html is bad visible in browsers?
Thank you for any help.
Rolf Welskes
if I have for example:
<table style="width: 100%; height: 100%;" border="1">
<tr>
<td style="width: 100px">k
</td>
<td style="width: 100px">k
</td>
</tr>
<tr>
<td style="width: 100px">k
</td>
<td style="width: 100px">k
</td>
</tr>
</table>
and I see the page in internet explorer 6.0 then:
if I have before:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
then the table in the height is not the full internet-explorer page as I
want it.
if I have not
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
before in the site, the table is the full internet-explorer page as I want.
So question:
Do I need
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
in my aspx.-pages (asp.net 2.0) ?
Visual studio 2005 allways includes this in aspx-files.
The question is: When I have server controls that generate for example
html-code for IE 6.0 does this code need, that there
are these declarations in the aspx pages ?
Means: If these declarations are not there can it be, that asp.net generated
html is bad visible in browsers?
Thank you for any help.
Rolf Welskes