Quick CSS Question

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch
Impact
10
Okay, I have an internal CSS Stylesheet. I want to make it so that their is a 1 Pixel Black Border around the whole bodyof the page, but my existing CSS Code as follows wont do the trick :(

BODY {border: 1px solid black}

ANy help is appreciated.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try using this:

body {
border: 1px solid #000;
}

I don't believe that black will work and without the ; it definetely won't work.
 
0
Close
You can use color names in CSS, but you need to use the semicolon for each class you set up.

You can try making a 100% width and height table and putting a 1px border around that!
 
0
Close
Appraise.net

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