Help - Search - Members - Calendar
Full Version: CSS Design Help Needed
Invision Power Services > Community Forums > Community Web Design and Coding
.Jack
Click to view attachment

Hey,

If you look at that attachment I've posted, you will see I've highlighted a couple of areas. You can probably see what I'm trying to do with these. At the moment there is just an image for the background of the header, and an image for the background of the main table (the left and right borders). But I want these left and right borders to fade out as they near the bottom of the div, and I can't figure out how to do this.

Any Help much appreciated! biggrin.gif

Thanks original.gif
IAIHMB
I don't have anything installed at the moment, so graphically I cannot show you. However, I would insert a DIV within the DIV(s) you are working with and use a background image. That's probably not the best explanation, but it should work. tongue.gif
.Jack
QUOTE(IAIHMB @ Mar 17 2005, 06:56 PM)
I don't have anything installed at the moment, so graphically I cannot show you. However, I would insert a DIV within the DIV(s) you are working with and use a background image. That's probably not the best explanation, but it should work. tongue.gif
*

Graphically I'm fine with doing it. It's the CSS that I'm unsure... I did think of putting another div with a bg image at the end of each div but that seems a little messy to me pinch.gif ... I did also think of using div:after{blah} until I realised that IE didn't support it rolleyes.gif
_
CODE
#mydiv {
   background: url(fade.gif) bottom left no-repeat;
}


wassat.gif
IAIHMB
QUOTE(JCXP @ Mar 17 2005, 02:58 PM)
Graphically I'm fine with doing it. It's the CSS that I'm unsure... I did think of putting another div with a bg image at the end of each div but that seems a little messy to me pinch.gif ... I did also think of using div:after{blah} until I realised that IE didn't support it rolleyes.gif
*


Instead of adding a DIV into your current DIV, you could always end your current DIV and start a new one with the correct background image. wink.gif
.Jack
QUOTE(Veracon @ Mar 17 2005, 08:02 PM)
CODE
#mydiv {
   background: url(fade.gif) bottom left no-repeat;
}


wassat.gif
*

No That wont work. As I said, the div already has a background.

QUOTE(IAIHMB @ Mar 17 2005, 08:12 PM)
Instead of adding  a DIV into your current DIV, you could always end your current DIV and start a new one with the correct background image. wink.gif
*

and that's what I thought you meant anyway laughing.gif

Either way, I've done this now just by adding an additional div at the end of each DIV but thanks for all yer help original.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.