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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.