FORUMS: list search recent posts

How do I lock height and width on web page?

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
tonyHow do I lock height and width on web page?
by on Jul 4, 2005 at 4:15:26 pm

I wish to lock the aspect ratio of my website. But I find when I add content it changes it's self and I can't work how to keep it's height locked.
Here's a page from my new site, if this is any help.

http://www.chipandfish.com/stu.htm

tony


Return to posts index

Curtis ThompsonRe: How do I lock height and width on web page?
by on Jul 4, 2005 at 4:35:02 pm

hello...

well - you can do a few things - one would be to pick a height that would allow for all of your various content and then make sure you keep the content within the length to fit in your pre-defined space for it on each section. otherwise, you would need to implement scroll bars within your layout to allow overflow of content but not affect the overall height. you could do the latter with either an iframe or a div with an overflow property...

here's an iframe example i've used around here before:

http://sitruc.com/cow/iframe/iframe.html

and here's a discussion of a div with an overflow property set:

http://www.quirksmode.org/css/overflow.html

hope that helps!

sitruc


Return to posts index

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