Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



SEO Class in Chicago, IL

Learn How To Optimize Your Website on July 26, 2013


Looking for personalized in-depth SEO training among your peers?



High Rankings is offering a 1-day customized SEO training class in Chicago. Class size is limited so please sign-up now if you want in!



 


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Css Problem In Firefox


  • Please log in to reply
1 reply to this topic

#1 GOLFnTours

GOLFnTours

    HR 2

  • New Member
  • PipPip
  • 12 posts

Posted 04 August 2008 - 12:52 PM

Hi All,
I hope someone out here would help as I do not know what to do now and whether
the two questions below are related.

1. Firefox Not Responding to CSS?
I used an existing php page, changed the code by using only <div> (done away with <tables>)
and CSS. It appeared OK on IE but on FF, the text flowed all over.

2. DocType
I never had DTD on all my existing pages. For the same page in 1. above, I added the DTD
Transitional. The result was like for FFox in 1., text flowed all over on both IE and FFox.

I read this:
"If you are adding a DTD to a page that has already been written, you are going to
have some problems. That's a fact
."

on addedbytes dot com. It didn't go on to say what 'that fact' was or how one could fix this.

Are the two questions related? And, what should I do next?
Many thanks








#2 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 04 August 2008 - 01:14 PM

You can only have one declared DTD in a page. That's why if you have more than one you're going to run into problems.

As to the Firefox CSS issues, you're better off to design and test in FF, then make a special css version for IE's various flavors if necessary. FF will be correct markup 99 times out of 100. IE is more forgiving of mistakes, but also more flakey in how it responds to certain things.

It's much easier to design and test in FF though. That code should work in basically every other browser. If you need to make any small tweaks for IE, you can use conditionals to load another .css file or other css rules for any specific IE flavor you need to support.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users