IE6/IE7 issue

Hi,

I’m very new to website design, just starting building my first site. I’ve managed to get most things with the layout working okay, but having issues with my footer-right section (About Us page links etc).

In IE8, IE9, FF, Chrome, Safari and Opera the site looks fine, however in IE6 and IE7, the footer-right section appears under the centre content section, right under the “simply complete the online form on this page for a free assessment and callback. This is a completely free service.” text.

Sorry, not sure if this issue needs posting in the HTML or CSS forum!

Thanks,
Freeze.

Hi frozenwaste. Welcome to SitePoint. :slight_smile:

There are better ways to approach this, like wrapping both footer divs together in their own container. But for a quick fix, you could try this:

.footer2 {clear:right;}

You may need to add extra top margin or padding, though.

PS: Thread moved to CSS forum. :slight_smile:

Hi Ralph,

Thanks for your help, tried the quick fix, it helps a bit, now the .footer 2 text on IE7 has moved below the third column but not low enough like .footer 1 and on IE6 the same but the text also wraps a bit under the content in column 2. Screenshots attached.

I’ve tried increasing the top padding to push the text further down but then this also pushes it down below the .footer 1 text on all the other browsers!

Do I have to wrap them in their own divs like you say? If so, any ideas on how to achieve this?

Thanks,

Peter.

You need to wrap those three floated columns in a div and then make it contain its floated children otherwise you can’t follow with two more floats because IE6/7 won’t clear all three floats.


.main {
    width:100%;
    overflow:hidden;
}

You also need to move the html comments as they are tripping the duplicate character bug in IE6. Just move them inside the closing div of the float and not outside and there’s no need to say <!-- start content –> when the div says <div class=“content”… because its obvious what it is.

There’s no need to document every closing div either. Just do it for the main sections or when there is a lot of content and the end isn’t obvious.

Here’s the working code with the css only in the head testing only.


<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link href="style.css" rel="stylesheet" type="text/css" />
<style>
@charset "utf-8";
body {
    font-size:16px;
    font: Verdana, Arial, Helvetica, sans-serif;
    background: #FFFFFF;
    margin: 0;
    padding: 0;
    color: #000;
}
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
    padding: 0;
    margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
    padding-right: 15px;
    padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
    border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
    color: #42413C;
    text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
    color: #6E6C64;
    text-decoration: none;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
    text-decoration: none;
}
/* ~~ This fixed width container surrounds all other divs ~~ */
.container {
    width: 960px;
    background: #FFFFFF;
    margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}
/* ~~ The header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo. ~~ */
.header {
    background: #FFFFFF;
}
/* ~~ These are the columns for the layout. ~~ 

1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.

3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.

4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.

*/
.sidebar1 {
    float: left;
    width: 300px;
    background: #F1F1F1;
    padding-bottom: 10px;
    border: 1px solid #000000;
    font-size: 14px;
}
.content {
    width: 328px;
    float: left;
}
.content2 {
    width: 628px;
    float: left;
}
.sidebar2 {
    float: right;
    width: 300px;
    background: #FFFFFF;
}
.footer1 {
    float: left;
    font-size: 10px;
    width: 640px;
    background: #FFFFFF;
    padding: 10px 0;
    position: relative;/* this gives IE6 hasLayout to properly clear */
    clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
}
.footer2 {
    float: right;
    font-size: 12px;
    width: 280px;
    background: #FFFFFF;
    padding: 10px 0;
    position: relative;/* this gives IE6 hasLayout to properly clear */
    clear:right;
}
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
    padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}
/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
    list-style: none; /* this removes the list marker */
    border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
    margin-bottom: 15px; /* this creates the space between the navigation on the content below */
}
ul.nav li {
    border-bottom: 1px solid #666; /* this creates the button separation */
}
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
    padding: 5px 5px 5px 15px;
    display: block; /* this gives the anchor block properties so it fills out the whole LI that contains it so that the entire area reacts to a mouse click. */
    width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
    text-decoration: none;
    background: #C6D580;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
    background: #ADB96E;
    color: #FFF;
}
/* ~~ The footer styles ~~ */
.footer {
    padding: 10px 0;
    background: #FFFFFF;
    position: relative;/* this gives IE6 hasLayout to properly clear */
    clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
}
/* ~~ Miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
    float: left;
    margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the .container) if the .footer is removed or taken out of the .container */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
/* ~~ The Form styles ~~ */
.button {
    width: 200px;
    background: #333365;
    color: #FCE645;
    border: 1px solid #555555;
    font: 14px/31px Arial;
    height: 30px;
    margin: 0 10px 10px 0;
    padding: 0 0 2px;
    cursor: pointer;
    font-weight: bold;
}
.button:hover {
    background: #464688;
    color: #FCE645;
}
.formtitle {
    background:#333365;
    color:#FCE645;
    font-size: 16px;
}
.formselect {
    width:154px;
}
/* ~~ Navbar ~~ */
#navigation {
    height: 43px;
}
#navigation ul {
    list-style: none;
}
#navigation ul li {
    float: left;
    height: 43px;
    font-size: 18px;
    line-height: 43px;
    font-weight: bold;
    text-transform: uppercase;
}
#navigation ul li a {
    float: left;
    height: 43px;
    color: #000;
    padding: 0 10px;
}
#navigation ul li a:hover, #navigation ul li a.active {
    color: #ff0000;
    text-decoration: none;
}
/* ~~ VDaemon ~~ */
.error {
    color: #AA0000
}
.controlerror {
    background-color: #ffffdd;
    border: 1px solid #AA0000;
    width:154px;
}
.control {
    width:146px;
}
.main {
    width:100%;
    overflow:hidden;
}
</style>
<script type="text/JavaScript" src="http://example.com/vdaemon/vdaemon.js"></script>
<script type="text/JavaScript">
<!--//--><![CDATA[//><!--

var f,v,i,l,s;

f=new Object(); f.name="data_form"; f.disablebuttons="none"; f.validationmode="onsubmit"; f.validators=new Array(); f.labels=new Array(); f.summaries=new Array(); v=new Array(); v[0]=f; i=1;
v[i]=new Object(); v[i].type="required"; v[i].name="FirstNameReq"; v[i].errmsg="First name required"; v[i].fcontrol="name1"; v[i].control=new Array(); v[i].control[v[i].control.length]="name1"; v[i].minlength=1; v[i].maxlength=-1; v[i].negation=false; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="regexp"; v[i].name="FirstNameRegExp"; v[i].errmsg="Invalid first name"; v[i].fcontrol="name1"; v[i].control=new Array(); v[i].control[v[i].control.length]="name1"; v[i].required=false; v[i].negation=false; v[i].clientregexp="/^[a-z\\'\\\\s]*$/i"; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="required"; v[i].name="LastNameReq"; v[i].errmsg="Last name required"; v[i].fcontrol="name2"; v[i].control=new Array(); v[i].control[v[i].control.length]="name2"; v[i].minlength=1; v[i].maxlength=-1; v[i].negation=false; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="regexp"; v[i].name="LastNameRegExp"; v[i].errmsg="Invalid last name"; v[i].fcontrol="name2"; v[i].control=new Array(); v[i].control[v[i].control.length]="name2"; v[i].required=false; v[i].negation=false; v[i].clientregexp="/^[a-z\\'\\\\s]*$/i"; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="required"; v[i].name="EmailReq"; v[i].errmsg="Email address required"; v[i].fcontrol="email"; v[i].control=new Array(); v[i].control[v[i].control.length]="email"; v[i].minlength=1; v[i].maxlength=-1; v[i].negation=false; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="format"; v[i].name="Email"; v[i].errmsg="Invalid email address"; v[i].fcontrol="email"; v[i].control=new Array(); v[i].control[v[i].control.length]="email"; v[i].required=false; v[i].negation=false; v[i].format="email"; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="required"; v[i].name="TelNumReq"; v[i].errmsg="Telephone number required"; v[i].fcontrol="Telephone-number"; v[i].control=new Array(); v[i].control[v[i].control.length]="Telephone-number"; v[i].minlength=1; v[i].maxlength=-1; v[i].negation=false; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="regexp"; v[i].name="TelNumRegExp"; v[i].errmsg="Invalid telephone number"; v[i].fcontrol="Telephone-number"; v[i].control=new Array(); v[i].control[v[i].control.length]="Telephone-number"; v[i].required=false; v[i].negation=false; v[i].clientregexp="/^0[0-9]{9,}$/"; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="required"; v[i].name="DiagnosisTypeReq"; v[i].errmsg="Diagnosis required"; v[i].fcontrol="ans_0"; v[i].control=new Array(); v[i].control[v[i].control.length]="ans_0"; v[i].minlength=1; v[i].maxlength=-1; v[i].negation=false; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="required"; v[i].name="DiagDateTypeReq"; v[i].errmsg="Date diagnosed required"; v[i].fcontrol="ans_1"; v[i].control=new Array(); v[i].control[v[i].control.length]="ans_1"; v[i].minlength=1; v[i].maxlength=-1; v[i].negation=false; v[i-1].validators[v[i-1].validators.length]=v[i];
v[i]=new Object(); v[i].type="required"; v[i].name="ExposureReq"; v[i].errmsg="Exposure location required"; v[i].fcontrol="ans_3"; v[i].control=new Array(); v[i].control[v[i].control.length]="ans_3"; v[i].minlength=1; v[i].maxlength=-1; v[i].negation=false; v[i-1].validators[v[i-1].validators.length]=v[i];
l=new Object(); l.id="VDaemonID_1"; l.oktext="First name"; l.errtext="First name"; l.okclass=""; l.errclass="error"; l.validators=new Array("FirstNameReq","FirstNameRegExp"); l.cerrclass="controlerror"; l.cokclass=new Object(); l.cokclass[0]="control"; f.labels[f.labels.length]=l;
l=new Object(); l.id="VDaemonID_2"; l.oktext="Last name"; l.errtext="Last name"; l.okclass=""; l.errclass="error"; l.validators=new Array("LastNameReq","LastNameRegExp"); l.cerrclass="controlerror"; l.cokclass=new Object(); l.cokclass[1]="control"; f.labels[f.labels.length]=l;
l=new Object(); l.id="VDaemonID_3"; l.oktext="Email"; l.errtext="Email"; l.okclass=""; l.errclass="error"; l.validators=new Array("EmailReq","Email"); l.cerrclass="controlerror"; l.cokclass=new Object(); l.cokclass[2]="control"; f.labels[f.labels.length]=l;
l=new Object(); l.id="VDaemonID_4"; l.oktext="Telephone number"; l.errtext="Telephone number"; l.okclass=""; l.errclass="error"; l.validators=new Array("TelNumReq","TelNumRegExp"); l.cerrclass="controlerror"; l.cokclass=new Object(); l.cokclass[3]="control"; f.labels[f.labels.length]=l;
l=new Object(); l.id="VDaemonID_5"; l.oktext="Diagnosis"; l.errtext="Diagnosis"; l.okclass=""; l.errclass="error"; l.validators=new Array("DiagnosisTypeReq"); l.cerrclass="controlerror"; l.cokclass=new Object(); l.cokclass[5]="formselect"; f.labels[f.labels.length]=l;
l=new Object(); l.id="VDaemonID_6"; l.oktext="Date diagnosed"; l.errtext="Date diagnosed"; l.okclass=""; l.errclass="error"; l.validators=new Array("DiagDateTypeReq"); l.cerrclass="controlerror"; l.cokclass=new Object(); l.cokclass[6]="formselect"; f.labels[f.labels.length]=l;
l=new Object(); l.id="VDaemonID_7"; l.oktext="Where did the exposure occur?"; l.errtext="Where did the exposure occur?"; l.okclass=""; l.errclass="error"; l.validators=new Array("ExposureReq"); l.cerrclass="controlerror"; l.cokclass=new Object(); l.cokclass[8]="formselect"; f.labels[f.labels.length]=l;
s=new Object(); s.id="VDaemonID_8"; s.headertext="Please correct the following errors:"; s.displaymode="list"; s.showsummary=true; s.messagebox=false; f.summaries[f.summaries.length]=s;
vdAllForms[f.name]=f;

//--><!]]>
</script>
</head>
<body>
<!-- begin .container -->
<div class="container">
    <!-- begin .header -->
    <div class="header"><a href="#"><img src="http://example.com/images/logo.png" alt="Asbestos Claim" name="Asbestos Claim" width="945" height="166" id="Insert_logo" style="background: #C6D580; display:block;" /></a> </div>
    <div id="navigation">
        <ul>
            <li><a href="http://www.example.com">Home</a></li>
            <li><a href="http://www.example.com/asbestos-compensation.php">Asbestos Compensation</a></li>
            <li><a href="http://www.example.com/asbestos-diseases.php">Asbestos Related Diseases</a></li>
            <li><a href="http://www.example.com/asbestos-claims.php">Asbestos Claim Process</a></li>
        </ul>
        <div class="cl">&nbsp;</div>
    </div>
    <!-- end .header -->
    <!-- begin .sidebar1 -->
    <div class="main">
        <div class="sidebar1">
            <form class="form" method="post" action="http://www.yourdomain.com/software_directory/addlead.php" name="data_form" id="data_form">
                <table class="formbox" border="0" >
                    <tr>
                        <td colspan="2" align="center" class="formtitle">Free Assessment and Callback</td>
                    </tr>
                    <tr>
                        <td width="500"><label for="name1" id="VDaemonID_1">First name</label>
                        </td>
                        <td><input type="text" class="control" name="name1" />
                        </td>
                    </tr>
                    <tr>
                        <td><label for="name2" id="VDaemonID_2">Last name</label>
                        </td>
                        <td><input type="text" class="control" name="name2" />
                        </td>
                    </tr>
                    <tr>
                        <td><label for="email" id="VDaemonID_3">Email</label>
                        </td>
                        <td><input name="email" type="text" class="control" id="email" />
                        </td>
                    </tr>
                    <tr>
                        <td><label for="Telephone-number" id="VDaemonID_4">Telephone number</label>
                        </td>
                        <td><input type="text" class="control" name="Telephone-number" />
                        </td>
                    </tr>
                    <tr>
                        <td>Mobile number</td>
                        <td class="control"><input type="text" class="control" name="Mobile-number" /></td>
                    </tr>
                    <script  type="text/javascript">
  max[0] = 10;         
  min[0] = 1;         
</script>
                    <tr>
                        <td align="left"><label for="ans_0[]" id="VDaemonID_5">Diagnosis</label>
                        <td><select class="formselect" name="ans_0[]" id="ans_0[]">
                                <option value="" selected="selected">Please select</option>
                                <option value="Ind Disease - Asbestosis">Asbestosis</option>
                                <option value="Ind Disease - Pleural thickening">Pleural thickening</option>
                                <option value="Ind Disease - Mesothelioma">Mesothelioma</option>
                                <option value="Ind Disease - Lung Cancer">Lung Cancer</option>
                                <option value="Ind Disease - Other">Other</option>
                            </select>
                        </td>
                    </tr>
                    <script  type="text/javascript">
  max[1] = 10;         
  min[1] = 1;         
</script>
                    <tr>
                        <td align="left"><label for="ans_1[]" id="VDaemonID_6">Date diagnosed</label>
                        <td><select class="formselect" name="ans_1[]" id="ans_1[]">
                                <option value="" selected="selected">Please select</option>
                                <option value="Diagnosed within the last 6mths">Within the last 6mths</option>
                                <option value="Diagnosed within the last year">Within the last year</option>
                                <option value="Diagnosed within the last 3yrs">Within the last 3yrs</option>
                                <option value="Diagnosed more than 3yrs ago">More than 3yrs ago</option>
                            </select>
                        </td>
                    </tr>
                    <script  type="text/javascript">
  max[2] = 10;         
  min[2] = 1;         

</script>
                    <tr>
                        <td>Brief description of your claim</td>
                        <td><textarea class="control" style="overflow:hidden" rows="5" name="ans_2[]"></textarea></td>
                    </tr>
                    <script  type="text/javascript">
  max[3] = 10;         
  min[3] = 1;         
</script>
                    <tr>
                        <td align="left"><label for="ans_3[]" id="VDaemonID_7">Where did the exposure occur?</label>
                        <td><select class="formselect" name="ans_3[]" id="ans_3[]">
                                <option value="" selected="selected">Please select</option>
                                <option value="England">England</option>
                                <option value="Wales">Wales</option>
                                <option value="Scotland">Scotland</option>
                                <option value="Northern Ireland">Northern Ireland</option>
                                <option value="Other">Other</option>
                                <option value="Not sure">Not sure</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>Callback time</td>
                        <td><select class="formselect" name="Callback-time" id="Callback-time">
                                <option value="Now" selected="selected">Now</option>
                                <option value="Anytime">Anytime</option>
                                <option value="Morning">Morning</option>
                                <option value="Afternoon">Afternoon</option>
                                <option value="Evening">Evening</option>
                            </select></td>
                    </tr>
                    <input type="hidden" name="ans_4[]" value="n/a" />
                    <input type="hidden" name="ans_5[]" value="n/a" />
                    <input type="hidden" name="campaign" value="124" />
                    <input type="hidden" name="cvfid" value="6398db7e0385a38c6710d0fd64e2706a" />
                    <input type="hidden" name="exact" value="1" />
                    <input type="hidden" name="Referrer" value="Visionary Markets" />
                    <tr>
                        <td colspan="2"><div align="center">
                                <input type="submit" value="Call Me Back" class="button" />
                            </div>
                    </tr>
                    <!-- <input type="hidden" name="ans" value="Array"> -->
                </table>
                <p>
                <div class="error" id="VDaemonID_8" style="display:none"></div>
                </p>
                <div style="display:none">
                    <input type="hidden" name="VDaemonValidators" value="95e27c632208467a01285f114558e9f2eNq1Vm9vojAc/i4kvCIqFAuze+XGTJZctmVbzL1bqnTYHLSsLWZ3xu9+LeDkhmfQsTdC+2sfnj/+CvfI85F1PY/mOH0smKIZsdAEbaT+seSD4IoveWpdShQia6VUjkajeiQjnmHKzAh4yMJyQaTicrBMMc2GXCTD4pcpQgOEE2LuPRdZI8pi8j7MV/muOhWJNPe6uMOesuWKi8akWTfjIjP3mlqMFX55rceBrj0ReRuVXPQoB+tgAcEbgSF2Qei6HCTiImC+X5IAev08wiTj7AGrVbnLEFvH5dzuuqOoAfEdj4nmiJHnoQ1F7uW9ofkzS03BQr5xzFC8w1klVDuyTtc4pZppJcTATJUSJczYbBgji+3Wa04zKqQyAI/kzczpsvqdl+ULZAnyVlBB4tqhJWdKVMnACsarH0KEyGRSgk5qUMfUnT3CtvQQPxWLD10u2my3FHlfFQY/C4P/CEtu3vNP2gKjLSHVfFdl2pBbVrJwXj8UttB87aoNZja8seEVHvyxQWjDa2nDyAZTG4x1jR5zA/Qes17/A38lZXDQC4PZPWS/95DHTVlnZXxAV7jPOMXfFfG4r4j/E2LDJV250SdmWgffsoGYYssGAOptDo5jQaTsFDHsK+JGgua4xao1aDJvqIU17VOkevvESVPyMaVB3z2qn/NM0rsiO7FBvaDcSPIVZ2TAimxBRFsibCxyqkWdAg1771mw13lax3YTOt5nqT4JPtLEru5idzAx7RteTWxwbYdR1cXHzLno/ZzW1YjihHFJ5bO25PTDGjP54h48rD+AOwU/6V0brChEWJHzpbXfyUB/SBpMJ670kbjbF4f7HS9Z/YfmshBnivPb4oI9ppPyJVaUsw76ttu/gB2V+Q==" />
                </div>
            </form>
            <!-- end .sidebar1 -->
        </div>
        <div class="content">
            <h1>Asbestos Claim</h1>
            <h2><strong>Welcome to Asbestos Claim</strong></h2>
            <p>Our solicitors are experts in asbestos law, successfully winning many cases for people suffering from diseases caused by exposure to asbestos. If you or a loved one has been diagnosed with an asbestos related condition within the past 3 years you may be entitled to make a claim for compensation against your previous employers, even if they no longer exist.</p>
            <p>Simply complete the online form on this page for a free assessment and callback. This is a completely free service.</p>
        </div>
        <!-- end .content -->
        <!-- begin .sidebar2 -->
        <div class="sidebar2">
            <h4><img src="http://www.example.com/images/asbestos-claims.jpg" alt="Asbestos Claim" /></h4>
            <h2><strong>Types of Asbestos Claims</strong></h2>
            <p>If you have been diagnosed with Asbestosis, Pleural Thickening, Lung Cancer caused by Asbestos or Mesothelioma we can help.</p>
            <!-- end .sidebar2 -->
        </div>
    </div>
    <!-- begin .footer -->
    <div class="footer1">
        <p>Footer information goes here.</p>
    </div>
    <div class="footer2">
        <p><a href="http://www.example.com/about-us.php">About Us</a> - <a href="http://www.example.com/policies.php">Privacy & Complaints Policy</a></p>
    </div>
    <div class="footer"> </div>
    <!-- end .footer -->
</div>
<!-- end .container -->
<script type="text/javascript">
<!--//--><![CDATA[//><!--
VDBindHandlers();
//--><!]]>
</script>
</body>
</html>

Hi Paul,

Thank you! That worked perfectly. Helping me gain good grounding with CSS at the same time.

Thanks again!

Peter.