HighDots Forums  

centreing and resolution

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss centreing and resolution in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kufu22 webforumsuser@macromedia.com
 
Posts: n/a

Default centreing and resolution - 10-01-2003 , 10:26 AM






I have a flash annimation that is 1280 in width but the main content is in the centre of this and is about 800px wide.
I want to know how i can get dreamweaver to alter how much of the animation the browser displays
depending on the screen resolution o the viewers brower settings.
Eg. if the viewer has a setting of 1024x768, 1024px of the animation will be viewable but if the scree res is 1280x1024, 1280px of the anim willbe viewable.




Reply With Quote
  #2  
Old   
Joe {RoastHorse}
 
Posts: n/a

Default Re: centreing and resolution - 10-01-2003 , 10:45 AM






you *could* try it like this:

<style>
#movie { /* id of div containing movie */
position: absolute;
left: 50%;
margin-left: -640px;
}
</style>

but those with windows smaller than 800px wide will not be able to see the
left-hand side of your movie.

joe




"kufu22" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I have a flash annimation that is 1280 in width but the main content is in
the centre of this and is about 800px wide.
I want to know how i can get dreamweaver to alter how much of the
animation the browser displays
depending on the screen resolution o the viewers brower settings.
Eg. if the viewer has a setting of 1024x768, 1024px of the animation will
be viewable but if the scree res is 1280x1024, 1280px of the anim willbe
viewable.
Quote:




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.