Displaying correctly in every browser except IE

This is a discussion on "Displaying correctly in every browser except IE" within the Web Page Design section. This forum, and the thread "Displaying correctly in every browser except IE are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 16th, 2007, 02:05
New Member
Join Date: Feb 2007
Location: Charlotte, NC
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Red face Displaying correctly in every browser except IE

Hi,

I use Mac OS X, and built my site in Dreamweaver. It looks fine in all browsers on a Mac, and even Firefox in Windows. However, for some reason the slices get all out of whack in IE in Windows. My site has been up for quite some time, and I just recently discovered this problem and I am pretty embarassed. This is a huge problem obviously, because the majority of users are using the one browser my site is displaying improperly in!

Below is the link. Any help would be greatly appreciated!

www.mvcarpenter.com/design

Thank you.
Reply With Quote

  #2 (permalink)  
Old Feb 16th, 2007, 03:57
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MrMadison Send a message via MSN to MrMadison Send a message via Skype™ to MrMadison
Re: Displaying correctly in every browser except IE

Yeah, I've had this problem, and still do. Thats why I put a Get Firefox button on the site. Well, I would recommend using Dreamweaver's Check Browser script that's already built in. Should be under behaviors or something similar.
Reply With Quote
  #3 (permalink)  
Old Feb 16th, 2007, 10:51
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

IE has margins built in so you must set all tables so that they have a cellpad and cellspad to 0
That should eliminate your spacing.
Reply With Quote
  #4 (permalink)  
Old Feb 16th, 2007, 12:00
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

IE treats white-space in your code as an actual space. So ... instead of having it like this

Code: Select all
<td>
  <img ....>
</td>
<td>
  <img ....>
</td>
Put it all on the same line like this

Code: Select all
<td><img ....></td>
<td><img ....></td>
Reply With Quote
  #5 (permalink)  
Old Feb 16th, 2007, 12:12
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,712
Blog Entries: 1
Thanks: 0
Thanked 16 Times in 16 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Displaying correctly in every browser except IE

That layout needs to be rebuilt with XHTML Strict and CSS. But other than that, cellpadding="0" etc etc should help. Depends on the issue at hand. I don't have time at the moment to fire up windows but I will check it when I get to work and see.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #6 (permalink)  
Old Feb 16th, 2007, 13:07
New Member
Join Date: Feb 2007
Location: Charlotte, NC
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

Thanks for the replies. I realize I do need to rebuilt the site. This site is 2 years old and due for a redesign, but I need it to work for the time being.

All of my cellpadding and cellspacing is already set to 0. I will work with the code and put everything on one line as suggested by karinne. If that doesn't do anything, I'm still open to suggestions!

Thanks guys!
Reply With Quote
  #7 (permalink)  
Old Feb 16th, 2007, 13:56
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,712
Blog Entries: 1
Thanks: 0
Thanked 16 Times in 16 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Displaying correctly in every browser except IE

Ahh I see it now, that is messed up lol. If you need some help I can build you a XHTML/CSS wireframe and then you can add your content.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #8 (permalink)  
Old Feb 16th, 2007, 14:04
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

Quote:
Originally Posted by promod View Post
I will work with the code and put everything on one line as suggested by karinne. If that doesn't do anything, I'm still open to suggestions!
Let us know if it works.
Reply With Quote
  #9 (permalink)  
Old Feb 16th, 2007, 14:10
New Member
Join Date: Feb 2007
Location: Charlotte, NC
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

Quote:
Originally Posted by moojoo View Post
Ahh I see it now, that is messed up lol. If you need some help I can build you a XHTML/CSS wireframe and then you can add your content.
If it's not too much trouble, that would be awesome!

karinne, I tried your suggestion, but to no avail. BTW, this board is awesome, thanks for helping me out, and so quickly at that.
Reply With Quote
  #10 (permalink)  
Old Feb 16th, 2007, 14:34
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

I still see your code on different lines

Code: Select all
<table id="Table_01" width="800" height="601" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="9">
            <img src="http://www.webforumz.com/images/topgray.gif" width="800" height="10" alt=""></td>
    </tr>
    <tr>
        <td rowspan="8">
            <img src="http://www.webforumz.com/images/leftgray.gif" width="10" height="590" alt=""></td>
        <td colspan="7">
            <a href="index.html"><img src="http://www.webforumz.com/images/image1.jpg" alt="" width="779" height="261" border="0"></a></td>
        <td rowspan="8">
            <img src="http://www.webforumz.com/images/rightgray.gif" width="11" height="590" alt=""></td>
    </tr>
    <tr>
        <td colspan="7">
            <a href="index.html"><img src="http://www.webforumz.com/images/michaelcarpenter.gif" alt="" width="779" height="44" border="0"></a></td>
      </tr>
Look for this thread - Resources for learning how to use CSS for layout - in the Beginner resources section
Reply With Quote
  #11 (permalink)  
Old Feb 16th, 2007, 15:08
New Member
Join Date: Feb 2007
Location: Charlotte, NC
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

I corrected it on a test page: www.mvcarpenter.com/designtest.html
Reply With Quote
  #12 (permalink)  
Old Feb 16th, 2007, 15:29
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

Right ... sorry ... should have thought of that.

I couldn't help but noticing how EVERYTHING is an image! I mean ... the only thing I would use as an image is that big god-know-what-tube-thing at the top and you name/logo ... that's it. The rest should be text and color applied as background.
Reply With Quote
  #13 (permalink)  
Old Feb 16th, 2007, 15:35
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

I actually put all the code into Dreamweaver on my computer and all the coding looks to be fine. I see the cellspacing and cellpadding are 0 and I see how you put it together.

In my opinion, the only thing that could be messing up all the buttons on the right column is the javascripting. Why don't you try disabling some of the javascripts on a couple of buttons and see if you get better alignment?
Reply With Quote
  #14 (permalink)  
Old Feb 16th, 2007, 15:40
New Member
Join Date: Feb 2007
Location: Charlotte, NC
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

Quote:
Originally Posted by karinne View Post
Right ... sorry ... should have thought of that.

I couldn't help but noticing how EVERYTHING is an image! I mean ... the only thing I would use as an image is that big god-know-what-tube-thing at the top and you name/logo ... that's it. The rest should be text and color applied as background.
I know. I made this site for school, then transitioned it as my portfolio, and I caught on to making slices really quickly. How would you go about keeping the "in the box" look without using an image as the background? I will probably forget fixing this mess and take moojoo up on his offer of getting me jump started with CSS and XHTML. We live and learn!

BTW that tube thing is the lobe of an engine's crankshaft (what the piston hooks to). I drag race professionally, so that's where a lot of my aesthetic comes from.

Thanks!
Reply With Quote
  #15 (permalink)  
Old Feb 16th, 2007, 16:27
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displaying correctly in every browser except IE

Look at the link in my sig (Resources for learning .... ) It will get you started with the HTML/CSS layouts.
Reply With Quote
  #16 (permalink)  
Old Feb 16th, 2007, 16:28
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to daygon Send a message via MSN to daygon Send a message via Yahoo to daygon
Re: Displaying correctly in every browser except IE

Yeah the problem is that your trying t make a layout that is table/image based. If you create something like that in photoshop and splice it in image ready, when you add your content your page starts to get distorted as your info grows. what you can do is add alittel css code in in between your <td> like this...

Code: Select all
 <td><div style=" width:image width in px;
height:image height in px;
overflow:auto;
overflow-x:hidden;
background-repeat:no-repeat;> Your content </div><td>
and you should get a scroll bar like the one seen here (http://coldtunnel.205free.com)

This was one of the first sites i ever created and before i knoew this code i got the same problems.
Try it and see if it works.
Reply With Quote
Reply

Tags
display, slices

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database info not displaying correctly WebNinja PHP Forum 1 May 24th, 2008 20:39
IE not setting opacity correctly djeyewater JavaScript Forum 4 Feb 8th, 2008 09:57
Images not displaying correctly leighhobson89 Web Page Design 2 Nov 29th, 2007 16:33
How to correctly display in IE neil Web Page Design 6 Mar 8th, 2006 22:12


All times are GMT. The time now is 03:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43