Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2003
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How to make DIV appears above othe DIV

    Hello all,

    I want to have a search DIV (in order to add a search button) that will appear in the header div above the logo of header DIV. Here's my header logo div
    Code:
    <div id="headerLogo">
    <p><img src="images/logo.jpg" width="800" height="150" /></p>
    </div>
    Code:
    #headerLogo {
    background-color: #B00A4C;
    text-align: center;
    }
    Can someone help me?

    Thank you in advance.

  • #2
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    not sure what you mean

    why can't you just add a div to hold your search button directly above the <p> containing your logo?

  • #3
    New Coder
    Join Date
    May 2003
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You have right, that's what i did. I had some issues with the positioning in preview mode ( i don't know why i couldn't get it right), that's why i thought my problem was search div.

    I solved the problem though, thanks for answering

  • #4
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    no problem - glad you sorted it out


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •