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.

Website Design Forum


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



Freelance Jobs

Reply
Site Rendering Wrong In FireFox
Old 08-15-2008, 10:18 PM Site Rendering Wrong In FireFox
Deunan's Avatar
Skilled Talker

Posts: 60
Location: Florida, USA.
Trades: 0
It's a very basic site, and it looks just the way I intended it in IE 7, but in FF, it does not render at all correctly. I cannot seem to make it do so either.

Before when I posted, I couldn;t understand the solutions people gave me very well, but I've studied a bit, so I should get it now.

Anyways, I'm just trying to get it to render correctly in Firefox. Everything is out of position.

Thanks!

This is the link to what it looks like: http://provi.bravehost.com/ You should view it in IE 7 first.

Edit: Ok, I have now found a way to center it. I simply added

body { text-align: -moz-center;} in addition to what I had. That fixed it.
However, the things which are inside the div still render incorrectly in FF

Edit 2: I have no fixed the paragraphs inside the main div. I only need to correct the header and it's border styleand position now.

Last edited by Deunan; 08-15-2008 at 11:52 PM..
Deunan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-15-2008, 10:58 PM Re: Site Rendering Wrong In FireFox
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Well, firstly, you should make a page work in FF first, then fix for the non-standards-compliant IE7 and IE6. Your page is "behaving" in IE, but rest assured that it won't in any other browser on the face of the planet. One of the reasons it's not working correctly in FF is that your code has several serious errors, chief of which is a repetition of the DOCTYPE declaration and CSS and JavaScript rules that are out of place in the document from where they should be. Fix your code, check it in FF, then if there's anything that needs fixed from IE's crappy rendering, use conditional comments to fix them.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


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

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-15-2008, 11:24 PM Re: Site Rendering Wrong In FireFox
Deunan's Avatar
Skilled Talker

Posts: 60
Location: Florida, USA.
Trades: 0
I'm using Bravenet, and Bravenet must have inserted that code, because I did not. They have inserts for ads and such because I'm using the free version right now. So that's why that is. Although, if they already have their own doctype, then I'm not sure if I should insert my own...

However, I don't think those have anything to do with it.
Deunan is offline
Reply With Quote
View Public Profile
 
Old 08-15-2008, 11:40 PM Re: Site Rendering Wrong In FireFox
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
IE is rendering it "correctly" because it's reading the whole document, with its incorrect code, in "quirks" mode. FF is doing what it is supposed to do, and is reading the document from the second DOCTYPE statement on. It's ignoring your other code at the top of the page. Fix the code, you should fix your problem. Put that extraneous code back in the head where it should be and get rid of the extra html and head tags.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


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

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-16-2008, 11:31 PM Re: Site Rendering Wrong In FireFox
Deunan's Avatar
Skilled Talker

Posts: 60
Location: Florida, USA.
Trades: 0
Yes! Let's celebrate! I fixed it finally!

Now I just have to fix it in Opera...^^
Deunan is offline
Reply With Quote
View Public Profile
 
Old 08-21-2008, 11:57 PM Re: Site Rendering Wrong In FireFox
Deunan's Avatar
Skilled Talker

Posts: 60
Location: Florida, USA.
Trades: 0
Well, I've got everything working, however, I cannot center the div in the Opera browser. That's the only thing left to try to fix.
Deunan is offline
Reply With Quote
View Public Profile
 
Old 08-22-2008, 10:31 AM Re: Site Rendering Wrong In FireFox
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Not sure why you're struggling with Opera. If it worked properly in Firefox, it should also work properly in Opera.

After looking at the site using the link you posted before, it is NOT centered in Firefox either.. so the problem with Opera is now no surprise.

Centering is very simple - read the stickies !
All you have to do is add margin: 0 auto; to #content and it will center.
__________________
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-29-2008, 01:55 AM Re: Site Rendering Wrong In FireFox
Deunan's Avatar
Skilled Talker

Posts: 60
Location: Florida, USA.
Trades: 0
I'm sorry I got back to this so late. Yes, LadynRed, you were correct. (Honestly, I didn't read the sticky, and have learned my lesson...)

At first, I DID post that margin info, but guess what? Instead of applying it to the div code, I had put it in the BODY code. Doh! That little bit fixed everything! It is now centered in all the broswer, albeit with a few hacks.

The only thing left now is to make the border appear in the Safari broswer.

Actually, even though this is the first time I am actually dealing with it, I really don't like Safari at all.
Deunan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Site Rendering Wrong 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.20675 seconds with 12 queries