Topic: z-index issue (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: # |
posted 10-13-2003 13:39
i'm using the css layout template on Glish.com and am having problems with the rightcontent overlapping the centrecontent. The only way i have managed to get the rightcontent to slip behind the centrecontent is to set the rightcontent to z-index: -1; - which works ok in IE (apart from you can't select text) but does not show in NN. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-13-2003 14:05
The poster has demanded we remove all his contributions, less he takes legal action. |
Bipolar (III) Inmate From: # |
posted 10-13-2003 14:36
Hi Ini code: #leftcontent {
|
Maniac (V) Inmate From: under the bed |
posted 10-13-2003 20:14
If I understand this coreectly, you are going about this the wrong way. |
Bipolar (III) Inmate From: # |
posted 10-14-2003 09:43
i am using IE6.0.26 & NN7 - and both demonstrate the same. Adding the z-index does not seem make any difference, unless, as i mentioned, i set z-index:-1 on rightcontent - then it stacks lower than centrecontent in IE and is not visable in NN7 |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-14-2003 10:50
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-14-2003 10:59
The poster has demanded we remove all his contributions, less he takes legal action. |
Bipolar (III) Inmate From: # |
posted 10-14-2003 11:10
Ini, thanks. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-14-2003 11:34
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Inmate From: under the bed |
posted 10-14-2003 18:26
Fatrod - I need to reiterate again though, that the z-index isue should be pretty much irrelevant in this case (unless I've totally misunderstood...). |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-14-2003 19:21
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Northumberland, England |
posted 10-14-2003 20:09
You'll find that bugs like this happen regular when trying to push css - position:relative is often the key in my experience (same as InI said). I look at it like this - when you have elements that should do something logical using css-p but they don't on one appears over the top of another you then need to emphasise the downtrodden element to the browser - a good way to do this is to set it's position to relative (or absolute depending on the circumstances). This has the effect of boosting the importance of that element to the browsers bugger renderer. It's not a hack, but it's not right either - browsers do suck, the latest moz builds are currently behaving best, but there is still some bugs - IE has some nasty rendering bugs where content will flicker on and off or dissappear all depending on how css is used - moz has some of these too, but opera is most stable, albeit in a rather crap way which irritates me. The worst browser for weird glitchy erratic css is mac ie which actually boasts high levels of css support but wrong crap buggy support - if it works perfect in every pc browser, it'll look shite in mac ie FACT!, well, not always, just avoid anything too flashy unless you don't mind employing some excess code based workarounds. |
Bipolar (III) Inmate From: # |
posted 10-15-2003 10:53
Thanks chaps. |