TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-31-2008, 12:47 AM   #1 (permalink)
The Visitor
Newcomer 
 
Join Date: Dec 2008
Posts: 1
Thanks: 0
sarabrynt is on a distinguished road
Default 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!
sarabrynt is offline  
Reply With Quote
Old 01-09-2009, 08:49 PM   #2 (permalink)
The Contributor
 
Join Date: Apr 2005
Location: Kent, UK
Posts: 54
Thanks: 0
Dr John is on a distinguished road
Default

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.
__________________
www.kidneydialysis.org.uk
Dr John is offline  
Reply With Quote
Old 01-09-2009, 10:46 PM   #3 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

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?
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 01-09-2009, 10:55 PM   #4 (permalink)
The Contributor
 
Join Date: Apr 2005
Location: Kent, UK
Posts: 54
Thanks: 0
Dr John is on a distinguished road
Default

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.
__________________
www.kidneydialysis.org.uk

Last edited by Dr John : 01-10-2009 at 12:03 AM.
Dr John is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:47 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design