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
Problem with CSS in FireFox.
Old 08-28-2007, 08:41 PM Problem with CSS in FireFox.
blackfalcon's Avatar
Skilled Talker

Latest Blog Post:
New Site: 10DollarBluRay.com
Posts: 62
Name: JuanJose H. Galvez
Trades: 0
Hi all,

This is our first time trying to integrate a full css/xhtml compliant design into our custom built php framework. Out with the tables! YAY! Well for the most part. Which is actually the problem I'm having. IE 6 and 7 show the website design correctly while FireFox actually doesn't display some items in the correct location.

I have validated the CSS and the XHTML everything goes through correctly. No warnings or errors. Any help finding the problem would be greatly appreciated!

http://css.blackfalconsolutions.com/index.php

Thanks.
blackfalcon is offline
Reply With Quote
View Public Profile Visit blackfalcon's homepage!
 
 
Register now for full access!
Old 08-28-2007, 10:25 PM Re: Problem with CSS in FireFox.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
IE 6 and 7 show the website design correctly while FireFox actually doesn't display some items in the correct location.
Well, since you're new at this, just let me say that if IE appears to be showing it 'correctly' and Firefox appears 'wrong', it's actually IE that is getting things WRONG with is busted box model and tons of bugs !!

Save yourself some hair pulling - make it right in Firefox first, then beat IE into submission

Also, IE6 does NOT support PNG transparency w/o some scripting to force it.
Google for "IE PNG fix" and you'll find several solutions.

Ok. the FIRST thing you need to do is put a proper DOCTYPE in your pages. IE is displaying in Quirks mode (which you do NOT want) without it and Firefox is basically 'guessing'. I would go with at LEAST HTML 4.01 STRICT, or XHTML 1.0 Transitional if you're feeling spunky - but you'll have to mind a few more rules with XHTML doctype. Once you have a proper doctype, then you may or may not need some other adjustments.

Take the hacks out of your main CSS file, put them in an 'iefixes.css' file and then use Conditional Comments in the head section to pull in the fixes that will ONLY target IE.

If you want the footer to snug up against the mainBody section, remove the 4px top margin on .TopFooter.

Nice design, and really good job on the coding, you just need a bit more
__________________
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 08-28-2007, 11:04 PM Re: Problem with CSS in FireFox.
blackfalcon's Avatar
Skilled Talker

Latest Blog Post:
New Site: 10DollarBluRay.com
Posts: 62
Name: JuanJose H. Galvez
Trades: 0
First off, Thanks!

I do know about IE's issue with PNG and I've got the code set aside to fix it but my major issue at the moment is the alignment of the text, so I haven't taken the time to fix it yet, but I do thank you for taking the time to point that out.

The DOCTYPE! I actually had that in my original test page but I had not been using it in our custom framework so when I transferred the different sections of the page into the framework it was lost. That has now been added and I ran validation again, fixing the various problems which arose. XHTML 1.0 Transitional is what we were aiming for, that is validating now.

I think you may have solved our problems with your comment about using a conditional comment to pull in the fixes for IE. I will redo the CSS to position properly for FF and then use an iefixes.css file to position for IE. Also, thanks for the fix on the footer, it was giving me a headache!

Also my wife will be glad to hear your comment on the design.

Thanks again,
JuanJose Galvez
Black Falcon Solutions
blackfalcon is offline
Reply With Quote
View Public Profile Visit blackfalcon's homepage!
 
Old 08-29-2007, 12:33 AM Re: Problem with CSS in FireFox.
mackaltman's Avatar
Super Talker

Posts: 135
Name: Mack Altman III
Location: Goose Creek, SC, USA
Trades: 0
You could post your stylesheet for us to view. Also, as far as the menu, it's not that visually pleasing. Have you thought about a different menu style?
__________________
Mack Altman III

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

My Biggest Pet Peeve: "Web Designers" who have no artistic skill.

mackaltman is offline
Reply With Quote
View Public Profile Visit mackaltman's homepage!
 
Reply     « Reply to Problem with CSS in FireFox.
 

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.53324 seconds with 12 queries