Unstoppable Domains โ€” AI Assistant

Quick CSS Question

NamecheapNamecheap
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
•••
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
•••
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
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back