Jump to content

[SOLVED] collapse cells inside the table


ilikephp

Recommended Posts

Hello,

when I am creating my website, i am using tables, and inside the tables I have backgroud.

I  have: footer, menu and index. I put: no borders and cell space ="0"

when I save my file using the .php extension the pictures are not collapsed, I have a white gap between cells,

and when I save it using the .html extension, everything is going fine and pictures in menu and footer are collapsed.

What should I do please!!

 

code:

 

<body>

<table width="95%" height="22" align="CENTER" cellpadding="0" cellspacing="0">

<tr valign="TOP">

<td WIDTH="2480" Align="right" valign="top" valigh="TOP" >

<br>

 

<img src="images/web-salib_01.jpg" width="1884" height="1591" alt="">

 

<td width="596" align="left" valign="TOP">

 

        <br>

        <?php include "menu.php";?>

 

</TR></TABLE>

<?PHP include "footer.php";?>

</BODY>

Link to comment
Share on other sites

I can't remember and i need to nip off, but try border=0 within the image tag??? (it could be link wrapping img, not here, but what im thinking of)

 

valigh="TOP", should be valign....

i'll have another proper go in a bit, unless anyone else can see what?

 

can you put align=center in table tag

 

try running through w3c html check (esp since this is html not php)

 

what's in menu.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.