Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Help to REPEAT (not stretch!) AN IMAGE <--HORIZONTALLY--> WITHIN ACELL w/EXAMPLE

Reply
Thread Tools

Help to REPEAT (not stretch!) AN IMAGE <--HORIZONTALLY--> WITHIN ACELL w/EXAMPLE

 
 
Irina Rempt
Guest
Posts: n/a
 
      02-14-2009
On Saturday 14 February 2009 03:55, MISS CHIEVOUS wrote:

> Internet Explorer. I'll kill it lol.


That would seem to be the best solution!

Irina

--
"Of course it is happening inside your head, Harry, but why on earth
should that mean that it is not real?" --Albus Dumbledore
http://www.valdyas.org/foundobjects/index.cgi Latest: 13-Feb-2009

 
Reply With Quote
 
 
 
 
MISS CHIEVOUS
Guest
Posts: n/a
 
      02-14-2009
On Feb 14, 5:54*am, Irina Rempt <(E-Mail Removed)> wrote:
> On Saturday 14 February 2009 03:55, MISS CHIEVOUS wrote:
>
> > Internet Explorer. *I'll kill it lol.

>
> That would seem to be the best solution!
>
> * *Irina


LOL!! I hear you there girlfriend. Even more pathetic is to
contemplate that Microsoft has only _just_ gotten around to fixing
this so-called "CSS Bug" in Explorer ver. 8! WTF??? lol

Friends, this is almost surely a CSS script (for which I have
absolutely no experience groan) so I'll fare forward and hunt down
some CSS forums. I'll check back periodically to see if dorayme has
had a breakthrough. I so appreciate his help.

MC
 
Reply With Quote
 
 
 
 
Bergamot
Guest
Posts: n/a
 
      02-14-2009

MISS CHIEVOUS wrote:
>
> <td style=""><img style="width: 100%; height: 100%;" alt=""
> src="http://www.geocities.com/a4248713/TOP-IMAGE.jpg"><br>
>
> If I change the source code to the following by substituting
> height: 100%
> with the image's actual height
> 600px
> the image will show in IEX . . . but forces that height even as the
> window is being resized.


Don't specify a height - omit it altogether. Then the height will scale
with the width, whatever it is.

--
Berg
 
Reply With Quote
 
MISS CHIEVOUS
Guest
Posts: n/a
 
      02-14-2009
Berg, here is what I just tried with your suggestion:

- - - - - - - - - - - - - - - - - - - - - - - - - -
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-
Type">
<title>HORIZONTALLY-REPEAT AN IMAGE IN A CELL</title>
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(0, 0, 0);">
<table style="text-align: left; width: 100%; margin-left: auto; margin-
right: auto;" border="0" cellpadding="0" cellspacing="0">

<tbody>

<tr>
<td style="vertical-align: top;"><img src="http://www.geocities.com/
a4248713/TOP-IMAGE.jpg"><br>
</td>
</tr>

<tr>
<td style="vertical-align: top; background: #fff
url(http://www.geocities.com/a4248713/BO...ONTAL-TILE.jpg)
repeat-x; width: 100%; height: 800px;">
</td>
</tr>

</tbody>
</table>
<br>
</body>
</html>
- - - - - - - - - - - - - - - - - - - - - - - - - -

This doesn't work in IEX -- although I have to grant you, it does
force the top image to show up . . . but in its FIXED size. Still
no auto-sizing; if you had some other iteration of this idea, PLEASE
post it!

Explorer. Don't get me started!! Ah the millions of man hours wasted
for this lousy browser lol . . .

MC
 
Reply With Quote
 
Bergamot
Guest
Posts: n/a
 
      02-15-2009

Please learn how to quote.
http://web.presby.edu/~nnqadmin/nnq/nquote.html

MISS CHIEVOUS wrote:
> Berg, here is what I just tried with your suggestion:


And please don't post full code like this. Just post the URL and we can
check it out for ourselves. You can include a snippet in your post if
you like, but the URL is good enough.

> <td style="vertical-align: top;"><img src="http://www.geocities.com/
> a4248713/TOP-IMAGE.jpg"><br>
> </td>


> This doesn't work in IEX -- although I have to grant you, it does
> force the top image to show up . . . but in its FIXED size.


You removed both the width and height properties. Keep the width at 100%
but drop the height altogether.

--
Berg
 
Reply With Quote
 
MISS CHIEVOUS
Guest
Posts: n/a
 
      02-15-2009
On Feb 14, 4:37*pm, Bergamot <(E-Mail Removed)> wrote:
> And please don't post full code like this. Just post the URL and we can
> check it out for ourselves. You can include a snippet in your post if
> you like, but the URL is good enough.
>
> You removed both the width and height properties. Keep the width at 100%
> but drop the height altogether.
>
> Berg


You can test any code I'm posting by dropping it into Notepad and
seeing it in Explorer. I don't have unlimited space on this Geocities
account to keep throwing up multiple iterations that don't work. And
no, in answer to your recent suggestion, it doesn't work.

If you're so certain this works in Explorer, please share the EXACT,
ENTIRE code for the group, otherwise this is a fishing expedition.

MC
 
Reply With Quote
 
John Hosking
Guest
Posts: n/a
 
      02-15-2009
MISS CHIEVOUS wrote:
> On Feb 14, 4:37 pm, Bergamot wrote:
>> And please don't post full code like this. Just post the URL and we can
>> check it out for ourselves. You can include a snippet in your post if
>> you like, but the URL is good enough.
>>
>> You removed both the width and height properties. Keep the width at 100%
>> but drop the height altogether.
>>

>
> You can test any code I'm posting by dropping it into Notepad and
> seeing it in Explorer.


He *could*, and so could I, and so could a lot of folks, but we'd have
to do it individually, each and every one of us. That's a lot of
redundant work on a problem that is -- let's face it -- of most interest
to *you*. Beyond which, it's not just the two-step process you make it
sound like.

And BTW, it's Internet Explorer, not just Explorer. If you don't want to
repeatedly write "Internet Explorer," abbreviate by using "IE" like
everybody else does.

> I don't have unlimited space on this Geocities
> account to keep throwing up multiple iterations that don't work.


Then maybe you need to get a different hosting solution. If your limits
at Geocities are so tight that you can't put up three or four very
simple pages of less that 1KB each, you're living on the edge anyway.
Worst of all is the fact that Geocities has the nasty habit of mangling
your code for its own advertizing purposes.

> And
> no, in answer to your recent suggestion, it doesn't work.
>
> If you're so certain this works in Explorer, please share the EXACT,
> ENTIRE code for the group, otherwise this is a fishing expedition.
>


It's a fishing expedition when we can't see your unadulterated code. The
onus is on you to do the work. We can offer advice, make comments, ask
questions, etc., but you have to do the work.

IIUC, Bergamot told you what the problem was, offered advice, but when
you implemented his suggestions you missed a detail (which he then
pointed out). Yes? I think you'll learn better by working through the
suggestions you get, seeing what happens, and following up on the
feedback. Don't give up.


--
John
Pondering the value of the UIP: http://improve-usenet.org/
 
Reply With Quote
 
MISS CHIEVOUS
Guest
Posts: n/a
 
      02-15-2009
On Feb 15, 6:53 am, John Hosking <(E-Mail Removed)>
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 don't have a solution.
Bergamot doesn't have a solution.
And Dorayme doesn't have a solution.

The only difference is that Dorayme honestly confesses this is more
complicated than he originally thought.

"Unadulterated code"??? I'm using a stripped-down example
DELIBERATELY you fool -- because it's a LEARNING EXAMPLE. I can't
even get one cell to properly display in IEX . . . but you want an
even more complicated page? Am I understanding that you're
complaining that my example isn't SUFFICIENTLY CONFUSING?

Unbelievable.

> IIUC, Bergamot told you what the problem was, offered advice, but when
> you implemented his suggestions you missed a detail (which he then
> pointed out). Yes?


No. But nice try. I didn't miss any detail that he didn't originally
omit to qualify in the first place. THIS IS WHY THE _ENTIRE_ CODE
SHOULD BE POSTED. If the only thing an occasional HTML designer needs
to do is have the goddamned graphic on one simple page automatically
expand in IEX to the browser's width, then why suffer him to learn any
more than he has to to accomplish that ONE THING?

What are you -- the Lifestyle Police?

No, as I said earlier, people like you who show up and profess to know
how to do something but, umm, just kind of, er, 'prefer' not SAYing
how it's done is an indication of the clueless.

There is nothing wrong with being clueless. This is obviously a
considerably more complicated workaround than both Dorayme and I
originally thought. If I find the solution I will both add it to this
thread -and- upload it to that little Geocities page. I won't demand
that a user learn CSS; I'll simply TYPE OUT THE ENTIRE PAGE, FROM TOP
TO BOTTOM, and let them get up and running with a very basic example
_immediately_.

MISS CHIEVOUS
 
Reply With Quote
 
John Hosking
Guest
Posts: n/a
 
      02-15-2009
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 only difference is that Dorayme honestly confesses this is more
> complicated than he originally thought.
>
> "Unadulterated code"??? I'm using a stripped-down example
> DELIBERATELY you fool -- because it's a LEARNING EXAMPLE. I can't
> even get one cell to properly display in IEX . . . but you want an
> even more complicated page? Am I understanding that you're
> complaining that my example isn't SUFFICIENTLY CONFUSING?


No. I do not want something more complicated. I want something as simple
as possible, without some Geocities crap making your attempts into
invalid markup. I hate trying to debug a Geocities page because the
first thing I check is validity. It's aggravating.

The code snippets you post here are a pain to read, may not be what you
really tried, may contain errors, etc. A URL eliminates all doubt and
makes it easy for us to test with just a couple clicks.

>
> Unbelievable.
>


You should sell your adrenalin on e-bay.

>> IIUC, Bergamot told you what the problem was, offered advice, but when
>> you implemented his suggestions you missed a detail (which he then
>> pointed out). Yes?

>
> No. But nice try. I didn't miss any detail that he didn't originally
> omit to qualify in the first place.


So add in now what he added in later. Or just forget your problem,
ignore the suggestions pending, and leave it all unsolved. Your choice.

> THIS IS WHY THE _ENTIRE_ CODE
> SHOULD BE POSTED. If the only thing an occasional HTML designer needs
> to do is have the goddamned graphic on one simple page automatically
> expand in IEX to the browser's width, then why suffer him to learn any
> more than he has to to accomplish that ONE THING?


You don't have to learn anything if you don't want to. And nobody has to
try to teach you. Some suffering should be avoided, I agree.

>
> What are you -- the Lifestyle Police?


Hardly. If I were, I'd probably be required to have a lifestyle myself.

BTW, you know, perhaps, that most cops don't really want to go around
arresting people after the fact. They'd rather help people get along
(avoid thefts, reduce accidents, stop domestic arguments before somebody
gets hurt).

I was just suggesting that you'd get to your goal more quickly by
posting your attempts on the Web, rather than putting some snippets of
code in a NG post by means of cut-and-paste or "typing out the entire
page", both of which can be error-prone. Also, we get to see your
doctype and all the details of your attempt.

>
> [Further misunderstandings snipped]
>
> If I find the solution I will both add it to this
> thread -and- upload it to that little Geocities page. I won't demand
> that a user learn CSS; I'll simply TYPE OUT THE ENTIRE PAGE, FROM TOP
> TO BOTTOM, and let them get up and running with a very basic example
> _immediately_.


Good luck with that.



--
John
Thinking Blinky was on the right track with the UIP:
http://improve-usenet.org/
 
Reply With Quote
 
Bergamot
Guest
Posts: n/a
 
      02-15-2009

MISS CHIEVOUS wrote:
> On Feb 14, 4:37 pm, Bergamot <(E-Mail Removed)> wrote:
>> And please don't post full code like this. Just post the URL and we can
>> check it out for ourselves. You can include a snippet in your post if
>> you like, but the URL is good enough.
>>
>> You removed both the width and height properties. Keep the width at 100%
>> but drop the height altogether.

>
> You can test any code I'm posting by dropping it into Notepad and
> seeing it in Explorer.


I guess you haven't figured out how this newsgroup works. If you expect
us to help you, it is your job to make that as easy as possible for us.
Posting code is not the way, posting a URL is.

> I don't have unlimited space on this Geocities
> account to keep throwing up multiple iterations that don't work.


You're kidding, right? You could post thousands of pages like that test
page and still have plenty of space left for graphics.

> And
> no, in answer to your recent suggestion, it doesn't work.


WFM
http://www.bergamotus.ws/samples/miss-chievous.html

> If you're so certain this works in Explorer, please share the EXACT,
> ENTIRE code for the group, otherwise this is a fishing expedition.


I gave you simple enough instructions - keep the width and omit the
height. You didn't do that, so it's no surprise it didn't work.

BTW, if you're going to get all snooty and defensive about these things,
you won't get very far in these newsgroups. If you want to be spoon fed
all the answers you might want to go somewhere else, anyway. If you're
actually interested in *learning*, put your ego aside and don't bite the
hands that feed you.

--
Berg
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Swing] JTable: how to change properties of a component located in acell Hole Java 5 09-23-2009 09:51 PM
Suming data within a nested repeat region Mangler ASP General 1 02-05-2009 01:49 AM
DIV background-repeat background-image? For shadow effect jc ASP .Net 3 03-19-2008 04:19 PM
DIV background-repeat background-image for shadowing effect jc HTML 1 03-19-2008 02:16 PM
Repeat an ASP:Image button VK ASP .Net 3 04-25-2005 04:44 PM



Advertisments