TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   XHTML, HTML, CSS (http://www.talkphp.com/xhtml-html-css/)
-   -   SwfObject and CSS (http://www.talkphp.com/xhtml-html-css/3821-swfobject-css.html)

sarabrynt 12-31-2008 12:47 AM

SwfObject and CSS
 
I'm a beginner here. I have 7 swfs. I am trying to arrange tham on a page. I usually use swfObject to embed the swfs on the page but I've only done it before with one swf. How do I go about arranging the swfs so that I have one long one (900 px) across the top, three on the next row (left box is 220 x 330, middle one is 460 x 330, and right is 220 x 330), and three on the bottom row (left box is 220 x 330, middle one is 460 x 330, and right is 220 x 330).

Anyone know how to do this? IS swfObject the best way to embed the .swf if you want to arrange them?

Thanks for the help!

Dr John 01-09-2009 08:49 PM

Create some divs, whose width is big enough to contain the appropriate number of swfs, set their margin to auto, and that will do it.

In other words, exactly how you'd arrange any other item on a web page.

Wildhoney 01-09-2009 10:46 PM

Precisely how Dr. John said.

Off topic, I am sorry, but nice MFA website you have there, Dr. John! I also love the bottom bit for the various misspellings of dialysis. Quite crafty! Is it making much money at the moment?

Dr John 01-09-2009 10:55 PM

More than I'd have charged a client to make it, after 18 months of existance, but less than I'd like per day.

PS Unlike most MFA's the content is useful and accurate.


All times are GMT. The time now is 08:00 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0