Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone.....

I created a website which is viewed only in center of the screen in widescreen monitor.....like this codeproject website....


Can anyone have a solution for this problem to view website according to screen size.....
Posted
Comments
E.F. Nijboer 9-Mar-12 5:27am    
How do you mean solution? If you resize the window a horizontal scrollbar is shown if the width is too small.

1 solution

As a simple solution, you need to use % in the design view instead of pixel (px). So, use width="100%" or width="80%" whatever instead of using width="800px" in every table or div.
 
Share this answer
 

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