OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
CSS Positioning screwed up when browser is not maximized
This page's ID:
10901
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote]Anyway I can preven this from happening?[/quote] Yep, just have the page reload whenever the browser window is resized. You can do this with an addition to the body tag: <BODY onResize="window.location.href = window.location.href;"> I've also seen it done straight in DHTML(the following is a single line of code): if(document.layers){origWidth=innerWidth;origHeight=innerHeight;onresize=function(){if(innerWidth!=origWidth| |innerHeight!=origHeight)location.reload()}} I seem to remember doing a slightly different version of the first one way back when I actually did things like that, but now I can't remember what it was. Anyway, one of those should do the trick.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »