
-----------------------------------
Catalyst
Fri Mar 19, 2004 10:47 pm

Mozilla Compatibilty
-----------------------------------
Can someone help me figure out why my site looks so screwed up in Mozilla. The only problems validator picks up are the passing of variables in the url.

http://catalyze.mine.nu

-----------------------------------
wtd
Fri Mar 19, 2004 11:24 pm


-----------------------------------
The problem you're having deals with the fact that lots of characters have special meanings in HTML markup.

To get around this, there are special "entities".  For instance, &quot; is a quote written in a syntax that your browser will dsplay as a quotation mark, but won't parse as significant to the HTML.

Now it's seeing:

&cPage

In that URL and thinking you're trying to escape something out.  :-)

I would try replacing all of the ampersands with &amp;

-----------------------------------
Catalyst
Fri Mar 19, 2004 11:52 pm


-----------------------------------
i tried that 
php doesnt seem to like that, the variables dont get defined
even if i get rid of those my site looks retarded in mozilla

-----------------------------------
wtd
Sat Mar 20, 2004 12:06 am


-----------------------------------
Go back to just using the amphersand the way you were before.  I probably outsmarted myself on that one.  

Now, you say your variables aren't getting initialized?  Are you trying to use just immediately use $cPage, or are you accessing $_REQUEST["cPage"]?

-----------------------------------
Catalyst
Sat Mar 20, 2004 8:56 am


-----------------------------------
i defined them using  $_GET['cPage']

-----------------------------------
Amailer
Sat Mar 20, 2004 10:07 am


-----------------------------------
Im positive it's your divs... Mozilla and DIVS never agreed with (or any other browser)
Use tables... never use divs (unless needed for some ad or w/e)
http://termix-zero.ath.cx/termix/subdomain/test/images/sd.html
just need to make your top image size of the down part a bit bigger ;D

pure tables :D

-----------------------------------
Catalyst
Sat Mar 20, 2004 3:03 pm


-----------------------------------
im not a big fan of tables 
im fairly sure that mozilla follows the w3c standard and that divs are part of that standard

-----------------------------------
Catalyst
Sat Mar 20, 2004 3:25 pm


-----------------------------------
i found the solution
apparently in the standard when you float a div it is taken out of the normal flow, so when i floated those divs the conataining block didnt expand with them
i found there is a hack to get around this (im not the only one with this problem) it is to add



above and below the element and that forces it to the full height
