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.

CSS Forum


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



Reply
CSS Transparency Problem
Old 03-27-2007, 12:34 AM CSS Transparency Problem
Skilled Talker

Posts: 72
Trades: 0
Hi I have a problem with css for transparency background on IE.

Here the code

PHP Code:
<style type="text/css">
    
body {
    
background-color#000000;
  
}

  .
trans_box {
    
font-familyGeorgiaTimes New RomanTimesserif;;
     
/* Mozilla doesn't support crazy MS image filters, so it will ignore the following */
    
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='whitebox55-trans.png'sizingMethod='scale');
  }

  .
trans_box[class] {
    
background-image:url(whitebox55-trans.png);
  }

<
table>
  <
tr>
    <
td class="trans_box">
      <
form action="" method="post">
      
From :
      <
input type="text" name="username" size="20">
      <
input type="submit" value="Login" name="login" size="15">
      <
br>
      </
form>
    </
td>
  </
tr>
</
table
The css work fine to make transparent image on IE but when I can the form element can't work fine.
For example I can't submit into input form or click submit button.

Any suggestion?
__________________

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


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


Please login or register to view this content. Registration is FREE
jaketmerah is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-27-2007, 03:33 AM Re: CSS Transparency Problem
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Make your transparent image 1 x 1 pixel. Sometimes that works.

If it's truly transparent and not translucent (partly transparent), then you don't actually need a background at all.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-27-2007, 05:46 PM Re: CSS Transparency Problem
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
IF the transparent PNG is set to repeat, then even the filter will not work. The filter works if it's a simple non-repeating image.
__________________
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 03-28-2007, 05:50 AM Re: CSS Transparency Problem
Skilled Talker

Posts: 72
Trades: 0
I resize the transparent image into 1 x 1 pixel and it work now
But I don't know if it works or not on Linux or Mac
__________________

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


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


Please login or register to view this content. Registration is FREE
jaketmerah is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS Transparency Problem
 

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.13057 seconds with 12 queries