The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Double borders?, Does anyone know a way to create a border, and a border around that bo
Ataru
post Nov 2 2007, 10:48 AM
Post #1


Member
***

Group: Members
Posts: 38
Joined: 28-June 07
Member No.: 3,226



Does anyone know a way to create a border, and a border around that border? I'm thinking a light green border with a dark green border around it. Is this possible with CSS?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 2 2007, 10:58 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 15,195
Joined: 9-August 06
Member No.: 6



There is a value for border-style that creates a double border. But if you want the individual borders in different colors and want more control overall, you have to use two nested HTML elements and give each of them their own border.

http://htmlhelp.com/reference/css/box/border-style.html


--------------------
"Never go to excess, but let moderation be your guide."
- Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th July 2014 - 03:25 AM