Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IE Problem

Featured Replies

I need this desperately fixed.

http://www.gregmurkett.com/modernplant3/

 

Completely messes up in IE, then go on safari or firefox or chrome and it works perfectly..

 

_

Here's the code. Please don't say 'use divs instead of tables' because I know that, but i'm new to css and have a time limit on this project..

_

 

<html>
<head>
<title>Modern Plant Group : Civil Engineering, Haulage, Plant Hire, Groundworks, Crushing, Recycling</title>
<meta name="keywords" content=" civil engineering plant hire haulage groundworks recycling crushing bespoke" />
<script src="jquery.footer.js" type="text/javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<style type="text/css">
html {
background-color:#FFF;
color:#060;
padding:0px;
margin:0px;
font-family:Arial, helvetica, serif;


}

body {

text-align:center;
margin:0px;


}


#header {

width:100%;
min-width:100%;
height:138px;
background-image:url(images/HeaderBackground.jpg);

}

#quick1 {

margin-left:50px;

}
#style {
font-size:30px;
font-family:Arial;
color:#080;
}

#container {
	width:558px;
	height:145px;

}

#image1 {
	float:right;
}

#text1 {
	float:left;
	width:190px;
	height:inherit;
}	



</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="header">
<center>
<table id="Table_01" width="1057" height="890" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td colspan="9">
		<img src="images/layout_01.png" width="1045" height="138" alt=""></td>
	<td rowspan="11">
		</td>
</tr>
 </header>
<tr>
	<td colspan="9">
		<img src="images/Logo.jpg" width="1045" height="68" alt=""></td>
</tr>
<tr>
	<td colspan="2"><a href="civil.html"><img src="images/Civil-Engineering.jpg" alt="" width="173" height="168" border="0"></a></td>
	<td colspan="2"><a href="crushing.html"><img src="images/CrushingRecycling.jpg" alt="" width="177" height="168" border="0"></a></td>
	<td><a href="haulage.html"><img src="images/Haulage.jpg" alt="" width="175" height="168" border="0"></a></td>
	<td><a href="plant.html"><img src="images/PlantHire.jpg" alt="" width="175" height="168" border="0"></a></td>
	<td><a href="groundwork.html"><img src="images/Groundwork.jpg" alt="" width="175" height="168" border="0"></a></td>
	<td><a href="bespoke.html"><img src="images/Bespoke.jpg" alt="" width="168" height="168" border="0"></a></td>
	<td rowspan="2">
		<img src="images/layout_10.jpg" width="2" height="221" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/layout_11.jpg" width="3" height="53" alt=""></td>
	<td colspan="7">
		<img src="images/spacer.jpg" width="1040" height="53" alt=""></td>
</tr>
<tr>
	<td colspan="3"><a href="index.html"><img src="images/homerollover.png" width="182" height="35" border="0"></a>		  <p></p>
  </td>

       <td colspan="3" rowspan="4"><div id="quick1"><p>
<div id="style">ModernPlant</div>
	  <p>	Established in 1948 Modern Plant Group have built their reputation based on continual expansion of their fleet and fully qualified staff to service the needs of today's construction industry.<p>
Groundwork carried out with our own plant and labour<p>

		Haulage using our own vehicle fleet from 7.5 - 44 tons, rigid and articulated tippers.<p>

		Demolition using our own plant and machinery.<p>

		Crushing and re-cycling at our separate facility in Rugby.
	</span></div></td>
</tr>

<tr>
	<td colspan="3">
		<img src="images/layout_15.jpg" width="182" height="8" alt=""></td>
</tr>
<tr>
	<td colspan="3"><a href="health_and_safety.html"><img src="images/healthandsafety.jpg" width="182" height="39" border="0"></a><p><a href="contact.html"><img src="images/contactus copy.jpg" width="182" height="39" border="0"></a></td>
</tr>
<tr>

</tr>
<tr>
	<td colspan="3">
		<img src="images/layout_18.jpg" width="182" height="15" alt=""></td>
</tr>
<tr>
	<td colspan="3"><a href="mailto:info@modernplant.co.uk"><img src="images/emailus copy.jpg" alt="" width="182" height="54" border="0"></a></td>
</tr>
<tr>
	<td colspan="3"><a href="http://www.lji-mpg.co.uk/"><img src="images/layout_20.jpg" alt="" width="182" height="271" border="0"></a></td>
</tr>
<tr>
	<td>
		<img src="images/spacer.gif" width="3" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="170" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="9" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="168" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="175" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="175" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="175" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="168" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="2" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" width="12" height="1" alt=""></td>
</tr>

</table>


</body>
</html>

The green background seems to be going over the lower part of the page in IE but not in Firefox.

 

The first thing I noticed is that you haven't got a doctype, so I added one and edited the HTML tag to suit the XHTML doctype:-

<!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">

 

It immediately got rid of the green background lower down. Perhaps this is all that's required. A doctype tells the browser which standards to apply; otherwise it guesses and may guess wrong. Your meta tags are closed with /> instead of just > which suggests that a XHTML doctype is appropriate. Images should also be closed with /> for XHTML

<img 

src="images/Civil-Engineering.jpg" alt="" width="173" height="168" border="0"/>

 

Use a validator to check for errors:-

http://validator.w3.org/

I think the trouble is here:

<script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>

 

type="text/javascript"src="

 

Whitespace is missed.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.