I have viewed the source of this page and applied it to my page.
In FireFox and Safari, I can't for the life of me get the main container to be the height of the viewport. There is always an ugly margin down the bottom.
I have inspected all I can with Firebug, which seems to tell me that neither html, body or #mainContainer have the co...
I have the following code:
HTML:
<input type='text' class='a' />
<div class='inst' tag='a'></div>
<input type='text' class='b' />
<div class='inst' tag='b'></div>
<input type='text' class='c' />
<div class='inst' tag='c'></div>
JS:
$(function() {
$('.inst').click(function() {
alert($(this).attr('tag') + ' clicked');
...
Hi All,
Anybody knows about Total Validator tool which checks the site page to find out HTML errors,WACG related errors?
...
in my application I am displaying thumbnails of user album's images.What I want to do is to display a delete image button over the right corner of the album image.When user clicks on the delete image it will pass the image id and delete the image info from database.My problem is how to overlap delete image on the album image?
delete imag...
how can i style <input type="checkbox"> tags?
i need to change border type and color...
Thanks a lot
...
<script type="text/javascript">
html code here
</script>
...
Hi all, how can I embed an iframe into a jsp so that the top iframe acts like a row in a table and the bottom iframe acts as a second row in the table and the cell size is adjusted automatically to fit the contents in the iframe? By doing this, there won't be an internal iframe scroll bar appearing when the iframe content is more than th...
Will Firefox 4, Chrome 6 and IE9 secure this security hole where user history can be accessed with js?
http://www.niallkennedy.com/blog/2008/02/browser-history-sniff.html
...
Hello
I've a page in an ASP.net site where i've multiple content placeholders, script tags with JavaScript functions and others elements. I'm hiding all content holders and other html elements using JavaScript except a div which i want to display. But i get the other scripts running in that page. How can i remove them?
Any ideas?
Edit...
Hi,
I have an HTML that uses the following script as described in the first example here:
http://www.mattkruse.com/javascript/selectbox/
I want to use PHP to extract the options that are in the right select box. How do I do that if they are not actually 'selected'?
Thanks,
...
http://www.dsebd.org/latest_PE.php
The above url contain several information .From this url i just want to get bellow information.How to?
Price Earning Ratio : at a glance
on Aug 2, 2010 at 11:28:00
I want to know how to get url information into a variable or some storage container in C#.Specific i need above information ,i don't ne...
I have a html tag with inline CSS style like: <body><div style="position:absolute;top:100px;"></body> and I want to override this inline position property. So, I wrote a CSS rule like this:
body > div[style]{position:relative !important;top:0px !important;}
The above code works in Firefox. But in IE7 it does not work. Am I missing an...
Hello,
Is it possible to read the currently viewed/visible text in the viewport(in a scrollable body) of an html document?
Thanks,
Prasad Kancharla
...
I have to strip all HTML tags and attributes from a user input except the ones considered "safe" (ie, a white list approach).
strip_tags() strips all tags except the ones listed in the $allowable_tags parameter. But I also need to be able to strip all the not whitelisted attributes; for example, I want to allow the <b> tag, but I don't ...
Hi,
I'm working on one application ( using PHP, javascript ). Below is the short description about my problem statement
There are two forms avaliable on my application, i.e. SourceFrm and targetFrm.
I am taking input on first form i.e. SourceFrm and doing processing on targetFrm.
Below is the input which I am taking from SourceFrm :
...
we can get the browser name from javascript but is there any way to change css accordingly.I mean some classes of css file because I dont want to link another css file , I want to write styles on
if chrome
a img
{
margin:0;
}
//if mozila
a img
{
margin:5px;
}
...
Hi!
My application is meant to speed up the retrieval of phone call information from our telephone system.
The best way to get this information is to create a new search on the telephone system's web interface and export the results to an Excel spreadsheet which my application then imports into a DataSet.
To get the export, from the lo...
page1 or page2 on same server.
page1:
<div id="id_div">
</div>
page2:
getid=id_div
I don't care in what programming language, but how to catch id from another page ?
...
i want to show tooltip for individual li element for that i am using title attributes but it is working only in IE not n firefox and chrome what attribute should i use for these two browser
<ul class="steps">
<li class="" id="step1" runat="server" title="Element to Add / edit the Test">Step 1</li>
...
How can I stretch background image of a table cell with CSS? I have Googled without results.
When you set background image of a cell and the background size is smaller than the cell, then it will be repeated.
How can I force this background to stretch the entire table cell instead?
...