View Full Version : Table Width Problem.

07-16-2007, 09:40 AM
I believe am postin in right forum... please have a look on this webpage (http://www.pcdc.org.pk/sample/index.html).

... problem am facing is with the width...
I can leave this as it is ... but someone wants to stretch the image according to end-users browser resolution.

I dont have any probs with height .. as ... the last image on the left is set as back ground image of <td>.... so no matter how long the data is ...

I want to stretch the top right image so it look perfect on end-user browser.

any help will be appreciated.



07-16-2007, 09:52 AM
What about applying a small vertical slice of that image taken from a proper area as repeated background?

07-16-2007, 10:03 AM
Those images have a presentational character and therefore don't belong in the content; they belong in the background, which would also make it really easy to repeat that image horizontally.

The core of your problems is a far more profound one in that your coding techniques (imageready slices, layout tables, spacer gifs) are deeply flawed.
You are strongly recommended to familiarize yourself with more contemporary techniques; HTML Dog (http://www.htmldog.com/) is a good starting point.

By the way: this page (http://www.htmldog.com/guides/cssintermediate/backgroundimages/) of the CSS intermediate tutorial addresses background images using CSS.

07-16-2007, 10:10 AM
thanks guys for ur reply....

well i tried to fix it ... by using da same trick like i did with height ..
but its messin up with the rest of layout... :(

I need to get this thing fix asap...
still tryin to come up with something diffrent which can fix this problem.

thanks anyway,


07-17-2007, 07:40 AM

Please have a look on this web-layout (http://www.pcdc.org.pk/sample/index.html)

am using Image Ready to slice this image ... and then Save Optmized As option for HTML Output. I'd manage to fix height problem ... all I want some help in width..
to avoid image resizing ... in different browsers n screen resolution.

any help will be appreciated.