Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Width problems between FF and IE
Old 06-23-2009, 02:51 AM Width problems between FF and IE
Skilled Talker

Posts: 90
Trades: 0
I'm setting up a new site, but am having issues ensuring compatibility across all the browsers.

The test page is:
http://www.foothillsbaptist.org/_NEW/index.php

If you look at the page in either FF or Safari, you'll see a few portions have widths that don't match the rest of the page... whereas in IE I believe they're all correct. This is the opposite of how I originally designed it and have been debugging it to get it to work with IE and instead just inversed the issue.

The divs in question are "blue_gradient":
Code:
#blue_gradient {
    display:block;
    width: 928px;
    height: 27px;
    border-right: 2px solid #133980;
    border-left: 2px solid #133980;
    background-image: url('../images/css/small_gradient.jpg');
    background-repeat: repeat-x;
}
and "nav_bar":
Code:
#nav_bar {
    display:block;
    width: 928px;
    height: 42px;
    border-right: 2px solid #133980;
    border-left: 2px solid #133980;
    background-image: url(../images/css/blueslate_background.gif) repeat-x;
}
I've tried using percentage widths, but that doesn't seem to do it either.

Another problem I spotted is the DIV I'm using to contain the logo at the top cuts short on IE, but is fine in the others..

Any ideas? I'm very new to using CSS so I'm hoping it's some novice error...

Thanks in advance for any help!
msaz87 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-23-2009, 04:45 AM Re: Width problems between FF and IE
Skilled Talker

Posts: 90
Trades: 0
Nevermind... resolved... just didn't have a valid doctype... thanks
msaz87 is offline
Reply With Quote
View Public Profile
 
Old 06-23-2009, 10:19 AM Re: Width problems between FF and IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Which, for the uninformed, means that IE will operate in Quirks Mode and will yield incorrect results.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-23-2009, 11:12 AM Re: Width problems between FF and IE
EricReese's Avatar
Super Talker

Posts: 137
Name: Eric Reese
Location: Maryland, USA
Trades: 0
And for some more uninformed people, having an invalid doctype/no doctype at all is just one way to have IE render in quirksmode. Having a comment before a doctype can render IE6 (I believe it's only IE6, I think IE7 fixed this issue?) in quirksmode, and an XML declaration before the doctype also renders IE7 and below in quirksmode.

Cheers
__________________
I am 17 years old.Looking for Web Design Job(s). If interested use my
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Funny Line- "I'll Twitter your Yahoo! until I Google all over your FaceBook :D
EricReese is offline
Reply With Quote
View Public Profile Visit EricReese's homepage!
 
Reply     « Reply to Width problems between FF and IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25733 seconds with 12 queries