image not extending upto end of a row

Discussing Html . Code , Software , other

Moderators: egami, macek, gesf

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

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">
<td height="37" width="100%" background="images/tableback.gif">

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


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

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">

Post Reply