FORUMS: list search recent posts

Forced Alignment on Browser Scale

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Karl Williams
Forced Alignment on Browser Scale
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.

Thanks Karl


Return to posts index

Abraham Chaffin
Re: Forced Alignment on Browser Scale
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.

For example:


Would set the position of this content to the top right of the screen.



Abraham


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]