View Full Version : Flash and HTML
kerrycorcoran
November 14th, 2004, 10:41 PM
When a developer creates a site with DW and Flash how are they positioning their Flash work?
For instance, say a person wanted to place a Flash animation in the lower right corned of their site [developed in DW] how would they accomplish this? I am assuming everyone uses tables, just wondering if there is a better practice.
Any help appreciated.
Thanks,
Kerry
Digitalosophy
November 14th, 2004, 11:06 PM
It's a matter of opinion really, I use tables. Others will say CSS is the way to go. Regardless, you have to make sure it works in all browsers, that's the most important thing.
If you have any further questions as far as actual html or css code, your prob better off posting in client side.
I can tell you usually I make a 100%x100% table and simply make whatever rows and or columns inside it, thus postioning whatever you'd like whereever you'd like.
fdoze
November 15th, 2004, 10:53 AM
The question here is How fas it will go, Tables or CSS?
I guess CSS is faster and cross-browser...
f.
kerrycorcoran
November 15th, 2004, 03:39 PM
The question here is How fas it will go, Tables or CSS?
I guess CSS is faster and cross-browser...
f.
How would I use CSS as far as the placement goes?
I understand how to use tables to slice up the area of the site, but not sure I follow how this would be accomplished in CSS?
All help is appreciated.
Thanks,
Kerry
Digitalosophy
November 15th, 2004, 03:41 PM
Moved this to client side, so you can get some css help.
ditt0
November 15th, 2004, 04:54 PM
Actually I think fdoze meant tables or divs+css. There are several ways to make placement with divs and css. If you want to learn on divs+css positioning, a few links are:
http://www.websitetips.com/css/index.shtml#cssp
http://www.thefixor.com/code_css_01.php
http://www.w3.org/2002/03/csslayout-howto
http://www.csscreator.com/links/linkspage.php
It's hard to explain it all, it's a vast subject. Check w3.org for alll the css tags if you're starting fresh on css.Anyway, down to your specific question the css would be:
body{
margin:0;
padding:0:}
#flash{
width:200px;
height:100px;
background-color:#CCCCCC;
position:absolute;
bottom: 0px;
right: 0px;}
<STYLE type=text/css>
body{
margin:0;
padding:0:}
#flash{
width:200px;
height:100px;
background-color:#CCCCCC;
position:absolute;
bottom: 0px;
right: 0px;
}
</STYLE>
and the html
< body>
< div id="flash" >< /div >
< /body >
[m]
November 16th, 2004, 05:58 PM
But beware: for CSS you need a very different way of thinking, in terms of layout. Tables are relatively easy to understand, but also limited in what it can do. It might be a toughy before you completely inderstand the box modul, but it'll be worth it.
philler
November 18th, 2004, 07:18 AM
I've always used tables, never really bothered with CSS for stuff like that simply because I didn't really need to. You're pretty safe with tables for the positiong of flash movies.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.