Author |
Message |
Catalyst
|
Posted: Fri Mar 19, 2004 10:47 pm Post subject: 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 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
wtd
|
Posted: Fri Mar 19, 2004 11:24 pm Post subject: (No subject) |
|
|
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, " 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:
In that URL and thinking you're trying to escape something out.
I would try replacing all of the ampersands with & |
|
|
|
|
|
Catalyst
|
Posted: Fri Mar 19, 2004 11:52 pm Post subject: (No subject) |
|
|
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
|
Posted: Sat Mar 20, 2004 12:06 am Post subject: (No subject) |
|
|
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
|
Posted: Sat Mar 20, 2004 8:56 am Post subject: (No subject) |
|
|
i defined them using $_GET['cPage'] |
|
|
|
|
|
Amailer
|
Posted: Sat Mar 20, 2004 10:07 am Post subject: (No subject) |
|
|
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 |
|
|
|
|
|
Catalyst
|
Posted: Sat Mar 20, 2004 3:03 pm Post subject: (No subject) |
|
|
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
|
Posted: Sat Mar 20, 2004 3:25 pm Post subject: (No subject) |
|
|
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
code: |
<div style="clear:both;"></div>
|
above and below the element and that forces it to the full height |
|
|
|
|
|
Sponsor Sponsor
|
|
|
|