Re: Help to REPEAT (not stretch!) AN IMAGE <--HORIZONTALLY--> WITHIN A CELL w/EXAMPLE



In article <49986f7b$1_6@xxxxxxxxxxxxxxx>,
John Hosking <John@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

MISS CHIEVOUS wrote:
On Feb 15, 6:53 am, John Hosking wrote:
He *could*, and so could I, and (SNIP)

Oh I doubt very strongly you have one blessed clue as to this
workaround. I only wish people like you would quit polluting a thread
that could be helpful to thousands of people -- and worse, bragging
that you have a solution.

You misunderstand me, Miss. I do not claim to have any solution. I
haven't studied your problem. I didn't get the full gist of your
requirements from your OP, or it seems that you changed the problem
mid-thread, but I have not studied it with any care. Quite likely I do
not know the solution. Probably I will not pick it up from this thread.

The point of my post was that if you don't post a URL to your attempt,
it makes it harder (or at least, more trouble) for any of us to see what
the problem is. The result tends to be fewer answers. Fewer answers tend
to equate with reduced likelihood of a solution.


You don't have a solution.
Bergamot doesn't have a solution.
And Dorayme doesn't have a solution.

I haven't one; I have none to offer. Bergamot offered something, but I'm
not convinced you tried it. I'm still waiting to see your implementation
of his suggestions. It may be that dorayme is still refining his first
suggestion, researching your problem further, or has given up on you
entirely. See if he posts something after his breakfast.

The thread started, AFAICR, with how to get a couple of images to
somehow stretch to a cell width in IE. I was able to help the OP with
one of them because it was a background mark up issue which it did not
know how to implement. But I got stuck on the other one which was an
image element stretch problem in a cell context because I could not get
it to stretch - meaning shrink too - in IE.

<http://dorayme.netweaver.com.au/alt/chievous/chievous.html>

I have been meaning to return to this. Bergamot has not really solved
the original problem as I understood it (though in no way did he deserve
the spray from OP about it!*).

What happens in IE in a table cell with an image that is marked up in
CSS or in the HTML to be 100% wide is that it acts as a min width! Oddly
enough. bergamot's image works because it is so small and stretches
fine. OP's original image was very wide natively. It would doubtless
stretch on a screen wider than about 1200px for browser widths *over*
1200px.

Here is a doc that has the OP's original, a copy of it that has been
resized and one of my own quite wide pics.

<http://dorayme.netweaver.com.au/alt/chievous/stretch.html>

The natural widths of the images - in IE only - act to make the cells
think they have to be *at least as big as* the natural width of the
images. They will stretch but not shrink! For those of you with large
screens, resize browser and see for yourself in URL above in IE6 and IE7.

IE going it alone once again!

--
dorayme
.



Relevant Pages

  • Re: Help to REPEAT (not stretch!) AN IMAGE <--HORIZONTALLY--> WITHIN A CELL w/EXAMPL
    ... The natural widths of the images - in IE only - act to make the cells ... why stretch but not contain? ... It is the browser window that brings out the behaviour. ... IE literally shrinks the cell to fit the native size of the ...
    (alt.html)
  • Re: Did my last message go through?
    ... do not know HTML programming and all the suggestions have been in HTML ... But the top border will stretch out regardless along ... I figured I could avoid this by stretching out the cell ...
    (microsoft.public.frontpage.programming)
  • Re: Image not filling a table table (html4 strict)
    ... I don't understand how "stretch to fit" relates in this problem. ... Gap, yes. ... The OP only asked about an image within a cell. ...
    (alt.html)
  • fixed and stretching cells
    ... The first row has a small cell first and ... then my content cell with a rowspan of 2 which needs to stretch ... The problem is that BOTH left column cells expand in relation to ...
    (alt.html)
  • Re: Forms and Tables
    ... makes perfect sense ... stretch - for a table heading not to be a definite and meaningful ...
    (comp.infosystems.www.authoring.html)