| | |||||
| ||||||||
| 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. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Oct 2003
Posts: 126
![]() | 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;
} |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: Aug 2004
Posts: 363
![]() | I might look at this later... PJ
__________________ L33TSig.net |
| |
| | #4 (permalink) |
| Soon to be RICHdoggie! Join Date: Jan 2005 Location: UK
Posts: 2,408
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | you can also have a different border on each side Code: border-right: /*blah blah*/ border-left: "; border-top: "; border-bottom: "; |
| |
![]() |
| 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 |