Page 1 of 1

css layout ok. But what happens with mozilla???

Posted: Fri Dec 26, 2003 2:50 pm
by basdog22
Ok i made my first NO TABLES pure CSS layout site it looks great with IE Opera needs some work but i also tried mozilla firebird on it...

It sucks. It displays only text no layout nothing.

What i am trying to say is:

How come everyone talking about IE not supporting css and nobody says that for firebird???

I am not an MS fan but this drives me nuts :evil:

How can i make my site look simular an all browsers???

Posted: Fri Dec 26, 2003 3:56 pm
by McGruff
Firebird is rendering the page correctly but IE is not. Quite astonishing really that MS can't spend some of their gazillions on a decent web browser.

Try googling around for CSS tutorials. This might be a good place to start: http://www.alistapart.com/articles/.

Posted: Fri Dec 26, 2003 4:14 pm
by basdog22
So what i read from a list apart i managed to understand that Opera and Firebird might need the http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd file to render the page correctly

Is that true???

cause i test my page locally

Posted: Fri Dec 26, 2003 5:40 pm
by McGruff
It's probably more likely to be your CSS and not the DOCTYPE.

You've raised an interesting question about local servers - afraid I don't know the answer.

Posted: Sat Dec 27, 2003 9:30 pm
by m3rajk
remember, when mozilla and opera agree and ie doesn't, then you're using non-standards or ie is compensating for a mistake.

there ARE things that ie supports that are not in the css standard that people list with css. for instance: all the cursor things

Posted: Sun Dec 28, 2003 2:41 pm
by basdog22
I am afraid that my firebird installation is wrong

When i open a file from the open menu in firebird it looks ok but when i browse to it ... it sucks. I made my scripts look the same on both IE and Opera so 8) 8) 8) 8) 8)

I will install mozilla now and i will test it

Thanks for your help

Posted: Mon Dec 29, 2003 4:12 am
by basdog22
Damn the same with mozilla 1.5
:evil:

I get:
Error: The stylesheet http://127.0.0.1/index/testsite/style.css was not loaded because its MIME type, "text/html", is not "text/css".
Now i think this is why mozilla and firebird don't display my page ok.

I also saw another message for another site:
Warning: The stylesheet http://127.0.0.1/index/Sites/style.css was loaded as CSS even though its MIME type, "text/html", is not "text/css".
How can mozilla load the same stylesheet on one site and not at the other one???

MIME type??? Help me with this one :!:

Posted: Mon Dec 29, 2003 9:39 am
by m3rajk
css has the mime type text/css

for some reason it's being sent as text/html

mozilla is smart enough to know something is wrong and alert you since there could be someone doing something you don't want. it's also more helpful as a dev tool as a result.


how are you calling the css???

<link rel="..."> or <style type="text/css"><!-- @import url(stylesheet.css); --></style>

the first... i'm not sure how to denote type witht hat style, i use the second so that if i want to try something to override as a test i can simply toss it in temporarily in the page call. the second is called as a text/css mime type becasue it's using css' call to an external style sheet, which can only use the text/css mime type.

Posted: Mon Dec 29, 2003 10:57 am
by Skyzyx
This topic was covered and answered in another forum:
http://www.codingforums.com/showthread. ... adid=25807

Hope this helps!