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
    Regular Coder
    Join Date
    May 2006
    Posts
    216
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Div structure for the advertising Ads

    I have table design and need to transform to DIV system.

    How is correct way to do right image (on the right hand side is sample advertising image).

    As I understand middle part can have added DIV element with absolute value or relative.

    Is this correct as I have already heading/middle/footer elements...Can you supply sample code to do this?
    PHP Code:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd"
    >

    <
    html>

    <
    head>
      <
    title></title>
    <
    style type="text/css">
    <!--
    * { 
    margin0;
      
    padding0;
    }
    -->
    </
    style>
    </
    head>

    <
    body>
    <
    table border="1" cellpadding="0" cellspacing="0" bgcolor="orange" width="100%">
    <
    tr><td style="width:1008px"><img src="images/tr_image.gif"style="width:1008px;height:121px;" alt=""><h3>Header part</h3></td><td bgcolor="black" width="1"><img src="images/tr_image.gif" width="1" height="121" alt=""></td><td width="100%"><img src="images/tr_image.gif" width="313" height="1" alt=""></td></tr>
    <
    tr>
        <
    td>
    <
    h2>Middle part</h2>
    <
    br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    <
    br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
        </
    td>
    <
    td bgcolor="orange" width="1"><img src="images/tr_image.gif" width="1" height="1" alt=""></td>
    <
    td width="313" style="background:url(images/mypicture2.jpg);background-repeat:no-repeat"><img src="images/tr_image.gif" width="313" height="1" alt=""></td>
    </
    tr></table>
    </
    body>

    </
    html
    Attached Thumbnails Attached Thumbnails Div structure for the advertising Ads-mypicture2.jpg  
    Attached Images Attached Images  

  • #2
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    There is much help here.

    Use the search facility.

    This is a very good site - BonRouge.com.


    Frank
    Last edited by effpeetee; 05-28-2010 at 09:33 AM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #3
    Regular Coder
    Join Date
    May 2006
    Posts
    216
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Tell me please search query...

  • #4
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Small box - top-left marked 'Search'
    Type the word you want to search for. Results will be high-lighted on the page.
    Just try it. You can't do any harm.
    Double-click your choice to follow up.

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

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