Click here to Skip to main content
15,889,266 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi all,
i want design consistency in my whole site. means i want my site in center. something like when we press control key + scroll down in mouse then whole design will comes in center of browser.

i hope that you can understand what i want to say.

thanks,
kk
Posted

1 solution

Hi. kkakadita,

I understood the problem that you mentioned here.

Its only due to the styles that we apply in designing the page. i.e If we design a page using a fixed width (in pixels) then that element or the page controls will follow the fixed width property. If you design the page with respect to width (in % calculation) then the page controls will follow the width of the parent control according to the screen width.

For better understanding you can try taking a demo application containing some
elements.

add some more
elements and make all teh divs of different colours and different widths.

Now put some controls in the divs and check with your ctrl + scroll property.
this will show you the difference between the two types of designing procedure.

This will definitely resolve your problem / show you the right way to handle your problem.

Thanks
 
Share this answer
 
Comments
kk2014 17-Dec-12 6:33am    
hi Armando Talex,
thanks for the advice. i am going to design in pixel instead of £ calculation.
[no name] 17-Dec-12 7:15am    
If you face any issues then feel free to ask me here...
All the best!!!

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