I have a CSS section entitled #ExtraDiv1. It looks like so...
#extraDiv1 {
position: absolute;
top: 10px;
left: 490px;
background: url(../Data/Assets/theme_o
ne/Misc/my
Image.gif)
no-repeat;
width: 285px;
height: 483px;
}
When I try to put in an image that has a transparent background, I get nothing. If I put in a regular GIF with a non-transparent background, it displays just fine. aaarggh! I'm banging my head. Below is the full CSS.
#holderBody
{
background:none;
}
#holderBody strong
{
font-weight:bold;
}
#holderBody a
{
text-decoration:underline;
}
#holderBody p
{
margin:auto;
}
#holder
{
border: 1px solid #ccc;
padding: 10px;
margin: 5px;
text-align: left;
font-size:14px;
}
/*
==========================
==========
==========
==
Yahoo GUI Reset CSS
http://developer.yahoo.com/yui/reset/==========================
==========
==========
==
*/
body,div,dl,dt,dd,ul,ol,li
,h1,h2,h3,
h4,h5,h6,p
re,form,fi
eldset,inp
ut,textare
a,p,blockq
uote,th,td
{
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset,img {
border:0;
}
address,caption,cite,code,
dfn,em,str
ong,th,var
{
font-style:normal;
font-weight:normal;
}
ol,ul {
list-style:none;
}
caption,th {
text-align:left;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal;
}
q:before,q:after {
content:'';
}
abbr,acronym { border:0;
}
/*
==========================
==========
Start Theme One Styling
==========================
==========
*/
body
{
font: 11px arial, verdana, sans-serif;
color: #fff;
background: #000 url(../Data/Assets/theme_o
ne/Misc/pa
ge_backgro
und2.gif) repeat-y;
margin: 0px;
}
#Container
{
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
width: 780px;
}
#Header
{
background: url(../Data/Assets/theme_o
ne/misc/to
pbg.jpg) no-repeat top left;
margin-top: 0px;
margin-bottom: 0px;
width: 780px;
height: 215px;
/*text-indent: -1000px; */
}
h1#Logo
{
background-image:url(../Da
ta/Assets/
theme_one/
Feature/Ho
me_Feature
2.gif);
text-indent:-10000px; /*Used to hide the text off screen */
height:91px;
width:221px;
float:left;
}
h1#Logo a
{
display:block;
height:100%;
}
#Navi
{
float:right;
height:91px;
font-size:20px;
}
#Navi li
{
float:left;
display:block;
/*background-color:green;*
/ /* Used for debug */
line-height:91px;
margin:0 0 0 17px;
}
#Navi li a
{
color:#FFFFFF;
text-decoration:none;
display:block;
}
#Navi li a:hover, #Navi li.Selected a
{
color:#FF6D00;
}
#Content
{
padding:15px 0 0 0;
clear:both;
}
#HomeFeature
{
background-image:url(../Da
ta/Assets/
theme_one/
Feature/Ho
me_Feature
.gif);
background-repeat:no-repea
t;
height:168px;
text-indent:-10000px; /*Used to hide the text off screen */
}
#ContentContainer
{
margin:24px 0 0 15px;
/*background-color:red;*/ /* Used for debug */
}
#MainContent
{
width:515px;
float:left;
font-size:14px;
/*background-color:purple;
*/ /* Used for debug */
}
#MainContent h3
{
font-size: 20px;
color:#ff6300;
}
#MainContent p
{
margin:10px 0 10px 0;
}
#MainContent a
{
color:#FF6300;
text-decoration:underline;
}
#MainContent a:hover
{
color:#FF6300;
text-decoration:none;
}
/*
==========================
==========
======
Gallery List
==========================
==========
======
*/
#MainContent .GalleryList
{
margin:15px 0 0 -10px;
width:424px;
}
#MainContent .GalleryList .Item
{
float:left;
width:96px;
margin:0 0 10px 10px;
}
#MainContent .GalleryList .Item a img
{
padding:2px;
border:1px solid black;
}
#MainContent .GalleryList .Item a:hover img
{
padding:2px;
border:1px solid black;
background-color:black;
}
#MainContent .GalleryList .Item strong a
{
display:block;
margin:5px 0 0 0;
}
#MainContent .GalleryList .Item em
{
display:block;
font-size:12px;
}
#MainContent .Photo img
{
/* This ensures the photos is resized to fit the div */
max-width:100%;
}
#MainContent .Photo .PhotoNav
{
display:block;
}
#MainContent .Photo .PhotoNav .Left
{
float:left;
}
#MainContent .Photo .PhotoNav .Right
{
float:right;
}
/*
==========================
==========
======
News List
==========================
==========
======
*/
#MainContent ul.NewsList
{
margin:15px 0 0 0;
}
#MainContent ul.NewsList li
{
margin:0 0 15px 0;
}
#MainContent ul.NewsList li a
{
display:block;
}
#MainContent ul.NewsList li a.Event
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/event
_icon.gif)
;
background-repeat:no-repea
t;
background-position:0px 8px;
padding:6px 8px 7px 18px;
}
#MainContent ul.NewsList li a.News
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/news_
icon.gif);
background-repeat:no-repea
t;
background-position:0px 8px;
padding:6px 8px 7px 18px;
}
#MainContent .EventItem strong
{
display:block;
}
/*
==========================
==========
======
Contact Form
==========================
==========
======
*/
#MainContent .ContactForm .Error
{
border-top:2px solid #FFD324;
border-bottom:2px solid #FFD324;
background-color:#FFF6BF;
color:#000000;
font-weight:bold;
margin:18px 25px 31px 0;
padding:9px 0 10px 50px;
background-image:url(../Da
ta/Assets/
theme_one/
Misc/error
_icon.gif)
;
background-repeat:no-repea
t;
/*background-position:15px
50%;*/
background-position:15px 12px;
}
#MainContent .ContactForm .Error li
{
font-weight:normal;
}
#MainContent .ContactForm fieldset
{
border:0px solid #000000;
display:block;
margin:15px 0 15px 0;
width:90%;
}
#MainContent .ContactForm legend
{
display:none;
}
#MainContent .ContactForm label
{
color:#000000;
font-weight:bold;
}
#MainContent .ContactForm .TextBox
{
border:1px solid #CACACA;
display:block;
font-family:Arial,Helvetic
a,sans-ser
if;
font-size:12px;
font-weight:normal;
padding:3px 4px 2px 3px;
width:100%;
}
#MainContent .ContactForm .TextArea
{
border:1px solid #CACACA;
display:block;
font-family:Arial,Helvetic
a,sans-ser
if;
font-size:12px;
font-weight:normal;
padding:3px 4px 2px 3px;
height:90px;
width:100%;
}
/*
==========================
==========
======
VCard Styling
==========================
==========
======
*/
.vcard .n
{
font-weight:bold;
}
.vcard .tel
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/phone
_icon.gif)
;
background-repeat:no-repea
t;
background-position:6px 0px; /* Left:6px Top:0px */
padding:2px 0 3px 22px;
margin:15px 0 0 0;
display:block;
color:#000000;
}
.vcard .email
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/email
_icon.gif)
;
background-repeat:no-repea
t;
background-position:0px 2px; /* Left:0px Top:2px */
text-decoration:underline;
padding:0 0 1px 22px;
margin:0;
display:block;
color:#000000;
}
.vcard .url
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/web_i
con.gif);
background-repeat:no-repea
t;
background-position:0px 2px; /* Left:0px Top:2px */
text-decoration:underline;
padding:1px 0 2px 22px;
margin:0;
display:block;
color:#000000;
}
.vCardDl
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/vcard
_icon.gif)
;
background-repeat:no-repea
t;
background-position:0px 2px; /* Left:0px Top:2px */
padding:0 0 0 22px;
margin:15px 0 50px 0;
color:#000000;
}
/*
==========================
==========
======
Email A Friend
==========================
==========
======
*/
#MainContent .EmailFriendForm .Error
{
border-top:2px solid #FFD324;
border-bottom:2px solid #FFD324;
background-color:#FFF6BF;
color:#000000;
font-weight:bold;
margin:18px 25px 31px 0;
padding:9px 0 10px 50px;
background-image:url(../Da
ta/Assets/
theme_one/
Misc/error
_icon.gif)
;
background-repeat:no-repea
t;
/*background-position:15px
50%;*/
background-position:15px 12px;
}
#MainContent .EmailFriendForm .Error li
{
font-weight:normal;
}
#MainContent .EmailFriendForm fieldset
{
border:0px solid #000000;
display:block;
margin:15px 0 15px 0;
width:90%;
}
#MainContent .EmailFriendForm legend
{
display:none;
}
#MainContent .EmailFriendForm label
{
color:#000000;
font-weight:bold;
}
#MainContent .EmailFriendForm .TextBox
{
border:1px solid #CACACA;
display:block;
font-family:Arial,Helvetic
a,sans-ser
if;
font-size:12px;
font-weight:normal;
padding:3px 4px 2px 3px;
width:100%;
}
#MainContent .EmailFriendForm .TextArea
{
border:1px solid #CACACA;
display:block;
font-family:Arial,Helvetic
a,sans-ser
if;
font-size:12px;
font-weight:normal;
padding:3px 4px 2px 3px;
height:90px;
width:100%;
}
/*
==========================
==========
======
Search Results
==========================
==========
======
*/
#MainContent #xsltsearch #xsltsearch_summary strong
{
font-weight:bold;
}
#MainContent #xsltsearch .xsltsearch_description strong
{
background-color:#FFF6BF;
padding:0 2px 0 2px;
}
#MainContent #xsltsearch .xsltsearch_form .input
{
border:1px solid #bcbcbc;
padding:3px 7px 4px 4px;
font-size:11px;
}
#MainContent #xsltsearch #xsltsearch_stats
{
font-size:12px;
font-style:italic;
}
/*
==========================
==========
======
Secondary Content
==========================
==========
======
*/
#SecondaryContent
{
float:right;
width:240px;
font-size:13px;
/*background-color:blue;*/
/* Used for debug */
padding:0 0 80px 0;
}
#SecondaryContent h3
{
font-size: 20px;
color:#ff6300;
}
#SecondaryContent a
{
color:#000000;
text-decoration:underline;
}
#SecondaryContent a:hover
{
color:#000000;
text-decoration:none;
}
#SecondaryContent a.RSSLink
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/rss_i
con.gif);
background-repeat:no-repea
t;
background-position:0 3px;
padding:0 0 8px 23px;
text-decoration:underline;
display:block;
}
#SecondaryContent a.RSSLink:hover
{
text-decoration:none;
display:block;
}
#NewsSecondaryHeader
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/rss_i
con.gif);
background-repeat:no-repea
t;
background-position:0 6px;
padding:0 0 0 23px;
}
#SecondaryContent ul#NewsList
{
margin:12px 0 0 0;
}
#SecondaryContent ul#NewsList li
{
margin:0 0 6px 0;
font-size:13px;
}
#SecondaryContent ul#NewsList li strong
{
font-weight:bold;
}
#SecondaryContent ul#NewsList li.Event a
{
display:block;
background-color:#F9F9F9;
border-top:3px solid #E2E2E2;
border-bottom:3px solid #E2E2E2;
padding:8px 8px 7px 27px;
color:#808080;
text-decoration:none;
background-image:url(../Da
ta/Assets/
theme_one/
Misc/event
_icon.gif)
;
background-repeat:no-repea
t;
background-position:7px 8px;
}
#SecondaryContent ul#NewsList li.News a
{
display:block;
background-color:#F9F9F9;
border-top:3px solid #E2E2E2;
border-bottom:3px solid #E2E2E2;
padding:8px 8px 7px 27px;
color:#808080;
text-decoration:none;
background-image:url(../Da
ta/Assets/
theme_one/
Misc/news_
icon.gif);
;
background-repeat:no-repea
t;
background-position:7px 8px;
}
#SecondaryContent ul#NewsList li a:hover
{
background-color:#FFECCC;
border-top:3px solid #FFA200;
border-bottom:3px solid #FFA200;
color:#FF6300;
text-decoration:none;
}
#SecondaryContent #SearchSecondaryHeader
{
margin:30px 0 0 0;
}
#SecondaryContent form
{
margin:0 0 30px 0;
}
#SecondaryContent form input.Submit
{
cursor:pointer;
background-color:transpare
nt;
background-image:url(../Da
ta/Assets/
theme_one/
Misc/searc
h_button.g
if);
background-repeat:no-repea
t;
background-position:0px -16px;
border:none;
height:16px;
text-indent:-10000px;
width:18px;
padding:0;
margin:0;
}
#SecondaryContent form input.Submit:hover, #SecondaryContent form input.Submit:active
{
cursor:pointer;
background-color:transpare
nt;
background-image:url(../Da
ta/Assets/
theme_one/
Misc/searc
h_button.g
if);
background-repeat:no-repea
t;
background-position:0px 0px;
border:none;
height:16px;
text-indent:-10000px;
width:18px;
}
#SecondaryContent form input
{
border:1px solid #bcbcbc;
padding:3px 7px 4px 4px;
font-size:11px;
width:150px;
}
#SecondaryContent a.EmailFriend
{
background-image:url(../Da
ta/Assets/
theme_one/
Misc/email
_a_friend.
gif);
background-repeat:no-repea
t;
background-position: top left;
padding:0 0 0 22px;
text-decoration:underline;
color:#000000;
}
#SecondaryContent a.EmailFriend:hover
{
text-decoration:none;
}
#Footer
{
clear:both;
min-height:40px;
line-height:40px; /* This vertically centers the text */
font-size:12px;
padding:0 0 0 15px;
}
#Footer a
{
color:#808080;
text-decoration:none;
}
#Footer a:hover
{
color:#808080;
text-decoration:underline;
}
#Footer .ValidXhtml
{
padding:0 0 0 19px;
background-image:url(../Da
ta/Assets/
theme_one/
Misc/valid
_icon.gif)
;
background-repeat:no-repea
t;
margin:0 0 0 15px;
color:#61AB49;
}
#Footer a.ValidXhtml:hover
{
color:#61AB49;
text-decoration:underline;
}
#extraDiv1 {
position: absolute;
top: 10px;
left: 490px;
background: url(../Data/Assets/theme_o
ne/Misc/va
lid_icon.g
if) no-repeat;
width: 285px;
height: 483px;
}
#extraDiv2 {
position: absolute;
top: 1000px;
left: 0px;
background: url(flyerdude.jpg) no-repeat;
width: 255px;
height: 339px;
}
Start Free Trial