[SOLVED] MSIE doesn't show my design correctly (what a surprise)

This is a discussion on "[SOLVED] MSIE doesn't show my design correctly (what a surprise)" within the Web Page Design section. This forum, and the thread "[SOLVED] MSIE doesn't show my design correctly (what a surprise) are both part of the Design Your Website category.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 23rd, 2007, 09:49
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 29
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] MSIE doesn't show my design correctly (what a surprise)

I'm designing a website in html/css. In Firefox it looks fine, but ofcourse.. MSIE has to mess it up.
Where does it go wrong? I can use an IE conditional, but I don't think setting a negative value for margin is allowed.. right?

compare: http://www.mainevents.nl/preview
Firefox shows the page like it's supposed to look.. in MSIE the logo disappears..
Help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 23rd, 2007, 10:00
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: MSIE doesn't show my design correctly (what a surprise)

First, validate your site. You have a gruesome extra ending </div> tag, which can be the cause of random mayhem in browsers.

Second, negative margins are perfectly legitimate. I use them all the time, and not only for IE wrangling.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 23rd, 2007, 16:47
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: MSIE doesn't show my design correctly (what a surprise)

You might have to mess around with the padding in IE also, some divs look like they have too much.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 23rd, 2007, 17:30
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,777
Thanks: 0
Thanked 16 Times in 16 Posts
Re: MSIE doesn't show my design correctly (what a surprise)

If you cannot get it working just using regular CSS, you might be interested in IE Conditional Comments. This is a good thread: http://www.webforumz.com/html-forum/...i-write-ie.htm.
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 24th, 2007, 03:22
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: MSIE doesn't show my design correctly (what a surprise)

and of course, you could google for "CSS Layout Technique"
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 24th, 2007, 20:39
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 29
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Re: MSIE doesn't show my design correctly (what a surprise)

Quote:
Originally Posted by Marc View Post
If you cannot get it working just using regular CSS, you might be interested in IE Conditional Comments. This is a good thread: http://www.webforumz.com/html-forum/...i-write-ie.htm.

I know how a conditional works, but like I said in my first post, I didn't know if the negative values are allowed..

I fixed the </div>-stuff.. It validates now..
So.. I'll try to fix the rest too.. I'll keep you poasted..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Oct 26th, 2007, 20:16
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 29
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Re: MSIE doesn't show my design correctly (what a surprise)

I fixed it!
I made a conditional for IE. The site seems to show op properly in IE en FF now. I used this:

Code: Select all
<!--[if IE]>
<style type="text/css"> 
#logo {
    margin-top: -62px;
}
</style>
<![endif]-->
thanks for the responses..

Last edited by delusion; Oct 26th, 2007 at 20:18.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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
[SOLVED] Show Search Terms? Jack Franklin PHP Forum 12 Jan 15th, 2008 07:09
[SOLVED] IE6 is not rendering my columns correctly Oak Web Page Design 26 Jan 13th, 2008 22:12
wierdness in IE (surprise, surprise) mykl Web Page Design 8 Nov 10th, 2007 21:30
[SOLVED] Show&amp;Hide Div Box Maska JavaScript Forum 6 Oct 1st, 2007 11:04
Need Flash help (surprise surprise!) njenkins Flash & Multimedia Forum 1 Dec 1st, 2004 18:26


All times are GMT. The time now is 06:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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