html

List Type Style

Hi there, a very confusing thing I'm facing here. Css ul { list-style: none; padding: 1em 0; margin: 0; } li { padding: 1em; display: inline; } li a { text-decoration: none; } .normalized-list{ list-style-type: disc; list-style-image: none; list-style-position: inside; padding: 1em 1em; } .norm...

How do I change the height of a container div to fit all dynamic content?

Hi, you can find an example of my problem here: http://la.truxmap.com/truckpage?id=buttermilktruck the text content can be whatever size, from 2 lines, to the multiple paragraphs you see in the example. what i want is for the container with the white background to expand to the bottom of the static google map (this map is generated d...

searching for a program / tool that can show you screenshot how your html page show in big mail servers

i search for tool / program that i can upload my html (newsletter), and the program can show me screenshot or in other way how my newsletter seems in GMAIL / YAHOO / HOTMAIL / OUTLOOK .. the big mail servers , it saves for me , the need to open an account in every provider. and check in every mail how it seems . thanks ...

Is there a seamless newline?

When I use <br/>, there is some space between two lines. I want there is no vertical space between two lines. The line above is an image and the line below is text. I want to eliminate the space between both lines. <img src="../common/logo.jpg" /><br/> <span class="style2">A Comprehensive Online Workplace</span> I want there is no spa...

Why Float is better than position:relative and absolute while we can make layout quickly with position?

Why Float is better than position:relative and absolute while we can make layout quickly with position? and in this recession time, time is very important. when we make 2-col, 3-col or multi-col layout and then position other elements in layout divs. Most of the world favor in Float . Why Float is better than position:relative and pos...

Why does the name or value of the backButton HTML button not appear in $_POST?

Trying to detect when a user clicks "Cancel" but the $_POST on using var_export($_POST) outputs:- array ( 'descr' => '', 'formSubmitted' => '1', 'backButton_x' => '36', 'backButton_y' => '15', ) Notice: Undefined index: backButton in /home/mholt/development/BusinessPortico/class/requestHandler.class.php on line 81 Here is the...

I can't get mailto links to open the Mail app from Mobile Safari when using jQTouch. What could be wrong?

Hi all, I'm developing an iPhone web app using jQTouch, and it contains a simple mailto: link to a valid email address, which should launch the iPhone mail application when tapped—but it doesn't. If I visit a "normal" web page in Mobile Safari which contains the exact same link, and tap on it, I get the expected result: the mail app po...

Liquid Layout: How to

If I mark all my divs in percent, they fill up all the space nicely. I am facing 2 problems: a) Image sizes: How do I define image sizes so that they do not become larger or smaller than wanted as the window resizes b) Font sizes: How do I make the font size increase or decrease based on resolution - should this be done at all? (The pr...

Drupal Override Custom Menu Template

Hi Guys, I created a custom menu called "sub-top-nav" and now I'd like to override the html output. In particular I would like to add an unique class to each item like. This is how it looks atm: <div class="clear-block block block-menu" id="block-menu-menu-sub-top-nav"> <div class="content"> <ul class="menu"> <li class="...

How to embed HTML produced by C# code in XSL?

I have XSLT that creates HTML from XML. There are several parts of the resulting HTML that I need to create by external C# method (extension method). How do I embed this C# method into XSLT (within what xsl nodes? I do know how to use common extension functions inside XSLT) What should my C# function return? HTML-formatted string? Wi...

Display a custom tag within the TinyMce WYSIWYG view

I have a suite of custom tags in my application that abstract some of the common system tasks. I am using TinyMCE as my HTML editor, and want to be able to render my custom tag as an image in the editor when in the WYSIWYG view. Similar to TinyMCE's built-in behaviour for SWF files. Is there an easy way to do this in TinyMCE? UPDATE:...

css convert text

What is the CSS property that converts: all text to caps; and then to the original text itself? Thanks. ...

Avoiding too many submits to the page.

I have an HTML page in which a table with innumerable no of cells are placed all over the page. In detail a employees 24 hour day schedule is divided into 30 min cell means 48 cells in row by 100 employees on average. Each cell on click opens a popup which on submit submits the whole page again.This is been in use since ages but a new cl...

how can i edit swf file in flash cs4?

i have a player which is of swf file. I need to edit it to remove user defined conextmenu.( when i right click its showing one name, i need to remove that) Can any one help me how to do that. how i can edit swf file in flash. when i open swf file in flash am unable to edit anything. u can see the flash player here http://test2.musick...

JS or any other language hook on loading resources in a HTML page

What I am trying to accomplish: HTTP GET the contents of a site (say google.com) Then have some sort of hook or filter that will catch all resources that this page tries to load (for instance the CSS files, all JavaScript files, all images, all iframes, etc) The first thing that comes in mind is to parse the downloaded page/code and ...

Return value and item string from HTML Select using ASP

I have a select box on a classic ASP page which looks like this: <select name='reason' id='reason'> <option value='77000005471253'>Family issue</option> <option value='77000005471256'>Holiday</option> <option value='77000005471254'>Medical</option> <option value='77000005471255'>Meeting</option> </select> I can return the value elemen...

Where can I find a SWIFT form in HTML?

I'm developing a banking/accounting system and want to make possible printing a SWIFT (Society for Worldwide Interbank Financial Telecommunication) payment order. Does anybody meet a HTML template of such form? ...

jQuery .load Method causing page refresh AJAX

I have a functional JSP page that accepts URL parameters and updates a table on the page with info based on those parameters. I have a set of different tabs which pass said URL paraneters to the page they are on so it then re-loads and displays this new data. I have been trying to use jQuery .load and .ajax methods so that i can pass t...

Autostart download of file on website?

How do i automaticly start a file for download when a user clicks a link? For example when a user clicks a link that allows them to download a image. Like it works on www.iStockphoto.com ...

How to get the innerHtml, including the tag, using jQuery?

Sorry, if the title is too obscure ;D. Actually the problem is, lets say i am this code. <span id="spanIDxx" style="blah-blah"> <tag1>code here </tag2> sample text <tag2>code here </tag2> html aass hhddll sample text </span> Now if i will use the code. jQuery("#spanIDxx").html(); then it will return just the innerHTML e...