This is a discussion on "CSS z-index for image ???" within the Web Page Design section. This forum, and the thread "CSS z-index for image ??? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS z-index for image ???
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
I'm trying to add a gradient I made as a background to my "centerContent", so it acts as a shadow to the border of "centerContent".
I'm using CSS's z-index property to get the desired result, but am not having this "content-shadow" image displaying on my page, at all. There may be other way of achieving the same, but z-index seems little easy to understand, so I'll stick with z-index for now. The related CSS is:
http://darsh25.silverserve.co.uk/All...gn/contact.php While all the files can be seen on: http://darsh25.silverserve.co.uk/AllInclusiveWebDesign/ My desired result can be seen at: http://www.tristarwebdesign.co.uk/ Am I not doing things in the way I should've been doing ??? |
|
|
|
||||
|
Re: CSS z-index for image ???
This may sound stupid but try moving the properties for Content Shadow physically further down in the CSS text. It get's interpreted like a script kind of so the last thing to get read is the last thing rendered.
It might work. might not...
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
|||
|
Re: CSS z-index for image ???
Quote:
Thanks, Havilah |
|
|||
|
Re: CSS z-index for image ???
I don't see a difference in FF2 and IE7. Can you tell me more?
|
|
|||
|
Re: CSS z-index for image ???
Lchad, IE displays it with an additional white background underneath the transparent shadow. Othe browsers don't. That's the major difference. I want to know the version of IE that u r using?
|
|
|||
|
Re: CSS z-index for image ???
Ie7
|
|
|||
|
Re: CSS z-index for image ???
ok, but have u noticed the difference?
|
|
|||
|
Re: CSS z-index for image ???
Your problem is with IE6. You are using a png image for that correct?
I do not believe png is supported by ie6. Change it to a gif and you should be fine. |
|
|||
|
Re: CSS z-index for image ???
gif won't let the background remain transparent.
|
|
|||
|
Re: CSS z-index for image ???
Looks like you'll need some javascript to be able to make it work in IE 6
See this tutorialhttp://allinthehead.com/retro/289/sl...kgrounds-in-ie |
![]() |
| Tags |
| css, zindex, image |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| z-index - dragging | benreynolds4 | JavaScript Forum | 0 | May 25th, 2008 14:54 |
| google and index | dab42pat | Search Engine Optimization (SEO) | 5 | Aug 15th, 2007 13:59 |
| google-index | cyclone2876 | Search Engine Optimization (SEO) | 3 | Jun 26th, 2007 14:24 |
| TOC and Index | bonekrusher | Other Programming Languages | 0 | Jul 24th, 2006 23:03 |