Jump to content

[SOLVED] Transparency in Google Chrome


mattal999

Recommended Posts

OK, I have this:

 

.artist {
border: none;
float: left;
margin: 10px;
width: 75px;
height: 107px;
}

.artist a {
color: #000000;
text-decoration: none;
width: 75px;
opacity: 0.6;
filter: alpha(opacity=60);
-moz-opacity: 0.6;
}

.artist a:hover {
color:#000000;
opacity: 1;
filter: alpha(opacity=100);
-moz-opacity: 1;
}

.artist img {
border: none;
margin-bottom: 2px;
}

 

and this to make it:

 

<span class="artist"><center><a href="browsesongs.php?artist=<?php echo $song['artist']; ?>">
    	<img src="images/art.gif" class="art" width="75" height="75"><br><?php if(strlen($song['artist']) >= 20) { echo substr($song['artist'], 0, 20)."..."; } else { echo $song['artist']; } ?></a></center></span>

 

And it gives this result in Chrome, but its fine in IE:

 

helpoj1.jpg

 

Any ideas?

 

Thanks

Link to comment
Share on other sites

I don't think you should be worrying about fixing minor issues in a beta-version of a new browser. No one bothers with the IE8 beta either.

 

However, Chrome is based on webkit and so you would expect it to be fine. Why don't you post the actual html source of the page (i.e. not your raw code with php in it) and the entire stylesheet, or provide a link to the actual page this is happening on, so that people can actually do some testing.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.