Topic: StyleSheet per browser? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 06-14-2004 06:54
Seriously I am fed up with CSS cross-browser issues!! I've tried everything I could, I fix something for IE Opera's mushed up, fix that IE's mushed and to top it all of I fix Mozilla well I don't know why but IE dissappears!! That's why I was wondering if like using JavaScript we can redirect a page according to browser there was a way we could do that with CSS you know like call the appropriate stylesheet according to the user's browser?? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-14-2004 09:20
Well... I usually do this with server side scripting, like via php. |
Maniac (V) Inmate From: Seoul, Korea |
posted 06-14-2004 11:36
I can sympathize with your plight, and I'm sure many other inmates can, too. I am curious, though--what exactly are you having difficulties with? It may be that there is a hack that will allow you to get around the problem. Hacks may be a bit distasteful to purists, but we live in an imperfect world, and they're certainly better than having different style sheets for each browser. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 06-14-2004 12:32
I'd rather have slightly different style sheets depending on browser than css hacks... you can only conditionally print those parts of the stylesheet that need changing, and this is actually how the grail does it. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 06-14-2004 13:07
Separate stylesheets are a possible solution (esp. if you generate it from one server-side file) but it does create more work and nearly all CSS problems are fixable. If you post the offending pages here then we can take a look at them - it may be an easy fix or your whole approach may need tweaking |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 06-14-2004 14:12
I don't know where to begin with the problems. I know netscape and mozilla don't support div backgrounds but opera too!! I've been through like fifteen layouts for this guy he finally likes one and I can't seem to get it on the web!!! I've been working till late in night trying to get this darn thing to work. other than that it's positioning, doesn't matter what I do I'm bound to mess up somewhere in positioning. It looks a ok on IE boom opera shifts it to the right looks great on opera whoa what a surprise IE shifts it to the left!!! And don't get me started on Mozilla... I view the page in it and it looks like the browsers drunk! |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-14-2004 14:51
I don't know what you mean that netscape mozilla don't support div backgrounds, because they do. |
Maniac (V) Inmate From: Seoul, Korea |
posted 06-14-2004 14:57
Yep, give us a link or something. We'll be better able to help you out if we can see exactly what is going wrong. |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 06-15-2004 07:15
Ahh ferget it, I gave it back. Just took the money for the layout. I think the bast***s did it from a friend of mine... using tables!! you can check the site although I doubt you'll be able to see it outside of the country it was hosted in |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 06-15-2004 15:50
Oh well now that this is done with I neeed to ask, does anyone know how to make a CSS gallery. I've had success with IE, the page looks excellent on it but not on other browsers. Here's what I have, 4 columns like so |