Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS New line started without using br or p tags? (HTML)

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #45110

    Hi, I have this code, which starts a new line even though I did not specify for it to do so:

    ');

    Here is my CSS:

    #duh{
    float:left;
    margin-top:-10px;
    margin-left:188px;
    background-color:white;
    opacity:1;
    width:70px;
    height:20px;
    display: block;
    white-space: nowrap;
    position:fixed;
    border-top:3px double #cdcdcd;
    border-left:3px double #cdcdcd;
    z-index:4;
    }

    Please assist me?
    Thank you! :)

    #137504
    chrisburton
    Participant

    @1ydia `display:block;` is the cause, I believe.

    #137506

    when i took that out nothing changed :c

    #137507
    chrisburton
    Participant

    @1ydia Do you have a link to the site?

    #137508

    It’s my blog. http://exhalee.com/
    The numbers under the sidebar picture are what I’m trying to fix.

    #137511
    chrisburton
    Participant

    @1ydia Try this

    #duh a {
    display: inline;
    }

    #137512

    That fixed it! Thank you!

    #137551
    Kitty Giraudel
    Participant

    You should put your scripts at the bottom of your document, no matter where they are called from.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘CSS’ is closed to new topics and replies.