NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page css position help needed

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-09-2005, 12:52 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Apr 2005
Posts: 29
cyberdread is an unknown quantity at this point
 



css position help needed


I have a table with a flash movie inside a div on my html page. linked to the div (id-all) is a CSS external stylesheet with the code:
#all
{
width: 886px;
margin: 0 auto
}

this centres my flash movie on the middle of the page (horizontal)

the problem is: there is large gap of several pixels from the top to the flash movie where you can see the black background. And yes I checked table border=0 and cellpadding is also 0.

What CSS code do I add to keep the div in the centre but 0pixels from the top?
cyberdread is offline  
Old 05-14-2005, 06:52 PM   #2 (permalink)
NamePros Member
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
df-sean is an unknown quantity at this point
 



Have you tried adding "padding:0;" to your CSS?
__________________
:::: Â*DataFly.Net Â*::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Help Needed Chorei Web Design Discussion 0 04-12-2005 11:28 AM
Mozilla/Firefox (css) width: 100%; issue. FieroGT Web Design Discussion 3 08-07-2004 01:06 AM
CSS: what's the use of it? lucesei Programming 13 04-12-2004 08:21 AM
CSS positioning :( gwx Programming 6 12-30-2003 01:31 PM
Keeping text from wrapping w/ CSS? ccc Programming 18 04-01-2003 12:27 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 12:50 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger