fix top align
- Started
- Last post
- 8 Responses
- Buckyball2
I have this layout:
http://www.adrenalineshot.com/Ap…
When a browser window is large and fully open someone's screen the page content centers top to bottom with the white space. That is fine. But when I pull the window up to a smaller height it continues to center and starts to cut off the top of th page. This could be problematic, especially on a smaller monitor/lower screen resolution.
Is there a listener of some script that would prohibit it from going beyond Y coordinate "O" ? Can I make it to where when the window hits that point the site top aligns, no matter how much smaller you close the window up.
Hope this makes sense. Help needed for pending client prez.
Thanks
- Buckyball20
am i asking for something that doesn't exist?
- jaylarson0
have you played around with min-width and min-height variables in css?
- Buckyball20
no. not too versed in css. which is a problem i know.
- fifty500
why are you building the site that way in the first place?
- Buckyball20
I'm in between trying to find a solution for the above, because my boss wants it that way, and convincing him to top align the site on secondary pages. And just let it fall to various depths based on page content from that point on. I don't think it would be a disconnect fromt the totally centered hompage. But until I convince him of that. Or the client ditches the design, I'm looking for a solve or suggestions.
thanks
- fifty500
why not do the top-align then. you can still do that in CSS and have a footer that remains at the bottom of the view-area even if content only goes half way down the page.
i meant to ask, but are the white areas above and below going to be there in the finished site design?
- spot130
Why not just do the centering and sizing in Flash, just make the flash movie 100% of the browser and set it to not scale with the fscommand?
That's if you are planning on doing a full flash site as it is now.
- Buckyball20
We're getting closer:
http://adrenalineshot.com/AppVau…
Don't know if this was the best way to do it but recreated the layout in Dreamweaver with tables. The top of the page stays in frame when the window is collapsed but there is about 20 pixels of white space above it. Anyway to collpase that as well so the top part of the site design is at the top of the page?
thanks