[Opgelost] html css verschillen IE Chrome en FF
Posted: Wed Feb 15, 2012 5:58 pm
Ok ik weet het ik ben een redelijke nitwit op het gebied van html css etc. Ik hoop dat iemand mij de juiste richting op kan sturen.
Iemand waar ik een site voor maak wil een bestaande template gebruiken, echter deze is opgebouwd uit HTML tables, nu wil ik deze site poren naar CMSMS en dat is geen probleem. Echter op voorhand ben ik een image rotator aan het inbouwen, werkt op zich prima javascript werkt etc. Maar nu komt het op de styling aan in FF geen probleem ziet er goed uit, In Chrome schuift de slideshow 1 pixel op en in IE nog veel meer.
Ik ben uren bezig geweest met margin: 0 auto; text-aligns divs en noem maar op maar ik loop letterlijk vast.
Ik heb ook geprobeerd om tables om te zetten naar divs etc. maar ben het spoor echt bijster.
Wie kan mij op het juiste spoor zetten... eeehh ik weet dat ik een rommeltje heb gemaakt van de html en CSS maar zet 'm toch hieronder...
Website: http://goo.gl/XY3qR
Iemand waar ik een site voor maak wil een bestaande template gebruiken, echter deze is opgebouwd uit HTML tables, nu wil ik deze site poren naar CMSMS en dat is geen probleem. Echter op voorhand ben ik een image rotator aan het inbouwen, werkt op zich prima javascript werkt etc. Maar nu komt het op de styling aan in FF geen probleem ziet er goed uit, In Chrome schuift de slideshow 1 pixel op en in IE nog veel meer.
Ik ben uren bezig geweest met margin: 0 auto; text-aligns divs en noem maar op maar ik loop letterlijk vast.
Ik heb ook geprobeerd om tables om te zetten naar divs etc. maar ben het spoor echt bijster.
Wie kan mij op het juiste spoor zetten... eeehh ik weet dat ik een rommeltje heb gemaakt van de html en CSS maar zet 'm toch hieronder...
Website: http://goo.gl/XY3qR
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ouadamlilfastfood.nl</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<link href="style.css" rel="stylesheet" type="text/css"/>
<__script__ type="text/javascript" src="js/jquery-1.3.2.min.js"></__script>
<__script__ type="text/javascript" src="js/jquery.cycle.all.min.js"></__script>
<__script__ type="text/javascript">
$(document).ready(function(){
$('#slideshow').cycle({
fx: 'fade',
speed: '2000',
timeout: 5600,
pager: '#slider_nav',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#slider_nav li:eq(' + (idx) + ') a';
}
});
});
</__script>
</head>
</__body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/index_01.gif" width="689" height="121" alt=""/></td>
<td width="311" valign="bottom" background="images/index_02.gif"><table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td height="96"><table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td width="6%"><img src="images/home.gif" width="12" height="11" alt=""/></td>
<td width="24%"><a href="#" class="white-link-underline">to main page </a></td>
<td width="7%"><img src="images/mail.gif" width="12" height="9" alt=""/></td>
<td width="21%"><a href="#" class="white-link-underline">send e-mail</a> </td>
<td width="6%"><img src="images/map.gif" width="11" height="12" alt=""/></td>
<td width="36%"><a href="#" class="white-link-underline">site map</a> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/index_03.jpg" width="1000" height="362" alt=""/></td>
</tr>
<div id="slider">
<!--start slideshow -->
<div style="position: absolute;" id="slideshow">
<div style="position: absolute; top: 0px; left: 0px; display: block; z-index: 4; opacity: 1; width: 1000px; height: 362px;" class="slider-item"><a href="#"><img src="images/header1.png" alt="icon" border="0" height="362" width="1000"/></a></div>
<div style="position: absolute; top: 0px; left: 0px; display: none; z-index: 3; opacity: 0; width: 1000px; height: 362px;" class="slider-item"><a href="#"><img src="images/header3.png" alt="icon" border="0" height="362" width="1000"/></a></div>
<div style="position: absolute; top: 0px; left: 0px; display: none; z-index: 3; opacity: 0; width: 1000px; height: 362px;" class="slider-item"><a href="#"><img src="images/header3.png" alt="icon" border="0" height="362" width="1000"/></a></div>
</div>
<!--end #slideshow -->
<div class="controls-center">
<div id="slider_controls">
<ul id="slider_nav">
<li><a class="activeSlide" href="#"></a></li>
<!--Slide 1 -->
<li><a class="" href="#"></a></li>
<!--Slide 2 -->
<li><a class="" href="#"></a></li>
<!--Slide 3 -->
</ul>
</div>
</div>
</div>
</div>
<div class="clr"></div>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/index_04.gif" width="91" height="63" alt=""/></td>
<td><a href="#"><img src="images/index_05.gif" alt="" width="147" height="63" border="0"/></a></td>
<td><a href="#"><img src="images/index_06.gif" alt="" width="133" height="63" border="0"/></a></td>
<td><a href="#"><img src="images/index_07.gif" alt="" width="133" height="63" border="0"/></a></td>
<td><a href="#"><img src="images/index_08.gif" alt="" width="119" height="63" border="0"/></a></td>
<td><a href="#"><img src="images/index_09.gif" alt="" width="124" height="63" border="0"/></a></td>
<td><a href="#"><img src="images/index_10.gif" alt="" width="142" height="63" border="0"/></a></td>
<td><img src="images/index_11.gif" width="111" height="63" alt=""/></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/index_12.gif" width="1000" height="32" alt=""/></td>
</tr>
</table>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="709" valign="top" bgcolor="#3B5A00"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#3B5A00"><table width="100%" border="0" cellspacing="15" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="3%"><img src="images/index_15.gif" width="18" height="18" alt=""/></td>
<td width="97%"><h2>Welcome to our web site</h2></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="3%"><img src="images/index_25.jpg" width="56" height="85" alt=""/></td>
<td width="97%"><strong>Lorem ipsum dolor sit amet, contuer adipiscingelit</strong><br>
sed diamaccusantium doloremque laudantium, totam rem aperiam eaquep.<a href="#"> Store veritatis et quasi architecto beatae vitae dicta sunt, explicabo nemo enim</a> ipsam voluptatem, quia voluptas sit, aspernatur aut odit aut fugit. Duis autem vel eum iriure dolor in he<strong>ndrerit in vvdolore eu feugiat n</strong>ulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit.</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#3B5A00"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="94%" bgcolor="#446800"><table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="3%"><img src="images/index_36.gif" width="18" height="18" alt=""/></td>
<td width="97%"><h2>Service</h2></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="34%"><a href="#">• Lorem Ipsum has been the <br>
• Standard dummy text ever<br>
• Make a type specimen book<br>
• It has survived not only five</a></td>
<td width="66%"><strong>Lorem ipsum dolor sit amet, contuer adipiscingelit</strong><br>
sed diamaccusantium doloremque laudantium, totam rem aperiam eaquep. Store veritatis et quasi architecto beatae vitae dicta sunt, <a href="#">explicabo nemo enim ipsam voluptatem, quia in hendrerit</a> in vvdolore eu feugiat nulla facilisis at vero eros et accumsan.</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="6%"><img src="images/index_34.gif" width="23" height="147" alt=""/></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#3B5A00"> </td>
</tr>
</table></td>
<td width="262" valign="top" bgcolor="#355000"><table width="100%" border="0" cellspacing="15" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="3%"><img src="images/index_17.gif" width="18" height="18" alt=""/></td>
<td width="97%"><h2>Special Offers!</h2></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="95%"><strong>Lorem ipsum dolor sit met</strong><br>
sed diamaccusantium doloremque<br>
totam rem aperiam eaquep.</td>
<td width="5%"><img src="images/index_22.jpg" width="53" height="50" alt=""/></td>
</tr>
</table></td>
</tr>
<tr>
<td><a href="#"><img src="images/index_29.gif" alt="" width="72" height="16" border="0"></a></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="3%"><img src="images/index_17.gif" width="18" height="18" alt=""/></td>
<td width="97%"><h2>About us</h2></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="9%"><img src="images/index_40.jpg" width="63" height="42" alt=""/></td>
<td width="91%"><strong>Lorem ipsum dolor sit met</strong><br>
sed diamaccusantium doloremque<br>
totam rem aperiam eaquep.</td>
</tr>
</table></td>
</tr>
<tr>
<td><a href="#"><img src="images/index_29.gif" alt="" width="72" height="16" border="0"/></a></td>
</tr>
</table></td>
<td width="29" valign="top" bgcolor="#3B5A00"> </td>
</tr>
</table></td>
</tr>
</table>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="61" background="images/index_44.gif">
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="65%" class="p1"><a href="#" class="white-link-underline"><strong>Terms of Use</strong></a><strong> | </strong><a href="#" class="white-link-underline"><strong>Privacy Statement </strong></a></td>
<td width="35%" align="center">© 2008 Your Corporation. All rights reserved</td>
</tr>
</table></td>
</tr>
</table>
<__body>
</__html>