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 > CODE
Reload this Page CSS Borders

CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 06-29-2005, 01:21 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Oct 2003
Posts: 126
i386 is an unknown quantity at this point
 



CSS Borders


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.
i386 is offline  
Old 06-30-2005, 12:26 AM   #2 (permalink)
Account Suspended
Join Date: May 2005
Location: NY, USA
Posts: 283
hasif has a spectacular aura abouthasif has a spectacular aura about
 



that's nice, ths looks fancy.
hasif is offline  
Old 07-01-2005, 02:53 PM   #3 (permalink)
.PJ
NamePros Regular
 
.PJ's Avatar
Join Date: Aug 2004
Posts: 363
.PJ is on a distinguished road
 



I might look at this later...

PJ
__________________
L33TSig.net
.PJ is offline  
Old 07-01-2005, 03:06 PM   #4 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



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!
PoorDoggie 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 10:28 AM
CSS: what's the use of it? lucesei Programming 13 04-12-2004 07:21 AM
CSS positioning :( gwx Programming 6 12-30-2003 12:31 PM
Borders in CSS ccc Web Design Discussion 5 03-08-2003 03:58 AM

 
All times are GMT -7. The time now is 02:04 PM.

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