JasonHuang JasonHuang - 4 days ago 5
HTML Question

Strange while line appear in the html

enter image description here

Can't get rid of this line anyway , here's the domain , please switch to browser mobile mode to open it . http://www.pocketsaver.co/index.php?route=mobile/home

Answer

You have a rogue h4 element floating over the top of your content.

.hotlists h4:before {
    background-image: linear-gradient(to right, #ffffff 16%, #ababab 53%, #ffffff 83%);
    content: "";
    height: 1px;
    position: absolute;
    right: 0;
    top: 50%;
    width: 100%;
}

I'm not sure the result you were expecting but if you remove position, right and top it will sort itself into the DOM with everything else and stop floating over your content.

Comments