Click here to Skip to main content
15,935,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi sir
i delovped a asp page its look changes browser to browser.
in mozila page occupies only half screan .
how we can set height and width so that page occupies full screan without side scroll bar. please help me.
Posted
Comments
Ankur\m/ 13-Oct-11 8:30am    
Search for fluid & fixed layout and you will have an answer.

have you put your Height and Width in PX ?
do not use Px. use percentage (%). here is example.
HTML
<table>
<tr>
  <td width="70%">
     my size is 70% of screen
  </td>
  <td width="30%">
     my size is 30% of screen
  </td>
</tr></table>
 
Share this answer
 
XML
If it is running ok in IE7 and you want it to run similar to IE7 in IE8 as well then,
write this below <title></title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />

There can be some other issue like wht property are you using in css because of that it behave diffrent in diffrent browser.

and for Resolution,i think you hv to design pages in %.
 
Share this answer
 
Comments
raghubansh kumar 13-Oct-11 8:59am    
no sir i put every thing in its fine in IE .but when we brows with mozila page occupies half screan half page

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900