Click to See Complete Forum and Search --> : Firefox and Dreamweaver 8 problem


ZachWaldman
08-06-2006, 09:44 PM
When I preview my site in Firefox it looks fine but when I upload it, the pop-up menus and graphics are all shifted and whacked out. The site looks fine in IE and like I said it looks fine in Firefox when I preview it, but not after I upload. Any ideas? I'm using Fireworks HTML and exporting it to Dreamweaver 8.

The URL is http://www.zachwaldman.com

Also, I just learned about the W3 validator. The site didn't pass but I can't figure out how to fix the errors. One of them is a doc type declaration error but when I tried to replace the one that's there with one they recommend, the site vanishes altogether.

Thanks in advance for any help you may be able to offer.

Zach

KDLA
08-07-2006, 09:27 AM
You need to use a DOCTYPE declaration for a frameset (for the homepage):

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
You will need to add a DOCTYPE to each page linked to in your frame, too.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Reference: http://www.w3.org/QA/2002/04/valid-dtd-list.html
KDLA
Once you add the DOCTYPE, your alignment problems may go away.

ZachWaldman
08-07-2006, 05:59 PM
Thank you so much, that did the trick.

Regards,

Zach

mkelso
08-22-2006, 08:49 PM
I am having a similar problem. When I preview my site in Firefox it looks fine but when I upload it, my bodytext and buttontext styles are not viewable (just show default text type and color) The site looks fine in IE and looks fine in Firefox when I preview it, but not after I upload. I'm using Dreamweaver 8. Is there a similar solution?

mike

drhowarddrfine
08-22-2006, 08:54 PM
Probably. Just look at your source when you view it online. IE never displays the same as modern browsers like Firefox without a proper doctype.

mkelso
08-22-2006, 09:14 PM
Here is the doctype on the page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I also noticed that just one of my pages (within the same site) IS showing the correct text style and color. I have looked at the code to see if their were any differences between the one page that displayed correctly and all the others. I could not see any.

The doctype is the same in both the page that is correct and the ones that are not.

Be patient with me. I'm just a novice that is in over his head.

Could anyone offer more specific advice/solutions?

THanks, Mike


I fixed it! I'm not exactly how the the problem happened but I have it corrected. Just took some eye-bulging html detailed review to notice some discrepencies. For some reason the CSS I set wasn't being carried through the whole docuement correctly. I suspect that part of the issue is a feature on Dreamweaver 8 that I'm not sure I like. Every time you change your style of font size in the properties window while in design view, it creates a new style. (style 1, style 2, ...style 199):mad: I guess the good thing out of all this is it forced me to really watch my html more than my design.

THANKS! :)