Forced Alignment on Browser Scale
by Karl Williams on Mar 31, 2009 at 10:55:16 am
On certain sites i have noticed that regardless of browser window size the menus are top/bottom aligned even though the content in the centre stays the same size and in a central position. How is this accomplished? I can scale everything to move with the browser but not certain elements, I have experience with Flex and it seems to function like containers do in there.
Re: Forced Alignment on Browser Scale by Abraham Chaffin on Apr 6, 2009 at 4:35:52 pm
There are various methods to do this. One way to do this is using absolute positioning. Absolute positioning allows you to set the position of certain elements not based on the position of other elements on the page. So they could be forced to align to the right side of the browser or the left on scaling.
Would set the position of this content to the top right of the screen.