1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

aligning 3 div

Discussion in 'HTML & Website Design' started by alexdog1805, Jul 17, 2012.

  1. #1
    http://cybercontact.arad-webdesign.ro/

    How to align the 3 divs (About us | Clients | Email marketing)

    And the secon problem is how to the content background ("content_bg.png") just under the orange background and not inline with the h1 ?
     
    alexdog1805, Jul 17, 2012 IP
  2. WebFerret

    WebFerret Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try giving the three div the CSS property 'float: left;' or if you prefer 'display: inline-block;'
    That should solve the alignment issue.

    Sorry, don't understand your second question, can you try re-wording it?
     
    WebFerret, Jul 17, 2012 IP
  3. alexdog1805

    alexdog1805 Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    I solved the first problem.

    The second problem is:

    - look at"[h=1]Welcome to Cyber Contact"[/h]
    how to move the background just under the orange background without moving the text "Welcome to Cyber Contact" ?
     
    alexdog1805, Jul 17, 2012 IP
  4. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #4
    You have banners height set to 280px when the background image is only 262px in height - which is why you have the white gap.
     
    workingsmart, Jul 17, 2012 IP
  5. ken.sweet

    ken.sweet Active Member

    Messages:
    683
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    93
    #5
    background image is 280px, the problem is due to h1
    #content_content h1 {
    color: #929292;
    font-size: 18px;
    margin: 0;
    padding: 30px 0 0;
    text-indent: 20px;
    }

    I have changed and added margin and padding values.
     
    ken.sweet, Jul 17, 2012 IP
  6. alexdog1805

    alexdog1805 Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    problem solved.

    THANKS!!!
     
    alexdog1805, Jul 18, 2012 IP
  7. ken.sweet

    ken.sweet Active Member

    Messages:
    683
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    93
    #7
    You are always welcome.
     
    ken.sweet, Jul 18, 2012 IP