Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

As my site will be lost its shape when we change the size percent from 100% to less or more the content of it will move with the size but the size of the page reamins same ,which shows a lot of space between the contants.I have use table tag to fix the size and all the containts are wjthin the table form only.I hope u all understand my problem,if not then just try to press ctrl and scroll the mouse up or down u will see that the some of the site will not lost its original form but my site losts it.Plzz help me.
Posted
Comments
OriginalGriff 24-Jun-10 15:15pm    
I can't help, but thanks for the "CTRL+mouse wheel" bit - I didn't know about that! Gets my 5.

Hi,
You have to need some type of practice of html designing and css.
I am giving you very basic trick as per my knowledge.
I have designed many web pages in asp.net

You have to fix your all pages as per following way
in div i fixed width of pages in pixel after in that you can take width in percentage.

XML
<body>
    <form id="form1" runat="server">
        <div style="width: 990px; margin: 0px auto; z-index: 10">
        </div>
    </form>
</body>


I think this answer can help you..
 
Share this answer
 
Comments
nishi2010 30-Jun-10 8:14am    
Thanks for our reply.i had already solve this problem using this solution only.
nishi2010 30-Jun-10 8:14am    
Reason for my vote of 5
This solution works properly
It's because you must not be following W3C standards while designing your webpage. Today all the browsers follow them and a website made using those standards (basically applying CSS, UI design based on certain rules) work fine in all resolution and sizes.

Read all about them here: W3C standards - Web Design and Applications[^]
 
Share this answer
 
Comments
nishi2010 24-Jun-10 16:16pm    
Thanks for your instant reply i will try this.
nishi2010 25-Jun-10 7:19am    
I have try this but i am not able to solve that .Please help me how to use that.
nishi2010 28-Jun-10 15:12pm    
Thanks, i had solve this problem.

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