html

What is the default form posting method?

When an html form is submitted without specifying a method, what is the default method used? GET or POST? Has this behavior ever changed between HTML standards? Please cite a W3C standard document if possible. ...

struts2 UI components problem

Why is it that the s:textfield is placed on bottom when I insert it in between other HTML elements inside a form? How can I fix this? <label><span class="required">*</span>First name</label> <input type="text" id="firstName" name="firstName" value=""><br> <div> <s:select id="selectDrop" l...

How to create smooth headlines with HTML and CSS?

I saw a lot of web pages recently, that have very smooth headlines, like this website for example: http://boagworld.com/ How do they go about to do that? Are there any hidden clues? At one point I heard from a technique where they used Flash (I think) to embed custom fonts onto a website and then replace normal headlines with this flas...

How to selectively redirect?

I have a domain alias that i want to forward to a specific directory on my main site. How do I get it so that only people visiting the alias "fakesite.com" to be redirected to "mainsite.com/fake" instead of everyone redirected to that? ...

Can I move HTML DOM object to a browser dialog to implement "detach" functionality

If I open a browser dialog with window.open, can I move HTML DOM object back and forth? I know how to use jQuery's .detach() to move stuff (with all bound events) within the page. I wonder if there is a way to do it between a page and it's child dialog. The main purpose is to support a "detach" or "tear off" functionality for a widget...

xp_smtp_sendmail blank space added to html randomly

I have a proc where I generate small html doc with a link and send it out via xp_smtp_sendmail proc. Link is generated based on query results and is long. This works in most cases. However, sometimes the link gets broken due to spaces being inserted into querystring variable names, i.e. &Na me=John. This might vary between email client...

is it possible to rotate a div on x,y,z axises ?

Hello i don't know if that's possible but i don't know anything about this, so i decided to ask. is it possible to rotate a div on x,y,z axises using javascipt library like Jquery ? or something like this? Thanks ...

How to interact with Content behind Transparent Flex App?

Hi, I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page to show through. In this case, what's showing through is another Flash application. This works fine, but I can't interact with the Flash application showing through. I tried setting the z-index of the ...

Why is the height of DIVs containing images inflated by 4.5px?

This div will have a computed height of 104.5px (in most recent Chrome, FF, and IE) <div><img src="" height="100px" /></div> This div will have a computed height of 100px <div style="overflow:auto;"><img src="" height="100px" style="float:left;" /></div> I used FireBug to look at the DIVs and IMGs, and both IMGs have 0 for margin, ...

HTML notification: What to do on server-side

I am interested in doing a stackoverflow type notification on my website. I know there are a few questions on this topic, but all of them are concerned with the client side css and ajax. I would like to know the best way to handle things on the server side (jsp). I want to notify all users currently using the system that the server wil...

Load image using referrer header

Greetings, I'm trying to load an image dinamically. Seems like the server doesn't like me loading that image outside form their domain, so I always get with a 404, when in fact Firebug seems to load it and FF as well. What's the best approach to remove the referrer header from the GET request sent to the server via the browser? I was t...

How do I dynamically set the selected option of a drop-down list using JQuery, Javascript and html?

Hi Guys, For some reason, I can't get this to work. My options list is populated dynamically using these scripts: function addOption(selectId, value, text, selected) { var html = '<option value="'+value+'">'+text+'</option>'; if (selected == "on") { html = '<option value="'+value+'" selected="selected">'+text+'</optio...

Add background-image to <td> in PDF (ABCpdf)

I'm dynamically creating a pdf using ABCpdf (HTML -> PDF) I'm trying to create a Table Of Contents (with leaders), and I think the easiest way to get the leaders is using a repeat-x background-image. Here is my file structure: /Web    GenReport.aspx    /images       tocback.gif /Data    template.html GenReport uses an html template, ...

How to print line breaks in Python Django template.

{'quotes': u'Live before you die.\n\n"Dream as if you\'ll live forever, live as if you\'ll die today"\n\n"Love one person, take care of them until you die. You know, raise kids. Have a good life. Be a good friend. Try to be completely who you are, figure out what you personally love and go after it with everything you\'ve got no matter h...

Quirks mode rendering problem

I have the following html code snippet :- <html> <head> <style> body ul { margin: 0px; border: 1px solid black; padding: 0px; list-style-type: none; } ul li { display: inline; padding: 0px; margin: 0px; border:...

endless marquee

Ok I have this html <marquee scrollamount="6"> <a href="javascript:void(0)" ><img src="images/banner/03.gif" /></a> <a href="javascript:void(0)" ><img src="images/banner/04.gif" /></a> <a href="javascript:void(0)" ><img src="images/banner/05.gif" /></a> <a href="javascript:void(0)"...

How to get <pre> like behaviour, but ignore <br>

Hello, I have made my own custom little blog and well, I realized it was ignoring whitespace within code tags. Well, the generated code is like <div class="codebody"> Mycode<br/> other indented code<br/> othercode<br/> </div> my codebody class looks like .codebody { background-color: #FFFFFF; font-family: Courier new, courie...

Stretchy Footer

how would you make a footer container follow directly after the content and then stretch to the bottom of the page? The setup is: header-container is fixed 150px height content-container stretches with whatever content should be inside footer-container follows stretches for the remainder of the page. So far I either have the footer ...

How to overcome pop up shile replaying recorded Selenium IDE

Hi... I recorded application in selenium IDE HTML format after replaying this is the error that is displaying "Firefox prevented this site from opening pop up window" In selenium IDE in log we got error like this "[warn] Opening window '_blank', which is not a real window name. Randomizing target to be: selenium_blank54652" how...

How to overcome pop up while replaying recorded Selenium IDE (Element SubmitButton not found)

Hi... How to overcome while replaying recorded Selenium IDE HTML, i got this type of error "Element SubmitButton not found" for this error is there any command? How to insert that command? tel me the steps... ...