Hi all,
I am running in to this situation. Basically my site has many templates of css and users can change the color dynamically using jQuery. Now, the way I did it was to use jQuery to modify the css property directly by selecting the classes. However, if users switch to a different template (also dynamically), I insert .css file in ...
I have directed from one registration html page to another
If I press the back button in the toolbar the contents in that previous page should be refreshed.
Suggest me a solution
...
Is it possible to set the width of the tag "legend" at 100% in FF? In spite of all my efforts its length stays equal to the containing text.
...
We need a way to remove HTML comments when displayed to the user but not to the developer.
I'm wondering what the best way to do this is.
...
I have a string full of html & which reads
Dim strHml as string = "<html><head><title></title></head><body><div class="normal">Dog</div>
<div class="normal">Cat</div><div class="normal">Elephant</div><div class="normal">Giraffe</div><div class="normal"><div><p>Random Div</p></div>Lion</div><div>Wolf</div>
<div>Tiger</div></body></html>...
I have a PHP file that gets HTML from Memcached and serves it to user. When I test it like this:
ab -n 1000 -c 100 http://website.com/test.php
It does 22 requests per second.
But when I put the same HTML to a html file and do this test:
ab -n 1000 -c 100 http://website.com/test.html
I get like 4500 requests per second.
I n...
Hi, Im using hyperlinks as a image, well a background image so that I can do a image swap eaisly with a:hover.
I have the following:
<a class="cross" href='#'></a>
And the following css
a.cross {
background:transparent url(/images/cross-grey.png) no-repeat scroll 0 0;
float: right;
border: none;
width: 19px;
heig...
My html looks this way:
<button type="submit" class="img" name="save" value="0">Speichern</button>
<button type="submit" class="img" name="save" value="1">Speichern und Schließen</button>**
When i parse the request by using Page.Request.Form[i] the value of the key "save" is "Speichern und Schließen" and not 1 an I don't see any poss...
I have a (CSS) stacking question.
The tab-boxes on my development site below have z-index set as -1 so that their border appears behind the tabs above them, so that the active tab's white bottom border covers it. But on all browsers but Opera this makes descendants of the tab-boxes (links, forms, etc.) unclickable. You can see this at:
...
There are lots of examples of how to strip HTML tags from a document using Ruby, Hpricot and Nokogiri have inner_text methods that remove all HTML for you easily and quickly.
What I am trying to do is the opposite, remove all the text from an HTML document, leaving just the tags and their attributes.
I considered looping through the do...
Hai
I want to download a PDF file containing a special character @ But it got an error , how I passé a special character like © etc ,, I am using PHP with OOPs Concept.
Please help me ..
Thanks in advance
...
I have the following simple table to reproduce the issue:
<TABLE>
<TR>
<TD style="border: black solid 1px; width:24px; height:68px; margin:0px; padding:0px" >
<IMG
style="width: 24px; height: 68px; margin:0px; padding:0px; border:none"
src="Image24x68.png">
</TD>
</TR>
</TABLE>
The image is actually 24x8...
Given the string "<table><tr><td>Hello World!</td></tr></table>", what is the (easiest) way to get a DOM Element representing it?
...
Hi,
For personal use i am trying to parse a little html page that show in a simple grid the result of the french soccer championship.
var Url = "http://www.lfp.fr/mobile/ligue1/resultat.asp?code_jr_tr=J01";
WebResponse result = null;
WebRequest req = WebRequest.Create(Url);
result = req.GetResponse();
Stream ReceiveStream = result.GetR...
I have border-collapse: collapse set for a table, looks fine except the bottom border is cut-off:
Any workaround for this?
Thanks
...
Hi can anyone help me in maximizing the iframe window so that it make a illusion that its a page not an iframe in mozila and ie both.
I have found an article on stack overflow
http://stackoverflow.com/questions/1252412/maximize-iframe-so-it-appears-to-be-the-request-page
Applying this it solves out the ie issue but not of mozila firef...
I know that I can get the HTML (source code) of a Webbrowser control via:
HtmlDocument htmldoc = webBrowser1.Document
But this does only provide the html code of the "parent page". In case the webpage uses frames, it does not return the html code for the whole page including frames.
How can I get the complete HTML code including frame...
I have a list of news items, sorted by dateCreated. I have a preview box control where I only want to show the first item. How can I do that using XSLT?
<xml>
<news>
<newsitem>
<dateCreated>2009-09-09</dateCreated>
<summary>Something great happened</sumamry>
</newsitem>
<newsitem>
...
I would like to pass a date from a drop down list to my ID in the Html.BeginForm. This is what I have so far.
<%using (Html.BeginForm("Inquiry", "Billing", new { Date = ????? }, FormMethod.Post))
<select id="myList" name="myList" >
<option>Term - Balance</option>
foreach (var item in Model.Term)
{ ...
I have a project that requires some values to get updated with JavaScript from an HTML radio change event.
For some reason in IE, it seems that the onchange event isn't called until the radio has lost focus. Unfortunately due to the way the code is setup, I can't use the click event and have to use the change event.
Does anyone know o...