samedi 31 août 2019

Put links and text on same line popup window

I have a popup window that should have a header, a save button, and a close button.

This code

                <div>
                    <a href="#close" class="close">Cancel</a>
                    <a href="" class="spacer">............</a>
                    <a href="#">Deselect your free blocks</a>
                    <a href="" class="spacer">............</a>
                    <a href="#close" class="save">Save</a>
                </div>

does this

This code

                <div>
                    <a href="#close">Cancel</a>
                    <a href="" class="spacer">............</a>
                    <p >Deselect your free blocks</p>
                    <a href="" class="spacer">............</a>
                    <a href="#close">Save</a>
                </div>

does this

(The class 'spacer' just sets opacity to 0)

Any idea how I can have something that's not a link there and still have it fit on one line?




Aucun commentaire:

Enregistrer un commentaire