HighDots Forums  

Firefox?

Websites/HTML pages critique & reviews Discuss and review existing WWW material (alt.html.critique)


Discuss Firefox? in the Websites/HTML pages critique & reviews forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ron Eggler
 
Posts: n/a

Default Firefox? - 11-14-2004 , 03:41 PM






Hi,

why does this code work with IE but doesn't with firefox?
http://www.rideon.ch/content.php?sec...ter&titleimg=0
thx!

PS it should display live cams from diffrent locations you can choose in the
combobox....
Thanks!

--
roN
www.rideon.ch



Reply With Quote
  #2  
Old   
Ron Eggler @ Notebook
 
Posts: n/a

Default Re: Firefox? - 11-14-2004 , 05:01 PM






brucie wrote:
Quote:
In alt.html.critique Ron Eggler said:

why does this code work with IE but doesn't with firefox?
http://www.rideon.ch/content.php?sec...ter&titleimg=0

http://validator.w3.org/check?uri=ht...1+Transitional
ok,

i got this msg at:
http://validator.w3.org/check?uri=ht...00=1&verbose=1
Line 36, column 153: document type does not allow element "FORM" here;
missing one of "APPLET", "OBJECT", "MAP", "IFRAME" start-tag

....nav=wetter&titleimg=0" METHOD=GET>

The mentioned element is not allowed to appear in the context in which
you've placed it; the other mentioned elements are the only ones that are
both allowed there and can contain the element mentioned. This might mean
that you need a containing element, or possibly that you've forgotten to
close a previous element.

One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline element
(such as "<a>", "<span>", or "<font>").

but i don't understand what exactly i have to change to fix the error...
((

--
chEErs roN




Reply With Quote
  #3  
Old   
Ron Eggler
 
Posts: n/a

Default Re: Firefox? - 11-15-2004 , 05:12 AM



brucie wrote:
Quote:
In alt.html.critique Ron Eggler @ Notebook said:

The mentioned element is not allowed to appear in the context in
which you've placed it; the other mentioned elements are the only
ones that are both allowed there and can contain the element
mentioned. This might mean that you need a containing element, or
possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to
put a block-level element (such as "<p>" or "<table>") inside an
inline element (such as "<a>", "<span>", or "<font>").

but i don't understand what exactly i have to change to fix the
error... ((

form> is a block level element, you cant put them inside inline
elements. you have your <form> inside a <span>. <span> is an inline
element.

delete <span class="text"> and the closing </span

your markup and css is a real mess, i would start again.

.footer {
font-family: Verdana, Arial, Helvetica, sans-serif;

this should be on the <body> and don't use verdana.

body{font-family: Arial, Helvetica, sans-serif;}

Why you should avoid the Verdana font
http://www.xs4all.nl/~sbpoley/webmatters/verdana.html

font-size: 10px;

unreadably small and IE users cant resize it. use %. 100% is the
visitors default size.

.footer a{
font-family: Verdana, Arial, Helvetica, sans-serif;

no need to specify the fonts again

font-size: 10px;

use %

text-decoration:underline;;

the default for <a> no need to use it.

.footer a:hover{
font-family: Verdana, Arial, Helvetica, sans-serif;

no need to specify the font again

font-size: 10px;

use %

text-decoration:underline;;

the default for <a> no need to use it.

etc etc etc
Okay, I will fix the errors after my Live-Cam is running with firefox... but
one after the other, so...
thank you very much for your patience with my code to have a look at it!

erm, i'm still trying to fix the HTML 4.01 errors...
okay, i now get this:

Line 36, column 153: document type does not allow element "FORM" here;
missing one of "APPLET", "OBJECT", "MAP", "IFRAME" start-tag

....nav=wetter&amp;titleimg=0" METHOD=GET>

The mentioned element is not allowed to appear in the context in which
you've placed it; the other mentioned elements are the only ones that are
both allowed there and can contain the element mentioned. This might mean
that you need a containing element, or possibly that you've forgotten to
close a previous element.

One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline element
(such as "<a>", "<span>", or "<font>").

i don't understand what do i have to do... may anyone help me a bit?!?
Thanks!


--
roN
www.rideon.ch




Reply With Quote
  #4  
Old   
Ron Eggler
 
Posts: n/a

Default Re: Firefox? - 11-15-2004 , 07:20 AM



brucie wrote:
Quote:
In alt.html.critique Ron Eggler said:

i don't understand what do i have to do... may anyone help me a
bit?!? Thanks!

as i said in my previous post:

form> is a block level element, you cant put them inside inline
elements. you have your <form> inside a <span>. <span> is an inline
element.

delete <span class="text"> and the closing </span
oh shit, sorry, i posted the false error-msg...
i meant:
Line 72, column 76: document type does not allow element "INPUT" here

....dden" id="section" value="script:livecam">

The element named above was found in a context where it is not allowed. This
could mean that you have incorrectly nested elements -- such as a "style"
element in the "body" section instead of inside "head" -- or two elements
that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML
documents. Due to HTML's rules of implicitly closed elements, this error can
create cascading effects. For instance, using XHTML's "self-closing" tags
for "meta" and "link" in the "head" section of a HTML document may cause the
parser to infer the end of the "head" section and the beginning of the
"body" section (where "link" and "meta" are not allowed; hence the reported
error).



--
roN
www.rideon.ch




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.