|
I use VS.NET to create the layouts of all my pages. Once I am done I view them in IE and they look just the way I wanted them to. But when I fire up Netscape Browser and look at the same file then everything is out of place and messed up.
For instance using 's in CSS I could get everything center aligned in IE but I had to use tag in my code to have it center aligned in Netscape. Not to mention that even after doing that everything that was set to "relative" position in my CSS file was messed up again.
Is there a simpler solution for this problem?
Regards,
Tiruvan
|
|
|
|
|
Sorry about that I guess I shouldn't have used "div" inside the tag...but here's the message in a cleaner format:
I use VS.NET to create the layouts of all my pages. Once I am done I view them in IE and they look just the way I wanted them to. But when I fire up Netscape Browser and look at the same file then everything is out of place and messed up.
For instance using "div"s in CSS I could get everything center aligned in IE but I had to use
tag in my code to have it center aligned in Netscape. Not to mention that even after doing that everything that was set to "relative" position in my CSS file was messed up again.
Is there a simpler solution for this problem?
Regards,
Tiruvan
|
|
|
|
|
welcome to the wonderful world of broken standards read: "standards are so good lets all have one") ... basically no there isnt an easy answer ... style sheets are the key but u need at least 5 of them to cover all the bases
go look at www.richinstyle.com [^]but have a stiff drink first cos it isnt pretty
"there is no spoon" biz stuff about me
|
|
|
|
|
Hey everyone,
I posted something awhile ago about this, but not sure about it. I am looking for a web interface for my pop3 mail server. I have a mail server running sendmail and qpopper. I need a web interface to access these accounts. I am trying out squirrlmail, which looks good but it seems to be for IMAP accounts. Does anyone know if this works for pop3 (because it isn't working for me yet) and is there any other options out there that will work with pop3 accounts?
Thanks!
|
|
|
|
|
You could use iMail; it's free for personal use. I know that it runs on Windows, but I'm not sure whether there are versions for other platforms.
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
These seems like a server software that would replace something like Microsoft Exchange server. I am looking more for a web front end for my sendmail server.
Thanks
|
|
|
|
|
squirrelmail works with pop3 / smtp just fine
maybe u have some configuration issues
"there is no spoon" biz stuff about me
|
|
|
|
|
Hi,
I wanna write a filter using image transform and DXSurfaces. And,in terms of platform sdk's related guide, i using atl add a head file,<dtbase.h> including DXTmpl.h. But i can not find "DXTmpl.h" in platform sdk and dx9 sdk. And msdn describes it with "the file refer to DirectX Media sdk". why i can not find the DirectX Media in DirectX9 sdk. can you help me? thanks.
|
|
|
|
|
|
Hi
Ive written a PERL script and want a simple GUI for it.
Ive started doing it in HTML and hoped to be able to cut and paste data in, press calculate and then be presented with the findings.
How do i get data from a html forms text box, into my perl script?? Ive searched the web put everyone wants to use cgi. This wouldnt work without a web server would it?
Thanks!!
|
|
|
|
|
If you want your Perl script to be executed from a web browser, you'll need to have it as a CGI script on a web server -- that's just how things work.
If you want to build a standalone GUI for your app, there are a number of toolkits with Perl bindings you can use to construct the GUI: Win32::GUI, Gtk, Qt, Tk, etc. Since you know HTML already, you may be interested in the Tk::HTML[^] module.
- Mike
|
|
|
|
|
Hi all,
I have an interesting problem that I can't seem to get past.
In my web application, I need to create a dynamic array that contains the field names and values to pass to a database. (The value array is not a problem) The field names on the form are numerically named, 1,2,3,4 and so on. I am trying to make the array output this :
aTextFieldName(1) = Request.Form("1")
aTextFieldName(2) = Request.Form("2")
etc...
where the "number" is created on the fly
iColumnTotal = 5
For i = 1 to iColumnTotal
aTextFieldName(i) = request.Form(i)
Next
My problem is getting the number to display inside of the Request.Form brackets with the quotes. This works fine when I hard code it. I have tried escaping the quotes with chr(34)
request.Form(chr(34) & i & chr(34))
but that doesn't work, double quotes causes an error
request.Form(""i"")
and simply putting the variable without quotes won't work either.
request.Form(i)
Any of you geniuses out there have a solution?
Thanks
Doug
|
|
|
|
|
Ok your problems is a lack of understanding of how quotes work within strings. Whenever you create a string expression on the fly, it always needs to be encased in quotes (of course), so when you need a quotation mark inside the string, you have to tell vbscript that it's a quote mark and not the end of the string. You do this with a double quote. So if you have a quote mark at the start of the string, you'll end up with three quotes. So what you need to do is:
request.Form("""" & i & """")
i.e. open quote to start string, double quote to signify a quote mark and not the end of the string, then a quote to close the string.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
|
Hi
I Think you need to get the value from your form after the sumbition. Can you try the below script to read your posted values.
request.from("&i&")
As simple as to pass the value in recordset.
----------------------------
while 1
yours friendly
|
|
|
|
|
Ok, group effort! Thanks both of you guys, you pointed me in the right direction. While I wasn't able to get either of your solutions to work, it made me think a little harder and combine the best of both answers (which usually doesn't work with programming.)
Yes, I was having issues escaping the quotes as the previous methods didn't work. I tried chr(34) which works in SQL strings and double quotes as well. What I forgot to do with the double quotes was combine them with the variable by using the ampersand.
So the final solution looked like this:
For i = 1 to 5
aTextFieldName(i) = Request.form(""&i&"")
Next
Thanks again!
|
|
|
|
|
please refresh my memory! how do i fix this?
Response.Redirect("/site/Alumni/ThanksSurvey.asp?sReceive=<%=sReceive%>")
basically, after i send my data and auto replies via email, i would like to redirect the user to a thank you page. i need to grab the variable sReceive so i know what message to pick out on the thanks page.
thanks in advance for your replies,
donna
|
|
|
|
|
Response.Redirect("/site/Alumni/ThanksSurvey.asp?sReceive= " & sReceive)
----
hxxbin
|
|
|
|
|
Your right man !!!
----------------------------
while 1
yours friendly
|
|
|
|
|
Hi,
I need to write a batch file that copies all ASP files (.asp) in my CD rom to a folder in the hard drive. It should override any existing files of the same name.
Prompts will also be provided to the user on the Windows interface, and the progress of the copying over of files is shown in a pop-up box.
I'm new to batch files. Any links that I can go to?
Grateful for your help.
Thanks!
|
|
|
|
|
I never see a batch file (.BAT) file with a pop-up, If you need that I recommend use Script Hosting, in JS or VBS files. You make the script and with WScript.Echo you can make a pop-up.
----
hxxbin
|
|
|
|
|
The trouble with logging out of a session in a web application is that irrespective of the fact that you cleared the session, etc, the user can hit back a few times to the page that process the login and then hit refresh to repost the login data. Any ideas on how you would prevent the user from being able to re-post that data? I wonder if a simple response.redirect after processing the login would do that trick...
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
|
Nathan Ridley wrote:
Any ideas on how you would prevent the user from being able to re-post that data?
Note to all web application developers (myself included) - if the user hits back and resubmits form data, handle it in the manner a user would reasonably expect! This means in your case accepting the login again and sending the user to a suitable start page.
In other cases, this might mean entering the web application part way through the process, refilling in details where necessary, checking the updates being made to any databases aren't duplicated or corrupted, and so forth.
That's hard work, yes, and requires that you've designed your application and its flow before you go and write half a million lines of ASP.NET code for BoondoggleApplication 1.0.
But if it comes off, your application will be more robust in the face of the random button clickers, and you won't be asking stupid questions like "How do I disable the back button in Internet Explorer", which occur here with depressing regularity. Plus, your users will love you (or at least the next best thing, which is not wish you were killed under the weight of a thousand copies of W3C specs printed using 72 point fonts and very heavy paper.)
Browsers have features like history, back, and forward for a reason, and making your web application gratuitously broken when those are used is unacceptable!
BTW, your solution won't work. All you're doing is stuffing more stuff into the users history for them to click back and forward through .
Ian Darling
"The different versions of the UN*X brand operating system are numbered in a logical sequence: 5, 6, 7, 2, 2.9, 3, 4.0, III, 4.1, V, 4.2, V.2, and 4.3" - Alan Filipski
|
|
|
|
|
what i do is set a cookie or session var that tells me they are logged in ... any page that needs it will check for it
if they try to log in again i simple dont let them ... i redirect them back to where they came from
"there is no spoon" biz stuff about me
|
|
|
|
|
I have installed visual studio.net 2002 (professional)successfully.After i created a virtual folder and a subweb to create a new ASP.NET web application.But when i want to create the web application the following error message appeared: The file path 'g:\inetpub\wwwroot\webfolder\wavfff\cswaa2' does not correspond to the URL 'http://Localhost/webfolder/wavfff
/cswaa2'.The two need to map to the same server location.HTTP.
ERROR 500: server error.
I am using a single computer which connect to the internet by a modem and a phone line.
I want to create a web project to download it on my own web service which i build it by using the Hosing Pane in the visual studio.net.I am using the NTFS system(for the first time) to define the IIS and its components without any problems.I didnt find a solution for this problim for a long time so i will be very happy if some one help me.
|
|
|
|
|
This problem has been addressed several time. Use the search
|
|
|
|