html

IE empty image = red cross :-/

when my image is empty IE draws it like a red cross. Is there any way to avoid drawing red cross ? or as I've got asp Image I can make it invisible, but then I need to check if this image contains something or not. <asp:Image ID="Image1" runat="server" ImageUrl="Handler.ashx"/> I need to load into byte[] x = { ??? }; an white pixel i...

HTML table scrolling vertical & horizontal

Hi, I'm looking to create a table of fixed width and height that can scroll vertically and horizontally. I'm looking for the first row to be the fixed header, but also the first column to be fixed and the other columns to be able to scroll to the right. I can get the header working as such by something like this: http://www.cssplay....

Post to entire document like a form using jquery?

Hi to all, i wan't to pass a variable without using get to php, so, i'm using post with jquery, but i can't write the result into the document (refresh all the page) here is the code: $.post("/"+$(this).attr("href"),{returnto:$(this).attr("rel")},function(a){$(document).html(a);});return false;}); ...

A command-line HTML pretty-printer: Making messy HTML readable

I'm looking for recommendations for HTML pretty printers which fulfill the following requirements: Takes HTML as input, and then output a nicely formatted/correctly indented but "graphically equivalent" version of the given input HTML. Must support command-line operation. Must be open-source and run under Linux. ...

IE fails to load CSS file

Hi, I have problem with site: http://ggmedia.pl/ - IE fails to load http://ggmedia.pl/style.css When I look on HTTP headers there isn't any request for this file. Changing filename and/or path doesn't help - any ideas? ...

Change an element's text without affecting sibling tags (jQuery)

I'm trying to modify this bit of HTML with jQuery to delete the duplicate arrow: <div class="breadcrumb"> <a href="/spa/">Home</a> » » <a href="/spa/image/tid">Image galleries</a> </div> I'm not having much luck, however, in that replacing the string using the replace() function seems to strip the HTML tags as well, leaving: <div cl...

Accessing an array of HTML input text boxes using jQuery or plain Javascript

I'm looking to create a form which contains a dynamic number of input text boxes. I would like each text box to form part of an array (this would in theory make it easier for me to loop through them, especially as I won't know the number of text fields that will eventually exist). The HTML code would like something like: <p>Field 1: <in...

Beginning ASP.NET and C#

I guess the title gives most of my question away, I have a university project in which I must design and create a website in php or asp.net I have chosen the asp.net path since I am pretty familiar in php and I prefer C# to php.. Could someone please reference some good online places to visit to do some further learning, and recommend so...

Keep an SVG Object static while scrolling...

In my web application, I am generating a SVG file which contains a "header" that I would like to keep visible at the top of the window as the user scrolls down the image. I can think of two ways of accomplishing this, but am looking for any other bright ideas. My two thoughts are: Generate two separate SVGs, one being the "header" an...

jquery slider and mouseover code

All, In the code below, <html> <head> <link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" /> <script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"&gt;&lt;/script&gt; <script src="http://jqueryui.com/latest/ui/effects.core.js"&gt;&lt;/script&gt; <script src="h...

Allowed html/css/javascript - class syntax

I am in the need of defining html classes from content, so pretty much every char could be used. According to html reference I may use cdata, so I should not run into problems. I figure though, that css and/or javascript/jquery won't play nicely with that. Anyone has experience with what chars can be used without problems or if there is...

Stock Price update widget

Hi All, I am working on a small application where I can get the stock price of a particular company also if the price can be updated immediately. I guess there might be a widget that I can use but not sure which one or how. Thanks ...

html <button> tag renders strangely in Firefox

Hi, I have the following code that basically displays a <button>, and inside the button two <div>s, one aligned at the top-left corner of the button, the other aligned at the bottom-right corner: <html> <head> <style> <!-- .button { width: 300px; height: 200px; background-color: yellow; positio...

Problem with Stock Quote from Google Finance

Hi All, Below is the example I got from google finance for a stock quote. But it doesnt seem to be working. Stock price isnt displayed. Thanks <body> Hello world! Here is your portfolio:<br/> GOOG: <span id=_IG_SYM1_l></span> (<span id=_IG_SYM1_c></span>)<br/> AAPL: <span id=_IG_SYM2_l></span> (<span id=_IG_SYM2_c></span>)<br/> ...

How to customize error output in Zend_Form for table layout.

I need to output the following form layout: <tr><td>Label</td><td>Element</td></tr> <tr><td></td><td>ElementErrors</td></tr> This is needed for the elements and labels to be centered vertically and errors should be with the same indentation as elements. Can I achieve this with the usage of decorators or maybe I need to change my mark...

Problems with equal height columns

This is my CSS: #contents { clear: both; width: 900px; background: #fff url(../img/contents_bg.jpg) repeat-y; } #contents .left { float: left; width: 615px; padding: 10px 0 0 20px; } #contents .right { float: right; width: 225px; padding: 10px 20px 0 0; } And HTML: <div id="contents"> <div class="left"> <p>test</p> </div> <div c...

In html/JSF - How to make any component respond to clicks?

Hi, I've replaced the content of this question since I didn't think the previous one was formulated right. I would like to know how to make a JSF/RichFaces component handle events like mouse click/hover etc... The goal is to create nice big buttons that respond to mouse hover and mouse click. Thank you!! ...

Placing div tag at a desired position

All, In the following code <html> <head> <link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" /> <script type="text/javascript" src="http://jqueryui.com/latest/jquery1.3.2.js"&gt; </script> <script src="http://jqueryui.com/latest/ui/effects.core.js"&gt;&lt;/script&gt; <script src="ht...

Changing HTML into DOM.

Is in Java (sic!) any function which could change HTML placed in string into DOM Tree? ...

ASP.NET/jQuery Is it possible to execute a link without opening a new page?

Is it possible to have a link, once clicked, execute the href target, but not pop up a new window? ...