Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-14-2013, 11:32 AM   PM User | #1
maxelcat
New Coder

 
Join Date: Aug 2006
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
maxelcat is an unknown quantity at this point
layout broken in IE8 - code on the fly wrong

Hi - we're getting desperate here! We have a page that works fine in EVERYTHING except IE8 - that page is http://www.haywardsdrycleaners.com/services/ - as you can see the layout is screwed.

I have looked at the html and can see that there are nesting errors in the code for each of the images. This code is produced on the fly somewhere, but I can't find it! If I cut and paste the whole code, create a html file, correct the errors and upload the new page it works fine in IE8.

Please could someone help us find where the code is generated.

Many thanks

Edward
maxelcat is offline   Reply With Quote
Old 01-15-2013, 08:47 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,172
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Well, it appears that the site is a WORDPRESS site (created via PHP code).

So you will have to find the PHP code for the page in question and correct it.

If it's a fundamental WordPress flaw, you might try posting in the WordPress forums.

In any case, I don't think this has anything at all to do with JavaScript, which is of course the topic of this forum.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 01-15-2013, 09:24 PM   PM User | #3
maxelcat
New Coder

 
Join Date: Aug 2006
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
maxelcat is an unknown quantity at this point
Yes, you're correct its a wordpress site. There is no "template" or post for this page, and it is generated by a shortcode (which I think does pull in some js)

However, we have solved it now - the editor was adding extra code so [raw]...[raw] solved it

Thanks for your answer
maxelcat is offline   Reply With Quote
Old 01-15-2013, 09:37 PM   PM User | #4
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,172
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Yes, the shortcode pulls in JS, but that would have nothing to do with the basic HTML layout being wrong.

Good catch on using [raw]. It does make sense it was the editor doing it, though I sure didn't think of that at the time.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript ie8

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:02 AM.


Advertisement
Log in to turn off these ads.