Ik ben bezig met bouwen van nieuwe site. Daarbij experimenteer ik de nieuwe indeling.
Dat gaat tot nu toe goed, maar toch stuit ik op een ongemak ondanks dat code nog goed werkt in FF.
Bij IE gaat het even gekke kant op.

Hier hele css:
In dot_left / dot_right zitten background image als pijl.
In IE worden ze zomaar bijgepakt na mouseout (nadat ze geklikt zijn) als background image en dat gaat het niet goed. In FF heb ik al beetje gefixed met alleen "background:...."
De php deel luidt:
Kan ik iets aan veranderen zodat de storing in css in IE weg is? Heb ik iets teveel erin gedaan?
Een hulp is welkom om code in CSS iets beter te maken
Het is bedoeling dat de kleine buttons onderaan correct teruggaan naar normale state, en niet dat ze ineens anders gaan doen (neemt dus codedeel over van dot_left)
Alvast dank.
Dat gaat tot nu toe goed, maar toch stuit ik op een ongemak ondanks dat code nog goed werkt in FF.
Bij IE gaat het even gekke kant op.

Hier hele css:
Cascading Stylesheet:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| /* site kader */ .site_kader_side { width:335px; float:left; margin-bottom:5px; } .site_kader_strik { height:34px; width:308px; background:url(images/kader-strik.png) no-repeat center; } .site_kader_body { width:300px; float:left; background-color:#FFF; } .site_kader_img { display:table-cell; height:300px; width:300px; vertical-align:middle; text-align:center; } .site_kader_img img { vertical-align:middle; } .site_kader_slideshow { width:300px; overflow:hidden; } .site_kader_slidebody { position:relative; } .site_kader_buttonslide { width:240px; float:left; overflow:hidden; background:#CCC; } .site_kader_buttonbody { position:relative; left:110px; } .site_kader_slideinfo { width:300px; float:left; cursor:pointer; } .site_kader_aanbieding { height:308px; width:27px; background:url(images/kader-aanbieding.png) no-repeat top; float:left; } .site_kader_thema { height:308px; width:27px; background:url(images/kader-thema.png) no-repeat top; float:left; } .dot_play { height:12px; width:20px; background:url(images/button-play.gif) no-repeat; float:left; cursor:pointer; } .dot_pause { height:12px; width:20px; background:url(images/button-pause.gif) no-repeat; float:left; cursor:pointer; } .dot_select { float:left; text-align:center; font-size:9px; cursor:pointer; } .dot_select a:link,a:visited { display:block; height:12px; width:18px; border-left:#ec6e08 solid 1px; border-right:#ec6e08 solid 1px; background:#fff; color:#ec6e08; } .dot_select a:hover { display:block; height:12px; width:18px; border-left:#ec6e08 solid 1px; border-right:#ec6e08 solid 1px; background:#000; color:#FFF; text-decoration:none; } .dot_select a:active { display:block; height:12px; width:18px; border-left:#ec6e08 solid 1px; border-right:#ec6e08 solid 1px; background:#FF0; color:#ec6e08; } .dot_nummer { float:left; text-align:center; font-size:9px; cursor:pointer; } .dot_nummer a:link,a:visited { display:block; height:12px; width:18px; border-left:#fff solid 1px; border-right:#fff solid 1px; background:#ec6e08; color:#000; } .dot_nummer a:hover { display:block; height:12px; width:18px; border-left:#fff solid 1px; border-right:#fff solid 1px; background:#000; color:#FFF; text-decoration:none; } .dot_nummer a:active { display:block; height:12px; width:18px; border-left:#fff solid 1px; border-right:#fff solid 1px; background:#fff; color:#000; } .dot_left { float:left; cursor:pointer; } .dot_left a:link,a:visited,a:active { display:block; height:12px; width:20px; background:url(images/dot-pijl-links.png) no-repeat; } .dot_left a:hover { display:block; height:12px; width:20px; background:url(images/dot-pijl-links-black.png) no-repeat; } .dot_left a:active { display:block; height:12px; width:20px; background:url(images/dot-pijl-links.png) no-repeat left; } .dot_right { float:right; cursor:pointer; } .dot_right a:link,a:visited,a:active{ display:block; height:12px; width:20px; background:url(images/dot-pijl-rechts.png) no-repeat; } .dot_right a:hover { display:block; height:12px; width:20px; background:url(images/dot-pijl-rechts-black.png) no-repeat; } .dot_right a:active { display:block; height:12px; width:19px; background:url(images/dot-pijl-rechts.png) no-repeat left; } .bigprijs { position:relative; font-size:18px; color:#ec6e08; float:right; font-weight:bold; top:-2px; } .artnr { font-size:9px; color:#ec6e08; } .artnaam { font-size:12px; } |
In dot_left / dot_right zitten background image als pijl.
In IE worden ze zomaar bijgepakt na mouseout (nadat ze geklikt zijn) als background image en dat gaat het niet goed. In FF heb ik al beetje gefixed met alleen "background:...."
De php deel luidt:
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| <div class="site_inhoud_onder" id="slideshow_nav"> <div class="dot_pause" onclick="controlslide();" id="playbutton"></div> <div class="dot_left" onclick="slideleft();"><a href="#"></a></div> <div class="site_kader_buttonslide"> <div class="site_kader_buttonbody" id="buttonbody" style="width:<?=$dotwidth;?>px;"> <? for ($i=1;$i<=$countrows;$i++) { ?> <div class="dot_nummer" id="dot_<?=$i;?>"><a href="#" onclick="jumpslide(<?=$i;?>);"><?=$i;?></a></div> <? } ?> </div> </div> <div class="dot_right" onclick="slideright();"><a href="#"></a></div> </div> <div class="clearfloat"></div> </div> <div class="site_kader_aanbieding"></div> </div> |
Kan ik iets aan veranderen zodat de storing in css in IE weg is? Heb ik iets teveel erin gedaan?
Een hulp is welkom om code in CSS iets beter te maken
Het is bedoeling dat de kleine buttons onderaan correct teruggaan naar normale state, en niet dat ze ineens anders gaan doen (neemt dus codedeel over van dot_left)
Alvast dank.