html

Cross-Browser display

Hello, I am testing a website on Chrome, Firefox and IE using #foot_links1, #foot_links2, #foot_links3 { position: absolute; margin-top: 55px; margin-top: 14em; color: #02102f; font-family: Arial; } #foot_links1 { left: 335px; } #foot_links2 { left: 630px; } #foot_links3 { left: 830px; } in a CSS fi...

Firefox/Safari setting height as [specified height - padding - border] for input[type=button]

When I use the following CSS: input[type=button] { background-color: white; border: 1px solid black; font-size: 15px; height: 20px; padding: 7px; } with this HTML: <input type="button" value="Foo" /> I expect to see this, so the total height becomes 36px: 1px border 7px padding 20px content (with 15px text) 7px paddin...

Flash parser for html

Hi all, As I was working on this project for a friend of mine who is terrified of changing from HTML to flash, I realized that maybe there could be a bridge between them. So I started working on a flash project that would grab the HTML from his page and parse it to display it in flash. Although I am sure there are resources available f...

When Should I Go For HTML5 & CSS3?

Hello, There is a lot of buzz about HTML5 and CSS3. How do I know that it's time to get started with them and use them straight away in my projects or how far are we from using them? Update: I don't want to apply the rules of: Graceful Degradation Progressive Enhancement I know if this is the case, then we can use them today. ...

Form with target="_blank" will produce empty POST data in IE6

I have an iframe containing a form. I want the form to point to a new window when the user submits it. Basically, the following code should do the trick: <?php var_dump($_POST); ?> <form method="post" action="test_post_to_blank.php" target="_blank"> <input type="text" name="test" value="test" /> <input type="submit" /> </form> The pro...

HTML / Javascript Selectable Timeline

Where can I find an off-the-shelf selectable HTML and Javacript timeline for choosing date ranges? ...

check for IE and display another page

I have a web app which is currently not rendering in IE. For the time being, I want to check for IE and display another page for IE visitors. How can I do it? Do I need javascript or PHP? ...

How to use HTML pages as a UI sending POST/GET's to main app on Android?

How to use HTML pages as a UI sending POST/GET's to main app on Android? So my point is to use some flash/html for the UI and some kind of server as an app core and pages provider. ...

a element not showing background image.

HI guys. I having a problem, although I dont understand why. I am trying to add a backgroung image for a "a" element, but it would only show part of the image ( so if I have Home as value, whatever space home takes that is what is shows of the image, if the value is empty it wont show anything of the image). Despite I have setted up th...

DataGrid control enable in DIV runtime

Hello, I have 2 button in ASP.net, when i pressed button1 my div innerhtml changed to some value. and when I press the button2 my datagrid will display in the same div. Please tell me how can i display the datagrid inside the div at runtime. Thanks, Manoj Singhal ...

Why is there space at the right of my website? (Wordpress)

Hi. I have a wordpress site. I don't know how this happened, but now it obviously has got a lot of spae to the right! Can some of you see through the souce and see if you find anything suspicious? It would be really appreciated! Thanks :) Site: gone! :) ...

Cannot select form with jquery

I have inherited a project, that provides an order form to a customer. The order form is a table, and the adding to cart is (meant to be!) handled with jQuery. Code I have to work with looks something like this: <table> <form id="prod1" method="post" action=""> <tr> <td>Prod Name</td><td><input type="text" na...

How do I remove the space between table data in a table row in HTML?

Hi, I am trying to figure out how to remove the extra space between table data(s) in a table row in HTML. For example in the code below there is extra space between 'First Name' table data and the 'input name' table data when the code is viewed in my web browser IE. Here's the example: <tr> <td>First Name:</td> <td><input name="fnam...

Search MySQL with PHP and display results on the same page.

Hello people. This is definately a novice question, but if you could be of any help i would be very grateful. Basically, i'm building a database management page, and it of course includes a search function. So, the search form looks something like this <form name="name" function="search.php" method="get"> But, whenever i use it, i w...

jQuery - On textarea change, post to php script and update div with result.

Can you guys help me out with this? I've got a form and it has a textarea where the user will paste in some text. I want to use jQuery to send the text they paste to a php script which will decode it and output some information. I've got a div, and I want that div to be updated with the html my script outputs. ...

Simple WYSIWYG BBCode editor for JavaScript?

Any free and simple WYSIWYG BBCode editors for JavaScript? ...

Why do some websites (like facebook) load scripts in an iframe?

Why do some websites (like facebook) load scripts in an iframe? Is this to allow the site to load more than 2 resources at a time because the iframe's resources are at different URLs? ...

How can I use java,html or javascript to convert relative href attributes into absolute paths?

I would like to open an html file locally (not fetch it from a server) and somehow ensure that the relative hrefs are turned correctly resolved. I suppose I need to convert them into absolute paths. I played around with the html element, in the head of the document, to resolve any relative links on the page, but only had limited succe...

making a list of centered text aligned next to image with CSS

I'd like to make a (non-numbered or bulleted) list of items, where each item has some text that is adjacent to an image. It's important that the text be vertically aligned to the center of the image, and that there will enough top and bottom padding so that each pair of text and image do not vertically overlap. I tried using something ...

Calling all javascript/jquery expert - How Does Firefox processes javascript

Hi, I just created an image gallery at http://nu-lightbox.appspot.com/, a google app engine. I tested this website with firefox 3.5 in Windows XP and Ubuntu Linux. If you open the website and click on the circular blue arrowed button, you will notice how jaggy (not smooth) the animation is. The weird thing is when I open the HTML pag...