CSS Borders

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

i386

Established Member
Impact
0
This is just a small CSS code to display a red border around text on your site. It's very simple.

Code:
.borders {
  border-style: dashed;
  border-width: thin;
  white-space: pre;
  border-color: red;
}

I hope someone finds it useful.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
that's nice, ths looks fancy.
 
0
Close
I might look at this later...

PJ
 
0
Close
you can also have a different border on each side

Code:
border-right: /*blah blah*/
border-left: ";
border-top: ";
border-bottom: ";

but i didn't know you could do the whole border like that... thanks for sharing! :)
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back