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 3 of 3

Thread: DIV Question

  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DIV Question

    Hi all
    Last edited by bertouk; 10-20-2007 at 02:21 PM.

  • #2
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi all,

    Got a question regarding overlapping DIVs

    I created a DIV in order to display my advert codes over our current header.

    Code:
    <style type="text/css">
    .headerAdvert{ position:absolute;
    top:10px;
    left:31%;
    margin-left:-70px;
    z-index:3;}
    </style>
    
    
    <--!Advert Code-->
    <div class="headerAdvert">
    Content <div id="lea_728x90_x"> </div>  <div id="lea_468x60_x"> </div> </div>
    This works perfectly on a 1024x768 screen but anything higher it loses its position covering our logo

    Is there anyway we can create an overlapping DIV to suit all screen sizes?

    Thanks

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Why can't you just put the ads in your header div? Can you post a link to your page?
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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