html

Jquery form field value

How can I the HTML string <br> from this HTML FORM pass to the DIV using Jquery? HTML FORM is: <form action="" id="submit_wall" name="submit_wall" method="post"> <textarea cols="50" rows="5" id="message_wall"></textarea> <button type="submit" id="fst" class="cfst">send</button> </form> <div id="wall"></div> <div class="msg"></div> ...

Images with rounded corners

How do sites like these get to display images with rounded corners? I checked with Firebug that the image being downloaded has sharp corners but the image being displayed has been modified somehow. EDIT: I am referring to the rounded thumbnail pictures seen in the "Featured" articles section on the site mentioned. ...

How can plain HTML controls be referenced from ASP.Net controls?

Here's my scenario, for which I guess there's a simple solution I'm missing: I want to add a confirm button for each delete link in a MVC app, so when I try this: <%= Html.ActionLink("Delete", "Delete", new { id = item.Id }, new { id = "_delete_" })%> <asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID=...

Inline style being ignored

I have a fairly simple cell in a table with an inline style: <td style="text-align: right;"> Current Status: </td> And the text-align-right is being ignored, both in Firefox and Opera. I used Firefox's "firebug", and it shows me <td style=""> for this. Any idea what could be going on? I thought that an inline style specified this w...

set html select option with jquery

I have a list in a select. After selecting an option i do a check and occasionally i want to change the selected to index 0 (first option, value=""). How do i set the select to that option with jquery? ...

How to load PHP dynamically generated XML in FLASH

Question Updated for Bounty In Flash I need to load a dynamically generated XML file, which is created using PHP. I'm using the Bulk-loader library for all my loading. Currently my Flash can only load a manually created XML file, what I need Flash to do is to load a PHP generated XML File like this: http://dev.touchstorm.com/ten_hpn_...

Html Canvas Intelligent Drawing

I'm currently implementing a HTML canvas based webapp that features panning. Is there a way to use an auxiliary buffer to hold the presently visible area so when I pan I don't have to redraw the whole canvas and only have to draw the newly visible areas? ...

How to make an element strech to the same height as the content within it?

The header div's height will not stretch vertically to fit the content within it unless I specify a height for it or unless I stick one of these: <div style="clear:both"></div> before the header div's closing tag. <style type="text/css"> #header { border: 1px solid green; } </style> <div id="header"> <span...

Why are these divs overlapping?

I putting wmd on my website. After putting code in and giving it a spin i see this image below. How can i make the preview div not overlap with the textarea? -edit- the black is the css background of div wmd-preview some html <div id="wmd-editor" class="wmd-panel"><div id="wmd-button-bar"></div> <textarea id="wmd-input" name="body" ro...

What technologies exist to integrate 3D content with web-site?

I am web-developer. I would like to integrate 3D Content into my web-site. The level of integration should allow something like 3D Cube floating above HTML Content. Moreover, I want 3D Content to be interactive, i.e. one should be able to click on certain side of the cube and get some JavaScript code executed in same way as if somebody c...

How do I set a block of text to drop to a new line all at once?

I feel like there's a simple solution to this, but I'm not really sure how to phrase it in a search, so here we go... I have a forum-like display that shows a block of text with a user image, user name, and time stamp appended to the end of the text. Many times, part of the appended section gets dropped to a new line. This is especially...

Google Maps API enableScrollWheelZoom() - why does it not zoom out correctly?

So I've got an issue with a Google map using custom tiles, but I've managed to simplify it to the example below. Taking the simple example Google provide with controls I've added the line map.enableScrollWheelZoom(); This gives me the simple HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1...

CSS - using an image along with an accent line for a paragraph heading.

A common, and good looking, typographical effect is a small image, maybe a stylized arrow, some text, and an accent line. Something like this: -> Now this paragraph --------------------------------- Where the "->" is some kind of small graphic, and the "-------" is an accent line, maybe colored. I would like to do this in css, so in a...

How to simulate a html page link click with Java ?

There is a link on a html page with the following text <Html> ... <script type="text/JavaScript"> function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; d...

An issue with fieldset

I have used fieldset tag in HTML page, whereby i need some text to appear inside a box with legend tag as Text1. The issue is that in firefox, the corners of the box get rounded, but in IE the box that appears is a rectangular one. I need the box to have rounded corners . Please suggest some thing in this regard. ...

Pushing Down Content in Webpage

I'm floating a div to the top of the window. However, it's covering the content at the top of the page, that is, it's not pushing down the very top of the page. Yet I see Stack Overflow doing this with their notification bar, because it's not covering the username/rep/links. Is there a way I can replicated this with CSS? ...

what is the name of this type of encode ?

If you copy and paste the following text in a html page, &#1575;&#1606;&#1608;&#1575;&#1606; you will the following Arabic text: انوان My question is: What is the name of this type of encoding that include numbers and hash (#) sign, and how decode it in PHP? ...

What is the first language to have inline commands in HTML code?

I'm learning PHP. The PHP has inline commands in HTML code to produce dynamic HTML output. <div> <?php echo 'hello world'; ?> </div> In Java and .NET world, there are similar syntax to have commands in HTML. I'm wondering what is the first language or platform have this kind of syntax. Having dynamic code embedded in HTML code an...

ff safari space below input value

How do I get rid of the seemingly default padding below text in an input on Firefox relative to Safari (where there is no space -what I want) http://branklin.com/queue/soq.php ...

Remove 'onclick' command from a child of a div

I am working on a website which is available at: http://www.rate-me-now.com The "top 10 Most beautiful Women" box is represented by a div ("box1"). Since I wanted that all this page-area would act as a link that clicking on it will cause a submitting of a form and moving to another page, I added to that div the attribute: <div class="...