Forum Moderators: phranque
I decided to use the javascript screensize to imporve my formatting - in other words if the screen size is 800 I put a box in one place, if its 1024 I put it in another place.
I ran into a problem. A person can have a large screen but open up a small window. My code thinks it's a large screen and puts it in the wrong place. Is there any way I can tell the window size or location? thanks, Pat
Like in this sample:
.left {position:absolute;top:6%; left:10%}
.right {position:absolute; top:6%; left:67%}
inline:
<img class=right src="evil_ernie.jpg">
<img class=left src="bad_bert.jpg">
When the window is resized the content 'moves' with it.
CSS Forum [webmasterworld.com]
T
For more information: [webmasterworld.com...]