Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with webpage viewed in ie6

Status
Not open for further replies.

dthomas31uk

Technical User
Oct 19, 2003
107
GB
Hi, Guys been working on a new site


Everything ok when viewed in firefox, but when viewed in IE6 it goes out the window...think its the box model problem....any ideas where the problem is guys...have tried everything but still no joy.

Hope someone can help cheers guys.
 
The first thing you should do is fix all of the HTML and CSS validation errors on the page. Then, you should tidy up the formatting / indentation of your HTML and CSS (it's all over the place). You should also add a type declaration to the on-page style tag.

To fix the bug, you need to move the "whiteBox" element to be a sibling of the "navcontainer" element. At the moment, it is a sibling of the "container" element - which I'd say is the wrong way to lay out your page.

You should also look at reducing the number of floated elements you have. Neither the "textbox" nor the "base" elements need to be floated - you just need to look at using some clears (the correct way to create your layout).

Incidentally:

- Why do you have a picture of David, when the shop is called Athena? Surely a picture of Athena would be more appropriate?

- Why does a hair & beatuty shop have details of a Spanish property site all over it?

Code:
<!-- buying, selling, renting, living &amp; working in Spain -->
<!-- villas in Spain, bungalow in Spain, town houses, duplex, apartment, holiday home, permanent residency -->
...
<title>Sun Invest &amp; - [URL unfurl="true"]www.suninvest.org.uk[/URL] - Spanish Properties</title>
...
<meta name="description" content="Spanish property for sale in Costa Blanca &amp; Costa Calida - [URL unfurl="true"]www.suninvest.org.co.uk"[/URL] />
<meta name="abstract" content="Spanish property for sale in Costa Calida, Costa Blanca - [URL unfurl="true"]www.suninvest.org.uk"[/URL] />
<meta http-equiv="Content-Language" content="en-us" />
<meta name="keywords" content="spanish property, property overseas, costa Blanca, costa calida, meir heath, stoke-on-trent, staffs, buying, selling, renting property, living and working in Spain, freehold, la manga, denia, villa, bungalow (semi or detached), town house, duplex, apartment, alicante, murcia" />

Hope this helps,
Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Hi, Billy have managed to work out my problem. I had a missing div towards the bottom of my code. Will also check out your tips also. As for the property site descriptions....it was a site I worked on previously......just used it has a template and have not got round to changing the description :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top