NameSilo

Css position help needed

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

cyberdread

Established Member
Impact
0
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?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Have you tried adding "padding:0;" to your CSS?
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back