Results 1 to 6 of 6

Thread: Table using printf (HTML, PHP, CSS, Help) [Resolved]

Threaded View

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Table using printf (HTML, PHP, CSS, Help) [Resolved]

    I am writing out a table like this:

    PHP Code:
    <table id="overskriften" height="5px" padding="0" margin="0" valign="bottom">
                        <?
                        printf("<tr><td>%s</td><td>%s</td></tr>\n",$Overskrift, $Dato);
                        ?>
                        </table>
    Don't mind all the "properties" I have on it right now, I have tried setting every "propert" I know but still FireFox makes a big table, and IE a small one. I have added a red box around the div so you can see what I mean...

    Here is the CSS:

    Code:
    #overskriften{
    	width:340px;
    	height:3px;
    	border:0;
    	cellpadding:0;
    	cellspacing:0;
    	margin: 0;
    	padding: 0;
    	background: red;
    	valign: bottom;
    }
    You can find the site here...

    http://www.klubbscenen.com/klubbny/index2.php

    what am I doing wrong.....
    Last edited by NoteMe; Apr 26th, 2004 at 01:00 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width