Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
i need a transparent background
Old 09-19-2007, 12:37 PM i need a transparent background
purk's Avatar
Extreme Talker

Posts: 164
Name: James
Location: marbella & surrey
Trades: 0
...for a combo box.

background-color:transparent does not seem to work.

anyone tried to do this before?


;purk
__________________

Please login or register to view this content. Registration is FREE
- private villas direct from the owners - travel links always needed.
purk is offline
Reply With Quote
View Public Profile Visit purk's homepage!
 
 
Register now for full access!
Old 09-19-2007, 03:04 PM Re: i need a transparent background
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Can we see the code or a page ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-19-2007, 06:14 PM Re: i need a transparent background
purk's Avatar
Extreme Talker

Posts: 164
Name: James
Location: marbella & surrey
Trades: 0
Code:
<select name="gender" id="gender" style="border-style:none; background-color:transparent; height:15px; font-size:10px;">
<option value="m" > male </option>
<option value="f" > femaie </option>
</select>
i'm surprised no one has come across this before.

;purk
__________________

Please login or register to view this content. Registration is FREE
- private villas direct from the owners - travel links always needed.
purk is offline
Reply With Quote
View Public Profile Visit purk's homepage!
 
Old 09-19-2007, 07:00 PM Re: i need a transparent background
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Trades: 0
Now, I think you can pretty much do any color for those, but you can't do transparent or image backgrounds.

At least, I think =/
__________________
<?php if($Adsense_Revenue > 0): define('HAPPINES','100%'); else: define('HAPPINESS', '0%') endif; ?>
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Old 09-19-2007, 07:15 PM Re: i need a transparent background
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
This worked for Firefox.
http://www.webmaster-talk.com/html-f...rm-fields.html

Not sure how to get it to work in IE.

HTML Code:
<select name="gender" id="gender" style="-moz-opacity:0.3;
filter:Alpha(Opacity=30">
joder is offline
Reply With Quote
View Public Profile
 
Old 09-19-2007, 07:58 PM Re: i need a transparent background
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Unfortunately.. you don't.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-19-2007, 08:15 PM Re: i need a transparent background
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Unfortunately.. you don't.
haha :P
__________________
<?php if($Adsense_Revenue > 0): define('HAPPINES','100%'); else: define('HAPPINESS', '0%') endif; ?>
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Old 09-19-2007, 08:59 PM Re: i need a transparent background
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Unfortunately.. you don't.
Should have guessed that one
joder is offline
Reply With Quote
View Public Profile
 
Old 09-20-2007, 05:50 AM Re: i need a transparent background
purk's Avatar
Extreme Talker

Posts: 164
Name: James
Location: marbella & surrey
Trades: 0
thanks anyway folks


;purk
__________________

Please login or register to view this content. Registration is FREE
- private villas direct from the owners - travel links always needed.
purk is offline
Reply With Quote
View Public Profile Visit purk's homepage!
 
Old 09-20-2007, 07:05 AM Re: i need a transparent background
killdude69's Avatar
Average Talker

Posts: 24
Name: Brandon Miller
Trades: 0
You must assign the style properties in the <option> tag.

HTML Code:
<select name="gender" id="gender" style="border-style:none; height:15px; font-size:10px;">
<option value="m" style="background-color:transparent"> male </option>
<option value="f" style="background-color:transparent"> female </option>
</select>
But, nothing will work for that because if there is not a color value and it is assigned "transparent", it will just use it's default color because it has to prevent text from showing through the dropselect. It makes it hard to read. So regardless of what you do, you're still pretty much screwed.
__________________
Huhh, well, you screwed up this time dumby.

Free PHP BBCode parser & inserter:
Please login or register to view this content. Registration is FREE

Last edited by killdude69; 09-20-2007 at 07:06 AM..
killdude69 is offline
Reply With Quote
View Public Profile
 
Old 09-20-2007, 01:25 PM Re: i need a transparent background
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Did it work for you killdude69? All I see is a white background in IE and Firefox.
joder is offline
Reply With Quote
View Public Profile
 
Old 09-21-2007, 04:48 PM Re: i need a transparent background
killdude69's Avatar
Average Talker

Posts: 24
Name: Brandon Miller
Trades: 0
Quote:
Originally Posted by joder View Post
Did it work for you killdude69? All I see is a white background in IE and Firefox.
That is all it is going to be. I have already explained that if a background is assigned a transparent value, it will render it in the default color. Because if it were transparent, text from other parts of the page would show through, hamper the users abillity to read your page easily.
__________________
Huhh, well, you screwed up this time dumby.

Free PHP BBCode parser & inserter:
Please login or register to view this content. Registration is FREE
killdude69 is offline
Reply With Quote
View Public Profile
 
Old 09-21-2007, 04:55 PM Re: i need a transparent background
Novice Talker

Posts: 6
Name: Derrick
Trades: 0
I don't know how your page is constructed, but you could draw a layer and add the alpha filter in CSS and set the opacity to whatever you want. Just erase everything except opacity=? and replace ? with aplha value and it will work. You wont see it in design view, but the alpha effect will be visible in browser.
dsmflash is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to i need a transparent background
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.57029 seconds with 12 queries