Reply to Firefox displays too high table

Your name:

Reply:


Posted by D_W on 07/27/07 07:59

Hi, Quick question.

I have a .net page that uses css styles and frames.

the menu needs a border around and I have it in a table with a border

so

html, body and form all have style=height:100%
I also put the style height:100% on the table.

It works nice in I.E as usual but in firefox the table gets bigger
than the screen by a few pixels creating a scroll bar..

any solution to this?


*CODE
<!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" >
<body id="bodytag" topmargin="0" bottommargin="0" rightmargin="0"
onload="initMenu();">
<form name="form1" method="post" action="menu.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="[CUT]" />
</div>

<table width="170" cellpadding="0" cellspacing="0" style="border:
solid 1px #000000; height:100%;">
<tr>
<td valign="top">
CONTENT OF MENU
</td>
</tr>
</table>
</form>
</body>
</html>

AND HERE IS THE CSS
html {height:100%;}
body { height:100%; }
form { height:100%;}

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация