April 15, 201610 yr Hello, I am hoping someone might be able to help me. I am having issues with IE11 on a virtual machine I am running (mac user). I am looking at a site I have developed http://dev.whitstabledesign.com/SPS/ and can see in IE11 it is: Not showing background colours on the homepage, appointments, contact page. They should be all salmon colour, no white space at all. Also, it seems to be ignoring the top padding on every page but the homepage. Am I missing something really obvious here? Works fine on all other browsers including IE10. Edited April 15, 201610 yr by Charly
April 15, 201610 yr I had a quick look and IE 11 seems to ignore the styles applied to you <main> element. If you make it a block element (display:block;), then IE renders everything correctly.
April 15, 201610 yr Like Teodora says, IE doesn't natively recognise the `main` tag. I just generally abstain from attaching any styling to it and use it for semantic purposes only.
April 15, 201610 yr Author Thanks to both of you that did the trick - I shall refrain from using it for styling in future. Teodora - thanks so much :-)
Create an account or sign in to comment