dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: problem with a table

  1. #1
    Join Date
    Jul 2004
    Posts
    27

    Red face problem with a table

    the current code:


    <html>

    <head>
    <title>ReinRaus-Shop.de "Sie bringen's, Wir ver******'s"</title>
    <style type="text/css">
    body {margin:0;}
    .white {background-color:white;}
    .grey {background-color:#DFDFDF;}
    .breite {width:1024;}
    .breite2 {width:649;}
    .höhe1 {height:63;}
    .höhe2 {height:505;}
    </style>
    </head>


    <body>

    <table border="0" cellspacing="0" cellpadding="0">

    <tr>
    <td class="white, breite" height="14px"></td>
    </tr>

    <tr>
    <td class="höhe1" colspan="5"><img src="pieces/piece2.gif"></td>
    </tr>

    <tr>
    <td class="höhe2" width="168px">
    <img src="pieces/piece3.gif"></td>
    <td class="breite2, höhe1">
    <img src="pieces/piece4.jpg"></td>
    <td class="breite2, grey" height="442px">&nbsp</td>
    <td class="höhe2" width="189px">
    <img src="pieces/piece6.jpg"></td>
    </tr>

    <tr>
    <td class="breite" height="78px" colspan="5"><img src="pieces/piece7.jpg"></td>
    </tr>

    <tr>
    <td class="breite, white" height="108px">&nbsp</td>
    </tr>

    </table>

    </body>




    </html>

    its suppose to look like the attached file though...

    help please,
    daniel
    Attached Images Attached Images

  2. #2
    Join Date
    Dec 2003
    Location
    UK
    Posts
    1,141
    The problem would be your using tables for layout when tables are for tabular data, use css mate.

  3. #3
    Join Date
    Jul 2004
    Posts
    27

    i dont quite understand

    so i should line up and determin the sizes for each image in css...

    so basically use <img src... class="whatever"> and regulate them like that??

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles