PDA

View Full Version : site and dreamweaver quesiton...



blah-de-blah
June 21st, 2003, 11:01 AM
i was wondering how the layout of this site was created:
http://www.donshaw.com/

You know how the flash is in the middle and above and below it have its own colors while the sides have different colors? Did they use tables to make that?

because i was thinkin of somethin similar, except with those extra boxes (which are above and below the flash thing) to be on the left and right of it (so on the same x axis). Get what i mean!? Would tables be what you would use? thx...

replode
June 21st, 2003, 01:03 PM
yep, they used tables. for the orange part, they probably just created a really small .gif bg that repeats itself over and over again. and the middle section just has a bg color of gray, then the flash is centered over it. if you need an example of the code then ask.:)

blah-de-blah
June 21st, 2003, 01:06 PM
o ok, but is it a table for the whoooolle page like 100%, or just the middle bit or somethin?

DDD
June 21st, 2003, 01:15 PM
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" height="50%">&nbsp;</td>
<td width="400</td>
<td width="50%" height="50%"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="300" bgcolor="#666666">put your flash movie here<td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="50%">&nbsp;</td>
<td height="50%">&nbsp;</td>
<td height="50%">&nbsp;</td>
</tr>
</table>

DDD
June 21st, 2003, 01:17 PM
take out the
<!---- ----> and place your flash movie in the section I labeled and there you have it

oh yeah and put this in the body tag

leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"

blah-de-blah
June 21st, 2003, 01:22 PM
ah i see coolt hx :)

blah-de-blah
June 21st, 2003, 01:45 PM
wat des the margin stuff do to the flash?

Jubba
June 21st, 2003, 02:02 PM
it doesn't do anything to the Flash. it just gets rid of the margins in the HTML page.