html

Is an anchor in nested list invalid or is this a firebug error?

Hello. Is there something wrong with the following HTML, or am I simply experiencing a Firebug error? When I view the first list element in firebug, you'll see that firebug has difficulty correctly identifying the anchor; however, it has no problem with the second (outer) list element. If I remove the nested list from the first list elem...

how can i convert this a href link into a button?

echo "<a href=User_list.php?id=$row[1]&sec=$row[5]&subj=$row[6]&type=viewrec2&Year=$row[12]&faci=$row[9]>LIST</a></td>"; how can i convert this code into a button? and make the button as an image button that i made. ...

Getting java gui to open a webpage in web browser.

I am trying to get a java gui to open a web page. So the gui runs some code that does things and then produces a html file. I then want this file to open in a web browser (preferrably Firefox) as soon as it is created. How would I go about doing that? ...

Which is best free distributable code to html converter

In my application, I have a requirement to convert Java/VB/VB.net/etc program to HTML, and then use that HTML page (to insert in Word doc). Sure we can write code for this, but this will entail programming for this too, and from more than one programming languages, and dealing with bugs. Whereas it needs to be released ASAP. Using 3rd p...

Differential AJAX updates for HTML table?

I have a game on Google App Engine that's based on a 25x20 HTML table (the game board). Every 3 seconds the user can "move," which sends an AJAX request to the server, at which time the server rerenders the entire HTML table and sends it to the user. This was easy to write, but it wastes a lot of bandwidth. Are there any libraries, clie...

Sub-items in ordered lists (for IE6 and IE7)

Hello Stack Overflow, I am attempting to figure out how to create incremented lists with IE6/IE7. E.G. It should look something like below: 1.0 1.1 1.2 1.3 2.0 2.1 2.2 From what I understand, this is possible to create in CSS with something like this: UL, OL { counter-reset: item; } LI { display: block } LI:be...

How do i get the position of a child element

i need to find the position of a child element. i have a table and when a td is clicked, i want the position of the td(0,1 or 2) <table> <tr> <td> </td> <td> </td> <td> </td> </tr> </table> and a script like this <script> $("td").click(function(){ //how do i get the position of the td? alert("collumn " + columnPos...

How do I insert a new TR into the MIDDLE of a HTML table using JQuery?

I know how to append a new row to a table using JQuery: var newRow = $("<tr>..."</tr>"); $("#mytable tbody").append(newRow); The question is how do I create a new row that precedes some existing row. ...

Can anyone point me to a good article on "abstracting HTML"?

I'm currently working on a legacy eCommerce system front-end that has alot of duplicate HTML code. I'm trying to find a way to abstract out the complexity almost as you would when moving the similarities between similar classes into a shared abstract base-class. I.E. "Taking out what changes and abstracting it" I've used Java framew...

PHP/HTML - isset function

Hi I'm fairly new to PHP and am creating a website for my company. I am using some existing code that I have obtained but can't seem to make it work properly - any help would be much appreciated! I have a variable, $id, which identifies the product category type to display on the page. I first need to check that the id variable has bee...

Long page in Firefox truncated

One of the pages on my website is pretty tall. It's under 200KB in size, but it's a series of tables that takes a lot of vertical space. After about 40 screenfuls (about 1/4 of the total scrolling height of the webpage), it just stops drawing: everything above that looks fine, and everything below that is plain white background -- exce...

Submitting HTML Forms with Slider as input (WebFX)

How can I submit the value of this slider to a CGI application (like you would a check box)? Not sure if the input tag for the slider is messing something up? <div class="slider" id="slider-1" tabIndex="1"> <input class="slider-input" id="slider-input-1" name="slider-input-1"/> </div> ...

Rewriteengine in .htaccess to catch files not ending in html

I'd like to use mod rewrite in to convert web page addresses like /directory to /directory/index.html, in a standard LAMP hosting situation. What I have works for addresses that end in a slash. I can't find a way to handle addresses that don't end a slash. What seems like it should work is: rewriterule ^(.*)/$ $1/index.html [L] /* addr...

Dynamically Resizing an Iframe

Hello All, I can see that this question has been asked several times, but none of the proposed solutions seem to work for the site I am building, so I am reopening the thread. I am attempting to size an iframe based on the height of it's content. Both the page that contains the iframe and it's source page exist on the same domain. I ...

Should all links on a webpage be underlined?

Is there a rule that states that all links should be underlined to make them look like links? I have seen many sites where the footer, for example, does not have underlined links. ...

web page appears scattered when loading?

When loading a page for the first time, the images do not show for a second (like they are invisible). The structure of the page becomes appears to be scattered. If you hit refresh, it is fine. Are there fixes that can resolve this? ...

How to display a message on screen without refreshing like SO does?

The best example of this is through SO. You can be viewing a question, and without refreshing the page you will get an orange message at the top of the screen letting you know you got a badge and check your profile. This all happens without refreshing the page. I am curious how you go about doing that? I am going to guess something wit...

html form not working with select list in IE8 (IE7 Compatability)

I've come across a strange problem with a ASP.net MVC project. the following code works fine in Firefox, chrome, Safari IE8 - BUT not IE8 in IE7 Compatability mode <% Using Ajax.BeginForm("SetStatus", "StatusControl", New AjaxOptions With {.Confirm = "Are you sure you wish to change the Status?", .OnBegin = "Show_Updating", .OnComplet...

How do you force all li elements in a ul to be the same size as the largest item without setting a fixed size?

I have a list of categories on a page, each with a nested list of subcategories. The category list item style arranges the items in a grid pattern (via display:inline; float:left), with the subcategories showing underneath in a normal list layout. The categories and subcategories are user configured, though I don't expect there to be hu...

problem with frameset in Safari.

Hi All, I am facing one problem with Frames . when i am trying to redirect one page from the another framset then its giving "Undefined" error . Let say i have a frameset which i have divide into 2 horizontal frame, and again the lower the frame, i have again divide into 2 vertical frmaes and now i want to reload the right side of fra...