image not extending upto end of a row

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

devendraC
New php-forum User
New php-forum User
Posts: 7
Joined: Tue Aug 19, 2003 1:57 am

image not extending upto end of a row

Postby devendraC » Tue Apr 06, 2004 2:33 am

In my html page,I am displaying an image(It is just a thick line). I want to display it in 100%.

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="37" width="100%" background="images/tableback.gif">
</td>
</tr>
</table>


The problem:
When browser window is full-screen the "line-image" extended upto end of row, but when I change browser window size(make it smaller) the "line-image" is not extended upto end, A gap remains at end.

This problem is with IE not with netscape.

Please help

Regards
Devendra

User avatar
Virtuoso
php-forum Active User
php-forum Active User
Posts: 268
Joined: Mon Jul 21, 2003 7:05 am
Contact:

Postby Virtuoso » Thu Apr 08, 2004 6:14 pm

why not try:

Code: Select all

<td height="37" width="100%" style="background-image: url(http:/xxx/images/tableback.gif); background-repeat: repeat-x">

primezero
New php-forum User
New php-forum User
Posts: 2
Joined: Sun Nov 17, 2002 5:59 pm
Location: Scottsdale, AZ
Contact:

Postby primezero » Sun Apr 11, 2004 7:46 am

could we see the website??


Return to “HTML Basics”

Who is online

Users browsing this forum: No registered users and 0 guests

cron