HighDots Forums  

CSS - Center table

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS - Center table in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brian
 
Posts: n/a

Default CSS - Center table - 06-01-2006 , 04:56 PM






I am using the following table to center a flash file and for some
reason it seems like the CSS is giving the table a bit of padding in the
browser? Can't figure out why? Also, do I even need a table to center
this flash file in the first place?

This is my CSS:

html, body, #wrapper {
background-color: #25231a;
margin: 0;
padding: 0;
border: none;
text-align: center;
}
#wrapper {
margin: 0 auto;
text-align: left;
width: 800px;
}


Thank you for any help!
Brian

Reply With Quote
  #2  
Old   
Anurag
 
Posts: n/a

Default Re: CSS - Center table - 06-01-2006 , 08:22 PM






CSS:

..flashcontainer {text-align:center}

HTML:

<div class="flashcontainer">.......</div>


Spice it with some padding, margins, etc and you should be good to go

Anurag

Reply With Quote
Reply




Thread Tools
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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.