473,387 Members | 1,664 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

large Image in a TD

Hello,

I would like to insert an image in a TD without changing size of the TD nor
of the Image.

Here is the less bad solution I have found :
<TD style="cursor = 'hand';">
<SPAN style="position: absolute; bottom: auto;">
<IMG>
</SPAN>
</TD>
But with this, the image (or SPAN ?) is aligned on the top left corner of
the TD and I would like it on the bottom right corner.
Any modifications I do on the TD style (cursor shape, border color) does not
appear any more. It works if I remove the SPAN.

Any idea ?

Michael
Jul 23 '05 #1
4 1020
On Sat, 27 Nov 2004 16:39:45 +0100, Michael Skind wrote:
I would like to insert an image in a TD without changing size of the TD nor
of the Image.


Does this have something to do with JavaScript? Perhaps you
are better off looking to an HTML/CSS solution.

For a CSS group, try..
<http://groups.google.com/groups?group=comp.infosystems.www.authoring.styles heets>
But be warned that they will probably demand a validated
URL before they address your question.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #2

"Michael Skind" <es****@wanadoo.fr> a écrit dans le message de news:
41***********************@news.wanadoo.fr...
Hello,

I would like to insert an image in a TD without changing size of the TD
nor of the Image.

Here is the less bad solution I have found :
<TD style="cursor = 'hand';">
<SPAN style="position: absolute; bottom: auto;">
<IMG>
</SPAN>
</TD>
But with this, the image (or SPAN ?) is aligned on the top left corner of
the TD and I would like it on the bottom right corner.
Any modifications I do on the TD style (cursor shape, border color) does
not appear any more. It works if I remove the SPAN.

Any idea ?

Michael


Here is the link :
http://jeux.furrina.com/izi/td_img.html

I have 2 problems :)
1) I would like to align my images on the bottom right corner and not on the
top left corner (as it works now)
2) My TD border should have to change it color but SPAN seems to refuse it
(it works without it)
Jul 23 '05 #3
rf
"Michael Skind" wrote:
"Michael Skind" wrote:

Any idea ?


<td style="cursor = 'hand'; position: relative;">

<img style="position: absolute; right: 0; bottom: 0;">

</td>
--
Cheers
Richard.


Jul 23 '05 #4
>
<td style="cursor = 'hand'; position: relative;">

<img style="position: absolute; right: 0; bottom: 0;">

</td>

Thanks for your help,

I am close to the solution :)
But there is still one problem.
A larger image is truncate on the right
(http://jeux.furrina.com/izi/td_img.html).
Z-INDEX propertie does not work on Image.
Do you know how to bypass this problem ?

Michael
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: CDB | last post by:
Hello I was running the Image Browser example (from the JAI book by Lawrence Rodrigues) with a very large image, specifically one of the size 12,000 x 6,000 pixels, and the image does not render...
1
by: delong | last post by:
Hi I am trying to display a large image on the form and make the form scrollable. My image is about 4200 x 7000 pixel. private void Form1_Paint(object sender,...
3
by: DOK | last post by:
I'm creating an ad for eBay and want to keep the page condensed. I have 6 images - different views of an antique lap steel guitar - that need to show superb detail. I have cropped the images to...
11
by: CSN | last post by:
Is it possible to iterate over an array in plpgsql? Something like: function insert_stuff (rel_ids int) .... foreach rel_ids as id insert into table (rel_id, val) values (id, 5);
12
by: Sharon | last post by:
I’m wrote a small DLL that used the FreeImage.DLL (that can be found at http://www.codeproject.com/bitmap/graphicsuite.asp). I also wrote a small console application in C++ (unmanaged) that uses...
3
by: Brad | last post by:
I'm working on a web app which will display LARGE tiff image files (e.g files 10-20+ mb). Files are hidden from users direct access. For other, smaller image files I have used FileStream to read...
5
by: Louis LeBlanc | last post by:
Hey folks. I'm new to the list, and not quite what you'd call a DB Guru, so please be patient with me. I'm afraid the lead up here is a bit verbose . . . I am working on an application that...
1
by: Stedak | last post by:
I have the following class I use to save Tiff's. The problem I have with it is that the final size of the images are very large. If we scan directly to a file the final tiff may be 600-900 kb.s but...
0
by: pankajinfoedge | last post by:
hi friends, i m pankaj.I am save JPEG map in MS sql server database in Image datatype formate. and show image in my application in convert image datatype to byte and save in memorystream .and...
13
by: sevenz24 | last post by:
So i have my images set up like this : http://cgi.ebay.com/Tippmann-98-paintBall-Marker-Gun-Paint-Ball_W0QQitemZ250274334261QQihZ015QQcategoryZ47248QQssPageNameZWDVWQQrdZ1QQcmdZViewItem Scroll...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.