mercredi 2 novembre 2016

Html prevent line break between p and div

I've got the following problem:

I am trying to put a div with content and more text inside after a

tag. My problem is, that I don't want a line break after the paragraph tag.

This is my code:

                            <p>Some text</p>

                            <!-- Dropbox Daten -->
                            <div class="dropbox">
                                <span class="project db_box" data-target="db_index_daten">Daten <i class="fa fa-info-circle"></i></span>
                                <div class="details-dropbox" id="db_index_daten" hidden>
                                     <div class="box">
                                        <div class="box-text">
                                            <p style="text-align: left;">
                                               Lorem Ipsum
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- /Dropbox Daten -->

So want it like

Some text Data

and not like

Some text
   Data   

If you need something else just ask for it.




Aucun commentaire:

Enregistrer un commentaire