Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-04 21:59:31

daedalus
New Member
Registered: 2006-01-04
Posts: 3

IE renders my CSS correctly FF does not use the style sheet.

Using the default methods, that is default template and default style with only minor changes in the formatting. Firefox does not render my style sheet at all.
Internet Explorer will render the same correctly.
In FF if I change the style sheet link from TXP:CSS to default.css it sees the last stylesheet I had in there that worked before I changed it back to the default style that I had made some minor changes to.
The site is in production status (even though I have barely begun developing it) because I heard (from these forums) that there were issues with CSS and development status.

The URL is http://sleepless.8lo.net

Thanks in advance
I.:.F.:.


“Interpretation is the revenge of the intellect upon art”…Susan Sontag, author and critic (1933-2004)

Offline

#2 2006-01-04 22:22:23

szac
Member
From: Detroit-ish
Registered: 2004-09-18
Posts: 50

Re: IE renders my CSS correctly FF does not use the style sheet.

check with your host how your server handles mime types. They may need to add .css to the list. to check it out embed some css into the page and see if FF renders it.

Offline

#3 2006-01-05 00:10:18

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: IE renders my CSS correctly FF does not use the style sheet.

When I look at your stylesheet there is a whole load of html and javascript at the end of the css that seems related to overture, google ads and menus.

Might clean that out of the css and try it again. IE being used to garbage probably ignores it but FF is a bit more particular.

You also have the same script and meta data after the closing html tag which is invalid HTML.

Last edited by NyteOwl (2006-01-05 00:13:22)


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#4 2006-01-05 01:23:36

daedalus
New Member
Registered: 2006-01-04
Posts: 3

Re: IE renders my CSS correctly FF does not use the style sheet.

Not only that (speaking to both responders) when I embed the stylesheet in the head, it renders, and it only has the usual discrepancies that happen when going back and forth from IE and Firefox. Anyway after I finish what I am doing I am going to try to stay away from positioning that doesn’t work in both browsers.
It’s possible I may try (ew) layout tables for the main layout.
Going to have to experiment.
Anyway thanks both of you for the help.
I’m like 40-something and pretty new to coding by hand, so it’s a gnarly learning curve but I think I can hang.
It really does give you a lot more freedon then WYSIWYG, hell if I want WYSIWYG, I can open it in a browser.
Thanks again
I.:.F.:.


“Interpretation is the revenge of the intellect upon art”…Susan Sontag, author and critic (1933-2004)

Offline

#5 2006-01-05 02:25:19

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: IE renders my CSS correctly FF does not use the style sheet.

D,

Your hosting company is adding advertising junk to your pages. On HTML pages that’s bad enough, but they’re also doing it to CSS – see here, view the source and scroll down.

IE is apparently better at ignoring that junk than Firefox.

You might be able to avoid this particular problem with an inline style, but the ad junk is likely to interfere with other Textpattern features also.


Alex

Offline

#6 2006-01-05 03:17:10

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: IE renders my CSS correctly FF does not use the style sheet.

Leave your host. That absolutely sucks.
Try dreamhost. (shameless plug)
I get no ads. I get 20gb of disk and 1 TERABYTE of bandwidth /mo! For $7.95/mo That’s cuckoo.

If you want to learn hand coding, this is actually a good place to learn. (not on its own of course), but the forum here is really great. Stick with it man, by hand is the way to go! Code is poetry/pottery.

speaking of: after you switch hosts, you may consider placing your css in a seperate file instead. It tends to be cleaner, and I think there are a ton of other benefits that I don’t know off the top of my head.

Matthew

[ed: paid referral links are stepping beyond a mere shameless plug, imho]

Last edited by zem (2006-01-05 04:58:56)


Offline

#7 2006-01-05 14:08:57

daedalus
New Member
Registered: 2006-01-04
Posts: 3

Re: IE renders my CSS correctly FF does not use the style sheet.

I’m definitely sticking to inline styles for now, yeah I am going to change to a no junk hosst as soon as I know if I am working a temp job or not.


“Interpretation is the revenge of the intellect upon art”…Susan Sontag, author and critic (1933-2004)

Offline

#8 2006-01-10 12:09:34

Alex McKee
Member
From: Gloucester, UK
Registered: 2005-12-17
Posts: 59
Website

Re: IE renders my CSS correctly FF does not use the style sheet.

Get a new host, but don’t stick to inline styles whatever you do!

Offline

Board footer

Powered by FluxBB