Dynadot โ€” .com Registration $8.99

[Resolved] Novice CSS Problem.

Spaceship Spaceship
Watch

GamingHybrid

Established Member
Impact
7
Novice CSS Problem.

I currently have a simple div container set up with two columns in it and a footer. If one column contains more content than the other is there a way in which I could make the background of the lesser column stretch down to the footer also so they are even?

Hope this makes sense, thank you.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
combine the two backgrounds and set it to be the container's background and repeat-y.
 
1
•••
Ah ok, I see what you mean. I'll do some looking up on -y and see how I go.
Rep added.
 
0
•••
shockie is talking about the background: repeat-y; property. -y for vertical and -x for horizontal. If your columns are independent of the other, check min-height: expressed in pixels. Some browsers are fickle with min-height especially if percentages are used.
 
0
•••
rjmlar said:
shockie is talking about the background: repeat-y; property. -y for vertical and -x for horizontal. If your columns are independent of the other, check min-height: expressed in pixels. Some browsers are fickle with min-height especially if percentages are used.
Ok thanks I'll check it out.
:gl:
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Unstoppable Domains
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back