Member Avatar

I'm trying to change a background image based on the height of the users window, but it is not working. I'm using @media min-height and max-height, and if I change "height" to "width" it works, but with height it does nothing.

I feel like I'm missing something really simple, but I've been searching google for hours and can't figure out whats wrong.

Here is the link to the page.

Click Here

Thanks in advance.

Member Avatar

I got it figured out. It was working all along, I just had my heights set wrong, so it was not triggering the change. I knew it had to be something simple I was missing.

Thanks anyway.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.