1. Hello Guest!

    Thank you for visiting the ClubRunner Community website, you can login using your ClubRunner account information by clicking the login link on the top of every page.
    Dismiss Notice

Markup change suggestion

Discussion in 'Website Customization' started by Anita Graham on Apr 10, 2018.

  1. Anita Graham

    By:Anita GrahamApr 10, 2018
    Community Member

    Sep 6, 2017
    Likes Received:
    Computer Networking
    I am finding that I cannot target apparently empty elements using the :empty selector because they contain white space - which give the element a child text node. Here is an example of such an element.

    <div class="content-wrapper">


    The spaces in the middle line and before the </div> seem to be for indentation.

    Is it possible to write empty divs all in one line with no spaces at all?

    (p.s. I don't know what part of the design is creating the empty element or I would delete it, as it occurs on all my pages. Perhaps related to a page banner that the template doesn't use? I can see an inaccessible element in the new page editing process.)
    thank you,