CSS bugs on website in ie7, site breaks and does not display correctly

Hi Experts,

I recently built a site that displays fine in all browsers except ie7 and ie6, ie6 not too concerned as I stopped supporting that browser.  Please have a look at the following urL: www.lwenguschool.com

The site does not seem to be displaying correctly in ie7, and would like too...can you help identify where the problems are?
Kasonde NeddyDesigner & DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

APoPhySptCommented:
That seems to be a problem that affects a hole lot of people, myself included... cross compatibility between different browsers and even different versions is a pain in the A** because a some tags are not allowed or supported..

have you performed a css reset on the tags? sometimes it helps:
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

Open in new window


that is the hole css reset that resets all the existing default values. perhaps some of them don't even aplly, so copy the one's that you may need and give them a try, see if it helps
0
Kasonde NeddyDesigner & DeveloperAuthor Commented:
Hi thanks for quick reply, it is a pain.  Tried the above and adding reset but still have the same ie issues
0
MarsMCommented:
Hi,

If I examine the css, there is a difference between Chrome and ie7.
In chrome it says (right after the div with id 'coda-slider-5'):
<div class="panel-container" style="width:760px;">

Open in new window

in ie7 it says:
<div class="panel-container" style="width:1668px;" sizcache="2" sizset="14">

Open in new window


So it looks like it is the coda-slider that does this...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

APoPhySptCommented:
perhaps you should do some conditional css
 
<!--[if IE 7]>
        <link rel="stylesheet" type="text/css" href="ie7.css">
<![endif]-->

Open in new window


add this to the top of your page and create a new css custumized for ie7. inside the If "<!--[if IE 7]>" set the href to the new css file. From personnal experience this seems to be the best way to go about it. for more examples on conditional css clauses:
http://css-tricks.com/how-to-create-an-ie-only-stylesheet/

also and offtopic, there is a small program I use to test compatibility between different IE browser versions that I believe may aid you in future compatibility testes, try using : 'IETester' it's free
link : http://www.my-debugbar.com/ietester/install-ietester-v0.4.11.exe

cheers
0
Kasonde NeddyDesigner & DeveloperAuthor Commented:
Hmm,

Interesting, how can I find that? the width of 1668px is being generated from where?  Thanks for the help, can you please help me understand how I can rectify that
0
MarsMCommented:
If you make an additional style-sheet as shown by APoPhySpt
and put in:
,panel-container {width:768px !important;}

Open in new window


That might work, but I con not guarantee that and I can't test it since I don't have access to your code.
0
MarsMCommented:
Sorry, I mean:
.panel-container {width:768px !important;}

Open in new window

(So a . instead of a ,)
0
Kasonde NeddyDesigner & DeveloperAuthor Commented:
APoPhySpt,

I have done exaxtly that already.  Using ietester right now and already created a seperate ie7 stylesheet..but having issues still...at least your comment shows I've been doing the right thing :-)
0
Kasonde NeddyDesigner & DeveloperAuthor Commented:
can I send you a copy of my code?  Still no luck, created a  seperate ie7.css stylesheet..but has changed
0
Kasonde NeddyDesigner & DeveloperAuthor Commented:
ment to say but has not changed
0
Kasonde NeddyDesigner & DeveloperAuthor Commented:
I am making slight progress on my local copy of the site, I have begun by adjusting image that is displaying out of position, but now to the content area which is still giving me issues in my ie7.css stylesheet
0
APoPhySptCommented:
I've also had problems in the past with tags where I didn't set the width And/or height. try not to leave any tag where the browser can be let to wonder and sometimes guess wrong what the size sould really be. Avoid using the css properties padding and position, amongst many others, i think they cause some issues on ie7.

also take a look at this small article on non-supported css properties that you might be using:
http://www.impressivewebs.com/10-useful-css-properties-not-supported-by-internet-explorer/
0
Kasonde NeddyDesigner & DeveloperAuthor Commented:
Came to the solution after discussing on this thread, thanks for opening my mind experts, now to resolve my next tech problem :-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.