BlindXP
01-06-2004, 03:00 AM
Brief: I want a graphic's position to be at the bottom of a list that is controlled by another class, but has the height tag of "auto" so it's different so I can't set a static position for the graphic.
Ok, so I have this great setup where I list all my games and using CSS it's placed near the right of my screen and mid-way down. The size is like 500px wide and the height is auto so I can make it as long as it needs to be. Now I have a background that is two white stripes down the outside (500px wide to match the list's width). So far so good, I can list as much or as little as I want and the sides are always giong to be there! Now I have an image at the top of my list that is a horizontal bar to make the top of my list. At the bottom
I want to have a shape like this:
\________| (notice the angle).
But with my background being the two vertical lines:
| blah blah | .
I get this when I put the image at the bottom of the list (it's still inside my tags so it's positioned by the list's class):
|\_______|
I want the area left of the angle to be transparent to show off the background of the whole page. But the list's background has a dark gray between the two bars so it doesn't work.
so how do I make the bottom graphic's( \_____| ) position be wherever the list ends (the list is on auto so it'll change), or is there another way to do this?
Look...
Right:
http://bestpricedeverything.com/good.jpg
Wrong:
http://bestpricedeverything.com/bad.jpg
Ok, so I have this great setup where I list all my games and using CSS it's placed near the right of my screen and mid-way down. The size is like 500px wide and the height is auto so I can make it as long as it needs to be. Now I have a background that is two white stripes down the outside (500px wide to match the list's width). So far so good, I can list as much or as little as I want and the sides are always giong to be there! Now I have an image at the top of my list that is a horizontal bar to make the top of my list. At the bottom
I want to have a shape like this:
\________| (notice the angle).
But with my background being the two vertical lines:
| blah blah | .
I get this when I put the image at the bottom of the list (it's still inside my tags so it's positioned by the list's class):
|\_______|
I want the area left of the angle to be transparent to show off the background of the whole page. But the list's background has a dark gray between the two bars so it doesn't work.
so how do I make the bottom graphic's( \_____| ) position be wherever the list ends (the list is on auto so it'll change), or is there another way to do this?
Look...
Right:
http://bestpricedeverything.com/good.jpg
Wrong:
http://bestpricedeverything.com/bad.jpg