Forums

Give help. Get help.

  • # July 9, 2018 at 10:39 am

    The text inside specially made containers (HTML and CSS codes below) often invades the space of the elements beneath it. How much the text invades depends on how much text is being used within a container and which device the webpage is being viewed on.

    Example HTML code:

    div class=”sp – container”
    …text…
    /div

    Correlating CSS code:
    .sp-container{
    width: 50%;
    float: right;
    }

    # July 9, 2018 at 1:01 pm

    We’d need to see an actual minimal demo, ideally in Codepen.io but my first question would be..

    Have you cleared the floats?

    # July 10, 2018 at 4:48 am

    I’ve cleared the floats and have solved the problem.

    Thanks very much Paulie_D!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag