SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist jor133d's Avatar
    Join Date
    Jul 2003
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Align bottom object

    How do you align a object (like a flash SWF) vertically to the bottom of your screen?

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Assuming you are using the actual <object> tag and nothing else (in case you're wondering, the method below is called a "Flash Satay")
    HTML Code:
        <object type="application/x-shockwave-flash" data="/multimedia/c.swf?path=/multimedia/flashfile.swf" width="100" height="100">
        	 <param name="movie" value="/multimedia/c.swf?path=/multimedia/flashfile.swf" />
        </object>
    then I would use CSS to position it absolutely at the bottom of the page:
    Code:
        object {position: absolute; bottom: 0;}
    If you have multiple <object> tags, and want to target one, then give it a unique ID and then reference the ID in your stylesheet instead of the object selector.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •