Discussion in 'Web Design' started by Glenn, Apr 30, 2012.
This worked in firefox and even IE but did not work in Chrome.
That's strange... you're right it doesn't work in chrome. I don't know what to tell you.... logically that should work. It looks like in chrome the outerHeight method is pulling the wrong height... maybe you could pull just the regular height and then add whatever padding that main div has to it?
Not sure how to do that either. I found yesterday that it doesn't work in older versions of IE. Not surprising though.
Sorry... I didn't clarify. You know what padding you're putting on in the CSS and I assume that won't. Change so you could use the .height() method instead of the outerHeight() method for your variable assignment. Then add the necessary padding. I'm on my phone right now so please don't make me write it out
Is there a way to have a background image for the right side of a div and different one for the left side? I need each to repeat y of coarse. That would solve my problem.
That seems to work. I'll try it on several browsers and see how often 100px = 100px.
I believe it looks right in all browsers. Take a look. I'll be moving it to it's proper site soon.
Separate names with a comma.