please help me to add a div tag in my website

Discussion in 'HTML & Website Design' started by buruumcmtop, Oct 30, 2010.

  1. #1
    hi, i really need help..a guy designed me a website(coded it in css) but n9w he is out of town and i nedd to add something to the page..i have attached the screenshot below..all i want to know is that how do i add a div next to the logo(kehosts) i want to add a live chat button inside that div..thanx

    ke.JPG
     
    buruumcmtop, Oct 30, 2010 IP
  2. prashantban

    prashantban Well-Known Member

    Messages:
    1,202
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    100
    #2
    after d logo code see for dis tag </div>
    just above it use <div align="right">paste here your code</div>

    thats it..
     
    prashantban, Oct 30, 2010 IP
  3. buruumcmtop

    buruumcmtop Peon

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hi thanx i tried placing it above but the div gets inserted below the logo not besides the logo here i the actual code:


    <div id="wrapper-top">
    <div id="container-top">
    <div id="top">
    <a href="./index.html"><img src="./images/logo.png" alt="" width="280" height="89" /></a> </div>
    <!-- end #top -->
    <div id="navtop">
    <ul id="topnav">
    <li id="home"><a class="current" href="./index.html">Home</a></li>
    <li><a href="#" class="style1">About</a></li>
    <li><a href="#"><strong>Hosting Features</strong></a></li>
    <li><a href="#"><strong>Packages</strong></a></li>
    <li><a href="#"><strong>Cpanel Demo</strong></a></li>
    <li><a href="#"><strong>Contact</strong></a></li>
    </ul>
     
    buruumcmtop, Oct 30, 2010 IP
  4. prashantban

    prashantban Well-Known Member

    Messages:
    1,202
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    100
    #4
    hmmm..
    go 2 d css file and search fr d id top
    increase the width and height dere as per your image requirement.
    and paste the image code just after </a> in your above code of image.
     
    prashantban, Oct 30, 2010 IP
  5. buruumcmtop

    buruumcmtop Peon

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanx alot
     
    buruumcmtop, Oct 30, 2010 IP