Go Back   CodingForums.com > :: Client side development > HTML & CSS

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 12-03-2012, 06:38 PM   PM User | #1
scheric1
New to the CF scene

 
Join Date: Dec 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
scheric1 is an unknown quantity at this point
IE not displaying properly like firefox

Hello,

I am having a major layout issue on some of my pages where the right column looks unformatted and messy. This only appears like this when viewing in IE. Firefox looks fine.

Here is an example webpage.
http://www.icsworld.com/Private_Inve...rprinting.aspx

Please help. I need to fix this ASAP
scheric1 is offline   Reply With Quote
Old 12-04-2012, 02:21 PM   PM User | #2
Rowsdower!
Senior Coder

 
Rowsdower!'s Avatar
 
Join Date: Oct 2008
Location: Some say it's everything.
Posts: 2,007
Thanks: 5
Thanked 395 Times in 388 Posts
Rowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura about
Quote:
Originally Posted by scheric1 View Post
Hello,

I am having a major layout issue on some of my pages where the right column looks unformatted and messy. This only appears like this when viewing in IE. Firefox looks fine.

Here is an example webpage.
http://www.icsworld.com/Private_Inve...rprinting.aspx

Please help. I need to fix this ASAP
It's cliche, but often true...The best place to start when you get different renderings between browsers is the HTML validator. Currently, your page shows 40 errors and 17 warnings:

http://validator.w3.org/check?uri=ht...ss=1&verbose=1

Most of those listed issues are pretty straight-forward to fix (at a glance, a lot of them look like &'s needing to be encoded as &). Some of them are a result of the garbage code provded by social media buttons. I would go ahead and remove those social media buttons for the time being (comment them out at least).

Get a clean validator response in your page and then re-check the page in each browser and see if your problem persists or has evolved. Then, once we have a clean page to work with, we can adjust your CSS if/where it is needed.
__________________
The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
See Mediocrity in its Infancy
It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
Seek and you shall find... basically:
validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting
Rowsdower! is offline   Reply With Quote
Old 12-04-2012, 04:09 PM   PM User | #3
scheric1
New to the CF scene

 
Join Date: Dec 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
scheric1 is an unknown quantity at this point
Thanks for the reply. However most of the errors your specifying I do not think are actually affecting the website.

For example look at our test site with the same page:
http://www.icsworld.com:8888/Private...rprinting.aspx

Both main template pages are identical containing the third column. Yet the test site renders the sidebar perfectly fine and the live site does not.

The CSS are also identical files for both.

Any ideas?
scheric1 is offline   Reply With Quote
Old 12-05-2012, 10:25 PM   PM User | #4
Rowsdower!
Senior Coder

 
Rowsdower!'s Avatar
 
Join Date: Oct 2008
Location: Some say it's everything.
Posts: 2,007
Thanks: 5
Thanked 395 Times in 388 Posts
Rowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura about
You are comparing renderings of two pages that are not identical in their structure, so the fact that they don't match in IE is somewhat meaningless.

Check this out for your test page (38 errors and 17 warnings):

http://validator.w3.org/check?uri=ht...ss=1&verbose=1

Your "live" version (now down to 39 errors and 17 warnings) has one more error than your test version. Something is different between the two of them. It might not be this extra error that is causing your problem in IE, but this certainly points out that you are not comparing apples to apples in this case.

You can see this plainly just by looking at the number of lines of code in the source. You have 8 more lines of code in the "live" version than you do in the "test" version, and even among the lines existing in both versions, you have differences in your source code (beyond content differences and changes to some href attributes). On a quick pass through I noticed some empty or improperly nested paragraph elements and some <td> elements missing classes in one version but not in the other. And I pretty much decided to bail out at that point. You will need to dig through the 1,235 lines of code on your own to find which 8 have been added, and which of the rest have been changed enough to break your layout. Or...you can validate your live page and then adjust it if/where needed once the HTML is clean...and you can totally disregard your test version all the while.

So: I still recommend you validate first, then clean out your code remnants (of which there are more than a few), and then see if things still look out of place in the render once the code is clean. If you're not up for that I won't complain...but in that case I won't really be of any further use to you.
__________________
The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
See Mediocrity in its Infancy
It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
Seek and you shall find... basically:
validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting
Rowsdower! is offline   Reply With Quote
Reply

Bookmarks

Tags
aspx, css, html

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 03:25 AM.


Advertisement
Log in to turn off these ads.