Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 16-Dec-12 22:22pm
kk20141.8K

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
kkakadiya at 17-Dec-12 6:33am
   
hi Armando Talex,
thanks for the advice. i am going to design in pixel instead of £ calculation.

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

  Print Answers RSS
0 OriginalGriff 295
1 DamithSL 265
2 CPallini 235
3 Maciej Los 190
4 George Jonsson 170
0 OriginalGriff 5,415
1 DamithSL 4,422
2 Maciej Los 3,820
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,911


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 17 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100