Name.com Cyber Monday sale: $6.99 .com domains and more. Shop the sale.

[Resolved] Novice CSS Problem.

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
combine the two backgrounds and set it to be the container's background and repeat-y.
 
1
Close
Ah ok, I see what you mean. I'll do some looking up on -y and see how I go.
Rep added.
 
0
Close
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
Close
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
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back