I stumbled upon the weirdest behavior in IE6/FF3 when setting custom height (even if it's the same as default) on a button. The following code should demonstrate that while the two buttons are of same height, their padding is different for some implicit reason and cannot be controlled in any fathomable way:
<!DOCTYPE html
PUBLIC "...
i have coded a header file which contains a input textbox for search.this header is include in body tag of a jsp page as shown below.
<body>
<include src="header.ssi">
<form>
</form>
onclick of button i header file i am running a javascript function.
i need to refer to this textbox in javascript function.
...
Hi All,
I have popup searcher in my application which lists the available record as hyperlink. Onclick of these links we are populating a textbox with the value.
The popup is opened using window.open method. The hyperlinks in the searcher looks like this:
When I invoke the searcher with IE's debugging enabled I am getting an error at...
In our system, we need to pass along a pair of IDs for each checkbox selected (essentially an ordered pair). We are using a simple list of checkboxes via a CheckBoxList in ASP.NET. Is there an elegant way to do this?
...
I have a composite control which emits HTML that looks like this
<span id="myControl">
<select id="myControl_select">
<option value=""></option>
<option value="1">Item 1</option>
<option value="2">Item 2</option>
</select>
</span>
I would like the parent span control to fire an event when the contained drop dow...
Hello,
My html is like this
<div id="rsContainer">
<table id="rsTable"><!-- DATA HERE --></table>
</div>
and my javascript is like this
$('#UpdateAll').click(function() {
$('#status').fadeIn('500').text('Loading... This may take a while.');
$.ajax({
type: 'post',
url: 'func.php',
data: 'action=updat...
I'm trying to build a form which submits a URL which contains a lon/lat that has been passed over from Google Maps. I have managed to get it so the lon/lat is passed into input fields in the form, how would I go about using these values dynamically in the post URL, i.e.:
action="search.asp?[lon][lat]
...
Is it possible to find out which page the user was previously browsing from current web page?
...
I have an issue that seems to be appearing in Firefox 3.5.2. When i view the page it looks find but then a click on one of the links on the page then return to the page either using the back button or clicking a link on the following page that returns to the first page. (if that makes any sense).
I use firebug when i return to the first...
I have a design which loads nicely in IE6, but as soon as I reload it 1-2 times, it all of a sudden collapses.
When I upload an updated version, it recovers from it, and breaks after a few reloads.
On a sidenote: I can't test the site on a "real" IE6, I'm using the IEtester found here:
IE Tester
Maybe it's a problem with this program?
...
Here is my HTML
<tr>
<td colspan="2" class="borderBottomCell">
<div class="benefitInfo" style="WIDTH: 99%! important;">
<asp:DropDownList runat="server" ID="ddlbc1" />
<asp:Label runat="server" ID="lblbc1" />
...
I'm doing a search within list of people. And I want it to show results on the fly and so it does. But there is one link that I need and it should look like this:
chatid=18&userid=45&create=new
but after the results are displayed through this:
$.get('/ajax.php', {sec: 'search_users', ajax: 1, search_for: $(this).val()}, function(data...
Imagine I have a navigation bar in my page header, with a number of links. I'd like the links to spread out horizontally to fill the parent ; is there a way to do this using CSS which doesn't rely on me hard-coding based on the number of links? e.g if I add or remove a link I'd like it to still work.
I tried:
<div class="navBar">
<...
Using html and css for IE7, how do I position a html table at the very top of the screen without the top border that is automatically generated?
I am developing in vs2008.
...
I am intrigued by IxEdit and its full-javascript approach that should allow to build nice web pages powered by JQuery effects.
I like also the opportunity to use it on many platforms.
But, is it worth a try ?
Is it complete ? Has it compatibility issues ? Are there better alternative tools ?
...
Hi,
I have a list of items like how its listed below, and I'm trying to get that option selected by default which has a certain tag within the "listing" tag.
<select>
<xsl:attribute name="name"><xsl:value-of select="@id"/>_type</xsl:attribute>
<option><xsl:attribute name="value"><xsl:if test="listing/Chat"><xsl:attribute name="selecte...
I have recently learned how to write HTML pages on a standalone computer, with all the references given to the directories in the local drives.
How, then, can I do the following:
Create a website, using HTML. I know I'll be able to create its look, but I don't know what should be given as the reference address (URL) if there is a hyp...
Hello
Quote from Head first html:
You can add padding to the top and bottom of inline element, but the padding doesn’t affect the spacing of the other inline elements around it, so the padding will overlap other inline elements
a) As far as I understand the above quote, adding padding to the top and bottom of inline element does...
My code is at the end of this post.
How on earth do i get "box 3" to aligh next to "box 1" OR to the content inside "box 1" instead of aligning itself at the end of "box 2".
The important thing here is that all four boxes MUST use the same style - (style 2) as it's being used in an called by an array.
Here is what it is now and what i...
How could I, on the fly, remove spaces entered into a textbox while the person is typing?
...