|
Hi!
I have a problem of displaying the image backgound of a table and I would like to ask for help from you.
In my case, I need to use one GIF or JPG as backgound of a table but the table must be in specific size, the picture sometime bigger than this size of the table and the result is that the picture is not always reveal all of it's body in the table.
I don't know if any way to set the size of the image backgound of the table. Please help!
Thanks for you attention!
Chua
|
|
|
|
|
Resize the image in an image editing software package...
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
Hi theJazzyBrain!
If I can directly make change to the image then it's not a problem. In my case, I need to take the pictures from the server and show them in the web page and it's one kind of selling product website which get the pictures of the good from the server so I can not do the taskof making change directly to the pic
Chua
|
|
|
|
|
I see,
but why do you want to set it as a background image then?
If you use the IMG tag then you can set the width and height attributes accordingly.
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
Hi theJazzyBrain!
Please look at http://www.venturi.be/trevi/F/showlist_framework.asp?Type=1&goal=0
so see why do I need to use it's as backgrouns
In this list, you will see sometimes a property which marked "VENDU" is mean this property is sold. To marked this property as sold, because I don't have right to modify the pictures directly (write some mark to the picture itself) so I use another transparent GIF as a mark and the picture of the property is set as background so you always see the mark lay over the picture of the property. This is a "Why".
And this is a "How". Because the pisture of the property is not always at the sme size so sometimes you can see only part of the picture not the full picture, the one which the price is 272.000 EURO at the row 3, column 2 is an exmaple only part of the picture is reveal. If these is a way to set the size of the background, I think I can solve this problem.
Do you have any idea?
Chua
|
|
|
|
|
Use DIV tags. I think that can solve the problem. You can place an image in a div tag, and then position the same anywhere on your page.
"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
|
|
|
|
|
Is it possible to get IE to read cookies set by a non-IE browser?
I wouldn't have thought so but this is a bit out of my area of expertise so I thought i'd ask.
"Sucks less" isn't progress - Kent Beck [^]
Awasu 1.1.1 [^]: A free RSS reader with support for Code Project.
|
|
|
|
|
That should be possible...
Messengers like Yahoo, and MSN are setting cookies, which are read by IE.
"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
|
|
|
|
|
Hi,,
I want to call a client side function in java script or vbscript when the user clicks Back button.. But i found no On_Back event ,, how can i do it ?
|
|
|
|
|
you might be able to compare the referrer to the window.history object.
"Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao Tzu BW
|
|
|
|
|
I've got an CGI script running an admin page. On that page there a certain links calling the script again. These are currently like this:
<a href="script.pl?Function=DoIt&Entry=123&Name=Value">Link</a>
When the page comes back the address contains the full Query String (Function=.....). This is fine, except that when somebody clicks Refresh on the browser, it will perform that function again. No Good.
So is there a way to clear the Query String from the address when I reload the page? Is there a way to link using the POST method? Or would I have to create a form for each of these links?
"Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao Tzu BW
|
|
|
|
|
You could have the link return a redirect to a page that is refresh-safe.
- Mike
|
|
|
|
|
Yeah, I guess could redirect to call itself with display parameters instead.
"Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao Tzu BW
|
|
|
|
|
Hi All,
I have made a messenger application in asp, in which through One file (suppose fileA.asp), user enters the message.
Now this file is in a frame on the file chat.asp and also there is one more frame on chat.asp, in which I call a file
(suppose fileB.asp) in which I display the messages. I am displaying the messages entered in fileA.asp through javascript
parent.document.frame1.write(msg) to fileB.asp.
All is working fine, Now my problem is, in fileB.asp the scrollbar should be always at the last msg but it remains at the
position it was.
I am writing onLoad="this.scrollTo(0,65000);" in the message I am sending through javascript but it doesnt work, while if I
view the source and copy it to fileB.asp then scrollbar comes at end. please help??
i.e. basically the problem is, if the content is actually there inside the target file of the frame then by writing
onLoad="this.scrollTo(0,65000);" the scrollbar comes at the end, but if same thing is passed to it through
frame.document.write then the scrollbar doesn't come at the end.
The code :
fileA.asp :
<%@ Language=VBScript %>
function send()
{
varMsg = document.form1.text1.value;
parent.frm1.document.write('<HTML><HEAD><META NAME=GENERATOR Content=Microsoft Visual Studio
6.0><TITLE></TITLE></HEAD><BODY bgcolor=#FAF5E6 onLoad="this.scrollTo(0,65000);"><font color=black><b> ab says
: </b></font><font
color=red>'+varMsg+'a<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<b
r>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br>ab<br></font><br></body></html>'); //
done 05092003
}
fileB.asp :
<%@ Language=VBScript %>
chat.asp :
Thanks in anticipation
Dipti
|
|
|
|
|
how to get row position of a data in a list
for example:
1.a
2.b
3.c
4.d
5.e
data 'd' is at row number 4 .
please help.
thx
dinox...
|
|
|
|
|
Just need a little clarification: Are you trying to get the row index of a particular value in a database table or in the result of a query? I'm assuming this is a database question, since you mentioned MySQL (in which case this should probably be in the SQL/ADO/ADO.NET forum).
- Mike
|
|
|
|
|
I'm sorry to had posted the topic in the wrong place coz I'm new in this forum.
I just want to get the row index in the result of a query. Pls help..thanx..
From,
topic starter
|
|
|
|
|
suthing wrote:
I just want to get the row index in the result of a query.
If you're using one of the mysql_fetch_* routines, just keep a running counter as you fetch each row.
I apologize if this doesn't answer your question; the question still seems a bit vague.
- Mike
|
|
|
|
|
Is it possible if i wanna append xml data and upload picture at a same time using the same form?
The problem i'm facing now is, when i add the 'multipart/form-data', i can't append the xml data
I know there's one solution, using 2 FORM but the project i'm doing now is designed to be put them both (file type for upload and textarea for append) together
Besides, i have no idea how to encode or decode the posted data
|
|
|
|
|
anybody any ideas how to stream media? (sthing like a webradio)
any articles on this topic?
thanks in advance,
bernhard
"I'm from the South Bronx, and I don't care what you say: those cows look dangerous." U.S. Secretary of State Colin Powell at George Bush's ranch in Texas
|
|
|
|
|
You might find some info here[^]
"Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao Tzu BW
|
|
|
|
|
or in other words Web-Based WYSIWYG HTML editor?
Does such a beast exist?
I've found this: [^] but is is a VERY basic layout..
Anyone seen anything like this in their travels?
~Mike Stanbrook
|
|
|
|
|
ASP.NET Web Matrix[^]?
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Thanks, but not quite what I am looking for.
Picture this scenario. You are hosting a website for a client. Nothing too fancy. They have the capability to visit the administration url for their site, giving them a web page that allows them to modify the layout/content of their hosted pages.
Something along the lines of the "PageBuilder" offered by (GeoCities[^]) is what I am interested in.
~Mike Stanbrook
|
|
|
|
|