Guest Posted December 21, 2002 Posted December 21, 2002 Hi, I've been struggling all day with adding a table to my default page and with a 1pixel border (a 1 pixel grey image) round it, but i also want to put divsions inside this table for different contents etc. this is a rough example of what i'm after. Whats the easiest way to this, I've been setting a table up in dreamweaver then taking it across and puting it in default,php. please help! Richard
Guest Posted December 21, 2002 Posted December 21, 2002 sorry i meant to ask where's the right place to add a background image to the default page as well. I have tried but it doesn't seem to work properly.
alverman Posted December 22, 2002 Posted December 22, 2002 Try playing w/ cellpadding & cellspacing : <table bgcolor="#333333" border="0" width="600" height="350" cellspacing="0" cellpadding="0"> <tr> <td> <table border="0" width="100%" height="100%" cellspacing="1" cellpadding="0"> <tr> <td colspan="2" align="center" bgcolor="#FFFFFF" height="100">HEADER INFO</td> </tr> <tr> <td align="center" bgcolor="#FFFFFF" height="100">CONTENT</td> <td align="center" bgcolor="#FFFFFF">CONTENT</td> </tr> <tr> <td align="center" bgcolor="#FFFFFF" height="100">CONTENT</td> <td align="center" bgcolor="#FFFFFF">CONTENT</td> </tr> <tr> <td colspan="2" align="center" bgcolor="#FFFFFF" height="50">MORE TEXT</td> </tr> </table> </td> </tr> </table> background image? not sure this is what you want but I would put it in default.php : ...................... </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" background="path_to_image/image.gif"> <!-- header //--> ...................... bye
Recommended Posts
Archived
This topic is now archived and is closed to further replies.