Responsive element not working
-
Hi. I am trying to make both the width and height of my header image responsive. I have made the width responsive by using 100% and this works, yet when I also change height to a ‘%’ instead of a ‘px’ then the header breaks and is not displayed? Please can you help? The code I am using is below:
<div class=”chi_display_header” style=”height:150px; width:100%; margin: 0 10%; background-image:url(‘[image_url]’);”></div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Responsive element not working’ is closed to new replies.