The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Html Color Code for Transparent
NovaArgon
post Jun 18 2008, 11:31 AM
Post #1


Always Need To Learn A New Code
*****

Group: Members
Posts: 265
Joined: 10-June 07
From: South Carolina
Member No.: 3,057



I am working on the style for my phpbb3 forums and I am trying to make some parts of the forum transparent using css is there such thing as a transparent color html color code?

THanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Christian J
post Jun 18 2008, 12:12 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



For CSS backgrounds, "transparent" is the default value. It can also be used on border-color. Even though you can't currently use it for foreground color (like text) its part of CSS3: http://www.w3.org/TR/css3-color/#transparent (there are ways to do it in today's MSIE browsers with Filters, though, but lack of anti-aliasing makes it look ugly in smaller font sizes).

There is also the "opacity" property: http://www.w3.org/TR/css3-color/#transparency and http://www.quirksmode.org/css/opacity.html for the MSIE workaround.

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

Posts in this topic


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: 28th March 2024 - 03:41 PM