|
When a page looks different in IE and Fx it's almost always Fx that renders it correctly.
What doctype do you use?
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I'm using doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
This is what is set by MS-Visual Studio. From what I have been reading today Firefox is more to the standard. It's weird that it looks perfect in Visual Studio and IE, but not Firefox. I'm not sure how to adjust or fix it.
Glenn
|
|
|
|
|
Try a more recent standard. Even HTML 4.01 should be a noticeable improvement.
W3C: Recommended DTDs[^]
---
b { font-weight: normal; }
|
|
|
|
|
Hi ,
I am developing a JSP tag library to render a HTML table. But I am not able to find a proper solution to have scroll bars in table.
I have checked the out following solution:
http://www.imaputz.com/cssStuff/bigFourVersion.html[^]
But problem here is:
-I need to use different CSS for each browser
- When I resize the page it doesn't look..table header stays at particular place.
However I could fix the header in IE with a promising level but the same doesn't work in Firefox.
Another appraoch I tried is splitting the table in three seperate tables , one for header, one for body and one for footer, but there again alignment issues are there.
If anybody has worked on this please share your views.
TIA,
Sachin
|
|
|
|
|
Hello Dears
I need help for copying file from client to server using FSO for my ASP Application.
N.Rajakumar B.E.,
Application Developer,
|
|
|
|
|
If the client computer is in the same local network as the server, and if you place the file in a folder that is shared so that the server has access to it, you can copy a file to the server using FSO. Otherwise not.
---
b { font-weight: normal; }
|
|
|
|
|
I want to print a file flying on the server by the network printer.
PrintingPermissionLevel ppl = new PrintingPermissionLevel();<br />
PrintingPermission pp = new PrintingPermission(ppl);<br />
pp.Level = System.Drawing.Printing.PrintingPermissionLevel.AllPrinting;<br />
<br />
PrintDocument pd = new PrintDocument();<br />
pd.PrinterSettings.PrinterName = @"\\server1\\EPSON Stylus C41 Series"; <br />
pd.PrintPage +=new PrintPageEventHandler(pd_PrintPage);<br />
pd.Print();
But i got the error like this: tried to access "EPSON Stylus C41 Series" is invalid setting.
So how can i fix it ?
|
|
|
|
|
I have a web page with a asp:checklistbox object. I have buttons to "check all" checkboxes; however, to avoid the roundtrip back to the server, I was wondering if I could use jscript to set the checkboxes in the client.
The problem I have is how do I access all of the checkboxes that get automatically generated by the checklistbox?
If I can access all the checklistboxes of the form then I could set their value to checked.
|
|
|
|
|
I can't remember exactly how I did this, but I can tell you the steps to discover it.
* Look at the output of the webpage - That is, look at source that you get in the browser.
* Examine the IDs of the checkboxes in the list and see how they compare to the name you gave the asp:checklistbox (IIRC they will have something appended to the name, and perhaps something prefixed if it is contained in another control)
* Write some javascript to use the pattern you have discovered.
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
Colin,
Thanks for your input. You guided me into the right direction. Following is the solution in case anyone needs it as well:
<br />
<script language=vbscript><br />
option explicit<br />
<!---------------- check/clear text boxes -------------><br />
dim currChkboxName<br />
dim currCheckValue<br />
sub UpdateCheckboxes(chkboxName, checkValue)<br />
currChkboxName = chkboxName<br />
currCheckValue = checkValue<br />
dim i<br />
for i = 0 to Form1.children.length-1<br />
UpdateChildCheckboxes Form1.children(i)<br />
next<br />
end sub<br />
sub UpdateChildCheckboxes(obj)<br />
dim i <br />
if not obj is nothing then<br />
if obj.id <> "" then<br />
if InStr(1, obj.id, currChkboxName) > 0 then<br />
obj.checked = currCheckValue<br />
end if<br />
end if<br />
for i = 0 to obj.children.length<br />
UpdateChildCheckboxes obj.children(i)<br />
next<br />
end if<br />
end sub<br />
</script><br />
Then declare the buttons as follows:
<br />
<input id="btnClearTestConditions" type=button value="Clear All" onClick="UpdateCheckboxes 'cklTestConditions_', false" /><br />
<input id="btnCheckAllTestConditions" type=button value="Check All" onClick="UpdateCheckboxes 'cklTestConditions_', true" ><br />
|
|
|
|
|
Hi all,
Hope someone out there can help me with this one
I have multiple web sites which i want to place ads on... I want to hold the ads on a single database which all sites can access.
So I created the database and a banner.asp page which displays a random ad, works perfectly!
I then attempted, from another web site, to call the banner.asp with the #include virtual.... there was the problem.... I found you can only #include within the same web site.
Does anyone know how I could get around this issue... as I do not want to have a database on each website. Just the ability to 'call' an ad from a central database on another web site.
All advice is welcomed...
Thanks in advance,
Jason
|
|
|
|
|
You could use an IFRAME
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
HRESULT createElement(BSTR eTag, IHTMLElement **newElem);
Is it possible to use any tag name for eTag (for example numbers, 1, 2, 3...) to create element?
|
|
|
|
|
Can be IE put in design mode by using: HRESULT IHTMLDocument2::put_designMode(BSTR v);
Thank you.
|
|
|
|
|
Hi there, having trouble with a menu in dhtml.
basically the javasript function is simple it displays the menu or closes it depending on mouseover or mouseout. the only thing is that the menu closes before you can get a chance to make a selection from the menu items. (ie its closing the menu when the mouse moves of the top line of the menu.. as opposed to the whole of the menu) any help gratefully received!
|
|
|
|
|
hi,
How to capture events in the javascript file that are fired from a dll?
Event source – A dll created as an ATL control object
Event Handler - javascript file.
Instance of object is created in the javascript file using ActiveXObject(ComponentName.ClassName).Through this instance I can access methods written in the dll.
Using Object Tag in HTML file works fine. But don't know how to handle events in the Javascript file.
Pls send in your comments.
Thnx,
Bobina
|
|
|
|
|
i am planing to make parser for html...so did anyone have the grammar for html or context free grammar?
|
|
|
|
|
Then, you want to study the DTD for HTML at HTML 4 Document Type Defintion which contains the DTD for HTML 4.01. This provifes a context-free grammar definition in terms of the structure of HTML 4.01 and should suit your needs quite well since most of it is in Backus-Naur form.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Hi,
How to get text from html page in IE, modify it and put back in IE?
I need it to translate page.
Thank you.
|
|
|
|
|
Is there a way to force the position of a <table> to the bottom of the page (i.e. to hold the contents of the page footer)? Thanks,
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
Figured it out:
<table style="position:absolute; left:0px; bottom:0px;">
<tr>
<td>
Some text
</td>
</tr>
</table> /ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
I am currently trying to follow the Que Publishing exam guide to the Microsoft Exam 70-320.
I followed the guide to a t, but when I try to add a web reference to my server side soap extension it gives me the following error:-
An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'BugTracker.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="WebService1.Global" %>
Source File: f:\inetpub\wwwroot\70-320\320C05\BugTracker\global.asax Line: 1
I have even tried creating a perfectly fresh web service created by visual studio and still get the same error when I try to use a web reference to it. I have also tried removing "BugTracker.Global" and replacing it with "Global" but to no avail. All my namespaces are correct as well.
Does anyone have any ideas how I may rectify this error as it is driving me mad!
Many thanks
Paul
|
|
|
|
|
Hi
Let me know what is IFRAME & purpose in ASP.
thanking you
regards
rex
|
|
|
|
|
Dear to all,
In ASP,How we can create COM in ASP?for instance,Login control normally we are using in every web design,for that reason can create a COM for Login control, like that MAIL creation in ASP too .Let me know,if you've any idea.
thanking you
regards
rex
|
|
|
|
|
You can't create a COM component using ASP. You need a compiling programming language.
---
b { font-weight: normal; }
|
|
|
|