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
image not shown at IE
Old 04-13-2009, 11:25 PM image not shown at IE
Skilled Talker

Posts: 72
Location: singapore
Trades: 0
Hi guys please help me with this IE problem..
my website http://www.glassfish.com.sg/portfolio.html
in firefox i can see the portfolio image clearly but not at all with IE

HTML :
Code:
<div id="webdesign">
                                  <a href="webdesign.html" class="highlightit"><img src="images/website.jpg" width="350" height="150" border="0" /></a>                                  </div>
CSS:

Code:
#webdesign{
float:left;
width:350px;
height:150px;
}
.highlightit img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5;
}

.highlightit:hover img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1;
}
__________________

Please login or register to view this content. Registration is FREE
zelllibin is offline
Reply With Quote
View Public Profile Visit zelllibin's homepage!
 
 
Register now for full access!
Old 04-14-2009, 01:23 AM Re: image not shown at IE
Junior Talker

Posts: 4
Trades: 0
I couldn't see this in the actual site reference, try removing the height and widths in the html. also check your css code for "img" references maybe you defined something earlier on...
__________________

Please login or register to view this content. Registration is FREE
bestblogs is offline
Reply With Quote
View Public Profile
 
Old 04-14-2009, 11:40 AM Re: image not shown at IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
try removing the height and widths in the html
Why ? It is ALWAYS a good practice to put the dimensions of an image in the HTML, you NEVER want to force the browser to figure out the dimensions!

Couple of things I see:
-IE doesn't support the hover pseudoclass on anything but the <a> tag.

-You are triggering IE6's doubled-float margin bug when you float those boxes left then give them a left margin - IE6 doubles that margin. You'll need conditional comments and a separate css file that contains ONLY the fixes needed for IE. To squash this bug, you need to add display:inline to those boxes.

- You have an unclosed <span> tag in your menu - validate your code
__________________
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 04-14-2009, 11:58 AM Re: image not shown at IE
Skilled Talker

Posts: 72
Location: singapore
Trades: 0
you mean the problem is on menu??

Code:
#menu{
    float:right;
    width:500px;
    height:120px;
    padding-top:55px;
    background-color:#1799B0;
    
}

ul#blue { 
    margin:0; 
    padding:0; 
    list-style-type:none;
     }

ul#blue li { 
    position:relative; 
    float:left; 
    border-top:4px solid #efefef; 
    margin-right: 15px; 
    padding-right: 5px; 
    padding-top: 5px;}

ul#blue .current { 
    border-top:4px solid #33CCFF;}

ul#blue li:hover { 
    border-top:4px solid #33CCFF;}

ul#blue li a { 
    padding:0px 0px; 
    text-decoration:none; 
    font-family: impact,sans-serif;
    color: #FFFFFF;
    font-size: 18px;
    color:#FFFFFF;}

ul#blue li a:hover { 
    color:#33CCFF; 
    border:none; }

ul#blue li span{ 
    display:none; 
    position:absolute; 
    top:20px; 
    left:2px; 
    width:160px; 
    font:normal 9px Verdana, Georgia, "Ravvi", Times, serif; 
    line-height: 15px; }

ul#blue li a:hover span {
    margin-top: 7px; 
    display:block; 
    color: #ffffff;}
__________________

Please login or register to view this content. Registration is FREE
zelllibin is offline
Reply With Quote
View Public Profile Visit zelllibin's homepage!
 
Old 04-14-2009, 12:35 PM Re: image not shown at IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
No, but having unclosed tags can have unexpected effects.
__________________
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
 
Reply     « Reply to image not shown at IE
 

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