| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Floated and absolute positioned elements. | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Floated and absolute positioned elements.
So, I wanted to have a background image repeat the height of the left bar. All is grand until the main content stretches farther down the page than the left bar.
Since the left bar is floated it will not inherit the height of the content containers, leaving a sorry white space below my side bar. Is there a way to have floated elements match the parent height. I know how to match the parent height, to the floated height using clearing.
__________________
xcart 5.1.2 |
|||||||||
#2
|
|||||||
|
|||||||
Re: Floated and absolute positioned elements.
That's the glitch with CSS floated elements unfortunately. I usually make a background image for the WHOLE background (behind the left column and the main column) and that stretches the height of the tallest element.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Floated and absolute positioned elements.
Yeah that's what I did. Really silly that its like that. They need to figure out how to make that fixable. Maybe a match height tag
__________________
xcart 5.1.2 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|