|
Shouldn't you put the style="padding-right:100px;" inside the style="WIDTH: 456px; HEIGHT: 22px"?
Try placing style="WIDTH: 456px; HEIGHT: 22px;padding-right:100px;"
It may be that your second style statement was not read, because I'm pretty sure it should work like what you said.
Ed
|
|
|
|
|
Thank you very much. But it is still not working. The text is displayed all the way to the right end. You can try that in an IE browser. I am using IE 6.0.
Thank you again.
|
|
|
|
|
Micrsoft apparently didn't choose to implement it that way in Internet Explorer.
It works as you expect in Firefox 1.0.3, Netscape 7.2 and Netscape 8.0.
Opera 7.54 and Opera 8.01 implements it the same ways as Internet Explorer.
---
b { font-weight: normal; }
|
|
|
|
|
I don't like Javascript. There are a lot of things are not possible in Javascript.
Thank you very much for your response.
|
|
|
|
|
Javascript? That is not javascript at all...
---
b { font-weight: normal; }
|
|
|
|
|
How do you get a watermark to print using .NET and style tags? I set my background image in my div tags to point to the watermark. It displays when displayed on the web, but when it prints the watermark does not show.
.Draft {
font-family: Arial, Tahoma, sans-serif;
BACKGROUND-COLOR: transparent;
text-decoration: none;
background-image: url(../Images/draftcopy1.gif);
background-repeat: no-repeat;
}
code in HTML tab...
div class="Draft" runat="server" id="DIV2"
-- modified at 16:54 Thursday 13th October, 2005
|
|
|
|
|
In IE (and other browsers) you can choose not to print background images.
Placing it as an image on the other hand will print your watermark.
Ed
|
|
|
|
|
hello all,
I am facing a problem while calling a function from IFRAME. Function is declared in parent window.
Parent window code is...
<code>
<html>
<head><title>step1</title>
<script>
function hideIframe()
{
document.getElementById("frame1").style.visibility="hidden";
}
</script>
</head>
<body>
<iframe style="position:absolute;top ;left " width=200 height=200 src="http://www.myserver.com/step2.htm">
</body>
</html>
</code>
<b>"here step2.htm page is placed on a differnt server and step1.htm is placed in different server."</b>
step2.htm has containing the followinf code....
<code>
<html>
<head><title>step2</title>
<script>
function callParent()
{
window.parent.hideIframe();
}
</script>
</head>
<body>
<a href="javascript:callParent();">Close this IFRAME</a>
</body>
</html>
</code>
<b>here when I am clicking on the "Close this IFRAME" link in the step2.htm page, I am getting a scripting error with the message saying like "Permission Denied"
Please suggest me some solution for above problem
Thanks a lot in advance
Thanks & Regards
Raju
|
|
|
|
|
You can't call a function in a page that comes from a different domain. Either you are using a different domain when opening the main page, or the browser doesn't recognise that they are the same bacause you have specified a complete url. Try changing the source for the iframe to simply "step2.htm".
---
b { font-weight: normal; }
|
|
|
|
|
hi guffa,
thanks for your reply. I am using pages from two different servers. As you said, it will not be possible to call a function of a different server from another server page in javascript.
once again thanks a lot, I have solved this problem with the combination of JavaScript and ASP.Net
|
|
|
|
|
I am unable to download any source files from any of the ASP.Net articles.Plz Help
|
|
|
|
|
Hi all,
In one of my project, for russian language, I need to have :(COLON) in the XML file. For this while generating the XML file, I am using & ndash as one of the HTML entities. While opening the Russian lanaguage page in the web browser, I want this to be converted to :
So I thought using & ndash will solve my problem. But this is giving and error.
Please help me how to translate this colon( in the russian language.
I am new to this area.
Thanks,
Thiaga
-- modified at 1:11 Thursday 13th October, 2005
|
|
|
|
|
Hi,
But why you want to give & ndash?
You can directly use colon character ( in your xml source file.
It is working.
-- modified at 1:50 Thursday 13th October, 2005
|
|
|
|
|
Oh, I will do that.
Thanks for your help.
will get back to you, incase of any problems.
|
|
|
|
|
I want to create a search engine which will search my sites'pages in javascript. i donot want to use indexserver.
is it possible to make search engine in javascript without indexserver if yes then how?
|
|
|
|
|
If you plan to use javascript for this, it means that every page on your site will have to be sent to each client for every search. If you need a search engine for your site, I bet you have quite a few pages. Sum up the total size of all pages, and make a quick calculation how long time a search would take.
If you for an example have 1 MB worth of pages, it would take a modem user (28.8 kbps) about five minutes to do a search.
---
b { font-weight: normal; }
|
|
|
|
|
Hello, I have a question about how to highlight text in a edit box in Safari browser. I have tried the createTextRange methond which works in IE and the setSelectionRange method which works in Netscape and Firefox. But both methods are not good in Safari. Is there a way to highlight part of the text in a edit box in Safari? I tried hard and searched hard, but cannot find any solution.
Thank you very much in advance.
Best wishes..
Bin
|
|
|
|
|
How can I use the DropDownList control to handle active and inactive field values. For example, a Web form is used to display historical Assignment records and has a DropDownControl called ddlProjectCode. Since we are showing historical records, ddlProjectCode has to be able to display both active and inactive ProjectCodes, but when the user tries to change the ProjectCode or add a new Assignment record, then ddlProjectCode should only list the active ProjectCodes. Has anyone come accross a similar situation?
I thought I could use the DropDownList.Text property to display any text, even if it is not in the list, but that does not seem to be the case.
|
|
|
|
|
Instead of juggling your data using one ddl, try using 2 ddls placed at the same location and show/hide them depending on your conditions.
Ed
|
|
|
|
|
That is an interesting solution. I'll try it. Thank you.
|
|
|
|
|
I have a .net web service. A few weeks back the SSL certificate was updated and now an external client is having problems posting requests. Does something need to be done to update the clients' certificate?
Thank you,
Jason W.
|
|
|
|
|
Hi
I'm developing some ActiveX controls for a web page and I was wondering if it is possible for the browser to detect that an old version of the control is registered and automatically download a new one.
I have packed the controls in a cab file which is available on a server, when a user wants to access the page the browser downloads the cab file, registers the controls and everything works fine. But if I modify one control and update the cab file will the browser be aware of the new version?
Thanks,
Marius
|
|
|
|
|
when we create form then its fields can be accesed by response.querystring() while using vbscript.
but what should do when useing javascript.
simply tell me alternative of response.querystring() in javascript
|
|
|
|
|
|
Hi,
I need urgent help. I have make a webpage with radiobuttonlists. When the user selects a setting the page must keep that setting.
When I save this page, it must be saved with the selections as the user selected it.
Please help!
Thanks
Illegal Operation
Making Computer Software Talk
|
|
|
|