Topic: Mozilla Embed Problem

http://userwww.sfsu.edu/~ascend/gallery/gallery1.html


For some reason, this gallery pops out to the side  in Mozilla. Could anyone please take a look and let me know why? It's been driving me insane because it works in chrome and safari.

Re: Mozilla Embed Problem

Looking at your CSS, it looks like adding the following code to your 'styles.css' file may solve the problem.

#navBar {
    float: left;
}

.contentContainer {
    float:right;
}

Also, your page does not use a Doctype Declaration but should use one.
Please see here for details: http://www.w3.org/QA/2002/04/valid-dtd-list.html
Looking at your code, the most appropriate one to use might be XHTML 1.0 Transitional, in which case, put the following code at the very top of your HTML document, immediately before the opening <html xmlns="http://www.w3.org/1999/xhtml"> tag.

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

Re: Mozilla Embed Problem

Thank you for your quick reply! I will try it out and let you know. : ] Do you also know why it was popping out to the right?

Last edited by datajunkie2011 (2012-01-28 22:29:29)

Re: Mozilla Embed Problem

Do you also know why it was popping out to the right?

Possibly because the navBar <div> should have been floated left (see above).

Steven Speirs
SimpleViewer Support Team.