website werkt niet op IE

Status
Niet open voor verdere reacties.

XuariX

Gebruiker
Lid geworden
4 nov 2008
Berichten
67
Hoi ik heb een HTML/CSS website gemaakt mbv dreamweaver, maar deze werkt totaal niet goed op Internet Explorer.

Ik heb hierover gegoogle't, maar ik krijg niet echt een uitkomst. Het zit hem waarschijnlijk in de css, maar wat?

mijn website is: http://www.excez.com

Code:
<?php ?>
<head>
<xml version="1.0" encoding="iso-8859-1"/>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<link href="css/page.css" rel="stylesheet" type="text/css" media="all" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Excez Design</title>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>

<body onLoad="MM_preloadImages('images/navi/homeh.jpg','images/navi/abouth.jpg','images/navi/worksh.jpg','images/navi/serviceh.jpg','images/navi/contacth.jpg','images/buttons/new.png','images/buttons/webdesign.png','images/buttons/logodesign.png','images/buttons/printdesign.png','images/buttons/others.png','images/diensten/1.printdesign2.png','images/diensten/2.webdesign2.png','images/diensten/3.logodesign2.png','images/diensten/4.other2.png','images/diensten/5.programming2.png','images/diensten/hosting2.png')">
<div class="navi">
<div class="shell">
    	<div id="logo">
        Excez Design
        </div>
        <div id="navi">
        	<? include('navi.php')?>
        </div>
    </div>
</div>
<? include('header2.php')?>
<div class="content">
	<div class="shell2">
    	<!---				BEGIN CONTENT			--->
        <center>
<table width="910px">
	<tr>
    	<td width="90%" valign="top" style="text-align:left">
        <p>&nbsp;</p>
        <div id="title">Welcome</div>
        	<div id="welcome">
            	<div id="img"><img src="images/logo.png" width="100" height="100" alt="images excez avaible soon" /></div>
                <div id="tekst"><font color="#FF3300">Excez Design</font> has been active in the designbranche since January 2010.<br /> We started making different society websites which has grown to an <font color="#FF3300">extended CMS System</font> for websites at August. Now our services are from <font color="#FF3300">huge quality</font>. See our <a href="portfolio.php">Portfolio</a> for our projects. </div>
             </div>
   	<div id="title">Services</div>
       	<div id="services">
        <table>
        	<tr>
            	<td>
       <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','images/diensten/1.printdesign2.png',1)"><img src="images/diensten/1.printdesign1.png" name="Image12" width="182" height="66" border="0" id="Image12" /></a>
       			</td>
                <td>
     <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','images/diensten/2.webdesign2.png',1)"><img src="images/diensten/2.webhost1.png" name="Image13" width="182" height="66" border="0" id="Image13" /></a>
       			</td>
                <td>
      <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','images/diensten/3.logodesign2.png',1)"><img src="images/diensten/3.logodesign1.png" name="Image14" width="182" height="66" border="0" id="Image14" /></a>
       			</td>
            </tr>
            <tr>
            	<td id="service">Our Print Design has amazing <font color="#0099FF">quality</font> and can be print  <font color="#0099FF">by us</font>.</td>
                <td id="service">Our web pages are Drawn by <font color="#00CC00">Creativity </font>and <font color="#00CC00">Passion</font></td>
                <td id="service">Our logos have <font color="#960A8B">Recognition Value</font> and reflect our Creativity agian.</td>
            </tr>
            <tr>
            	<td>
       <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','images/diensten/4.other2.png',1)"><img src="images/diensten/4.other1.png" name="Image15" width="182" height="66" border="0" id="Image15" /></a>
       			</td>
                <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','images/diensten/5.programming2.png',1)"><img src="images/diensten/5.programming1.png" name="Image16" width="182" height="66" border="0" id="Image16" /></a>
                </td>
                <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','images/diensten/hosting2.png',1)"><img src="images/diensten/hosting1.png" name="Image17" width="182" height="66" border="0" id="Image17" /></a>
                </td>
            </tr>
            <tr>
            	<td id="service">We also make: <font color="#FF00FF">Movie intros</font>, <font color="#FF00FF"> flash animations</font> and <font color="#FF00FF">3D vision</font>.</td>
                <td id="service">Our Programmers give to your Web Pages last finish, with our slogan: <font color="#A6A202">Cheap</font> and <font color="#A6A202">Amazing</font>. </td>
                <td id="service">We also offer <font color="#CC0000">Hosting</font>Advances. No matter whether<font color="#CC0000"> Gameserver </font>or <font color="#CC0000"> Webspace</font> .</td>
            </tr>
     </table>
     </div>
     <p>&nbsp;</p>
     <center><img src="images/lijn.jpg" width="599" height="5" /></center>
	 <p>&nbsp;</p>
     <div id="images">
     	<a href="images/images/luganomeer2.jpg" rel="lightbox" title="Lugomeer.nl"><img id="een" src="images/images/luganomeer.jpg" width="225" height="160" /></a><a href="images/images/luganomeer2.jpg" rel="lightbox" title="Lugomeer.nl"><img id="twee" src="images/images/luganomeer.jpg" width="225" height="160" /></a><a href="images/images/luganomeer2.jpg" rel="lightbox" title="Lugomeer.nl"><img id="drie" src="images/images/luganomeer.jpg" width="225" height="160" /></a>
     </div>
     </td>
     
     			<!--		START SITEBAR		-->
                
       <td width="10%" valign="top">
       <div id="title">Headlines</div>
       
       <!--			START HEADLINES		-->
       
       		<h3 id="een">New Website - Luganomeer.nl</h3>
            	<? include('sc_headlines.php')?>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
      <div id="title">Recent Projects</div>
      <?php include('sc_projects.php')?>     
     
     <!--		END SITEBAR/ CONTENT		-->
      </td>
</tr></table></center>
<div class="empty">&nbsp;</div>
</div>
</div>
<div class="footer">
<div class="shell">
		<div id="tekst">
        Excez.com | all rights reserved
        </div>
    	<div id="top">
      <a href="#"><img src="images/top.jpg" width="35" height="28" /></a>
      </div>
  </div>
</div>

</body>
</html>

Code:
@charset "utf-8";
/* CSS Document */

* { padding:0px; margin:0px;}
img a { border:none;}
body { background:#000; color:#000;}
body a { color:#09F; text-decoration:underline;}
body a:hover { color:#06F; text-decoration:none;}
.shell { width:1000px; margin:auto;}
.shell2 { width:1200px; margin:auto; background:#FFF;}
.empty { height:30px; background:#FFF;}
.navi { background:url(../images/bg/navi.jpg); width:1200px; margin:auto; height:53px;}
#tabel td { height:100px;}

#logo { float:left; color:#FFF; padding:5px 0px 0px 10px;}

#navi { float:right; width:557px;}
#navi ul { list-style:none; float:left;}
#navi ul li { float:left; padding-right:9px;}

.header { background:url(../images/bg/header.jpg); width:1200px; margin:auto; height:300px;}
.header #special #bg { width:1200px; height:300px; background:url(../images/bg/header.jpg); margin:auto;}
.header #special { width:600px; margin:auto;}
.header #special #img { float:left; padding-right:20px; }
.header #special #tekst { float:left;}
.header #special #tekst h1#een { color:#FF0;}
.header #special #tekst h1#twee { color:#090;}
.header #special #tekst h1#drie { color:#612862;}
.header #special #tekst h1#vier { color:#06F;}
.header #special #tekst h1#vijf { color:#F0F;}
.header #special #tekst h2 { color:#999; font-size:15px;}
.special { background:url(../images/bg/specialbuttons.jpg); width:1200px; margin:auto; height:68px;}
.special .shell { width:1000px; margin:auto;}
.special #button { width:1000px; margin:auto;}
.special ul { list-style:none; float:left; padding:10px 0px 0px 140px;}
.special ul li { float:left; padding-right:150px;}

.special #tekst { width:1000px; margin:auto; color:#FFF; font-family:"berlin Sans FB";}
.special #tekst ul { list-style:none; float:left; padding:0px 0px 0px 110px;}
.special #tekst ul li { float:left; padding:0px;}
.special #tekst ul li#een {float:left; padding-right:60px;}
.special #tekst ul li#twee {float:left; padding-right:100px;}
.special #tekst ul li#drie {float:left; padding-right:90px;}
.special #tekst ul li#vier {float:left; padding-right:108px;}
.special #tekst ul li#vijf {float:left; padding-right:70px;}

#content { background:url(../images/bg/content.jpg) repeat; width:900px;}

.content #welcome { width:670px; padding-top:20px; height:120px;}
.content #welcome #img { float:left;}
.content #welcome #tekst { float:left; padding-left:30px; width:500px;}
.content #services {width:700px;}
.content #services img { padding:10px 10px 10px 10px;}
.content #services #service { padding-left:10px; font-size:12p; width:200px;}



.footer { background:url(../images/bg/footer.jpg); width:1200px; margin:auto; height:119px;}
.footer #tekst { width:200px; margin:auto; color:#666; height:58px; padding-top:20px;}
.footer #top { width:35px; margin:auto;}
#footer { width: 1200px; height: 119px; position: relative; background: url(../images/bg/footer.jpg) no-repeat 0 0; margin:auto;}
#footer #tekst { width:200px; margin:auto; color:#666; height:58px; padding-top:20px;}
#footer #top { width:35px; margin:auto;}

#title { background:url(../images/title.jpg) no-repeat; width:241px; height:32px; color:#FFF; padding:5px 0px 0px 5px;}
h3#een { color:#09F; font-size:16px;}
h3#twee { color:#0C0; font-size:16px;}
h3#drie { color:#F0F; font-size:16px;}
#headline { padding:5px 0px 0px 5px;}
#headline img { padding:0px 5px 0px 0px;}

#images img { margin-right:2px;}
#images img#een { border:solid thin #FC0;}
#images img#twee { border:solid thin #06F;}
#images img#drie { border:solid thin #F0F;}

#element_1_2 { border:solid thin #06F;}
#element_1_3 { border:solid thin #06F;}
#element_2 { border:solid thin #06F;}
#element_4 { border:solid thin #06F;}

.right_port {width:300px; margin:0; padding:0 10px auto auto; float:left;}
.right_port h2 {  font: normal 30px Arial, Helvetica, sans-serif; color:#000; padding:30px 10px; margin:0;}
.right_port a { color:#09F; text-decoration:none;}
.right_port a:hover { color:#999; text-decoration:underline;}
.right_port img { border:solid medium #808000;}
.right_port a:hover img { border:solid medium #9F9F00;}
 
dat is raar. Ik heb namelijk op meerdere pc's gekeken van mij klasgenoten, maar ook daar hetzelfde probleem. Waar kan ik zien welke IE heb? Als deze namelijk alleen op IE 9 het normaal doet , zal ik dit moeten vermelden op mijn website.
 
de vraag is heb je win xp of hoger (ie 9 werkt namelijk niet op xp en zit nog steeds in beta voor zover ik weet wat dus weer betekentd dat je die zelf moet gaan downloaden en niet automatisch binnen krijgt)
 
Laatst bewerkt:
Ik heb gewoon windows 7 en ik zie mijn website helemaal anders dan dat ik deze in chrome bekijk.
 
Ik zou twee dingen doen, als de donder <xml version="1.0" encoding="iso-8859-1"/> verwijderen, je presenteert immers html, géén XML. Vervolgens moet bovenaan iedere pagina een doctype komen te staan, en de openende <html> tag.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="nl">

Doe je dit alles niet dan zullen browsers in quircksmode vervallen, wat onverwachte gevolgen kan hebben.
 
Dankje het werkt nu goed. Ik had de <xml> tag erin zitten, omdat dit vermeld stond op een ander forum, maar vergeten weg te halen toen het niet werkten.

Bedankt!
 
@maarten2001, gebruikers kunnen op Helpmij.nl niet zelf hun vragen sluiten en ook moderators zullen dit alleen doen als we daar reden toe zien.

Als je denkt dat er reden is om een topic te sluiten, kun je dit kenbaar maken aan een moderator door op de "Meld misbruik" knop te klikken.
 
Topic starters kunnen enkel alleen hun vraag op "Opgelost" zetten. Echter is het niet nodig dit al gebruiker te verzoeken. Na twee weken geen reactie en de topic staat nog op "Niet opgelost", krijgt men een email van onze "Watchdog".
 
dat wou ik zeggen ik zet alle topics netjes op opgelost...
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan