html

border-radius is not working in Firefox for me on input types.

Everything works fine in webkit browsers. But when i'm trying to use border-radius with input[type="url"] it doesn't work. Not even just using input. Nothing still works. Css section.crypter input { border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; padding: 5px; } HTML <form> <input type="ur...

CSS - using :hover on elements other than links...

Hey, For ages now my site has had a catalogue where the small image is directly within a link within a div. The link must only be around the image - but I do not want to use the + selector since this is not supported by some versions of IE (IE6 onwards I think it needs to support). The div has class "ImageHoverSpan" (it used to be a Spa...

accesskey on mobile browser

Is accesskey still be supported among the current browsers on mobile? How can I navigate website with accesskey on mobile browser? I have tried to search online but can't find any answer. Thanks. ...

overflow-x: auto problem on firefox/ie

i have this problem with my website css overflow-x:auto ; coincidently, when i try on stackoverflow.com . I can see stackoverflow also have similar problem. when i try to make my firefox/internet explorer 7 browser window screen smaller. i can see part of the screen on upper right hand-side and lower right hand-side not render properly....

How come the last 3 rows of cells in my table are not perfectly lined up with the 1st row in my HTML table?

Here is a link my example of the mis aligned table rows Click preview in the upper top left corner of the JS Bin menu bar to see this example in the works. You can see the top 2 borders of the table cells with Email and an input field in them are a bit lower than the top 2 borders of the 2 table cells to the left of them (Username and a...

Problem with Simple_HTML_DOM cutting of in PHP

I am trying to use simple_html_dom to extract some data from a website. Unfortunately somehow in the middle of the data to be analyzed it cuts off a part which means the data that I want to extract is or is not part of the string that I can analyze. This is my code: <?php include_once('../../simple_html_dom.php'); function mouser(...

PHP - help coding echo statement to create every other line of different background colors

I am creating a table (stats_1) dynamically and would like to have each row of different background color. So far, all the lines have the same background color. I have the following php code that prints echoes out and statements: $keys = array('Col1', 'Col2','Col3','Col4','Col5','Col6','Col7'); echo '<table id="stats_1"><tr>'; ...

reducing line height on cufon text

Having a problem reducing the line height on a Cufon heading. Using the line-height property but doesn't seem to do anything, p.s I've checked for any conflicting CSS rules, any wise words? :) This is it http://www.warface.co.uk/clients/detail-shoppe Its the header under the 'New' Bubble I would like to tighten up ...

some general JavaScript questions

From the Flattr Javascript API description: <script type="text/javascript"> <!--//--><![CDATA[//><!-- (function() { var s = document.createElement('script'), t = document.getElementsByTagName('script')[0]; s.type = 'text/javascript'; s.async = true; s.src = 'http://api.flattr.com/js/0.5.0/load.js'; ...

Can table in HTML have different amount of cells on different rows?

Or should the total amount of cells equal to columns*rows? A table with different amount of cells on different rows passes the W3 Validator. ...

JavaScript: using Flattr API. how to wait until API is loaded?

Hi, I'm trying to use the Flattr JavaScript API. I included the loading code as described. But FlattrLoader.setup() does not work. I am getting the exception ReferenceError: FlattrLoader is not defined. I tried both <script type="text/javascript"> FlattrLoader.setup(); </script> and <script type="text/javascript"> window.onlo...

How can I do the equivalent of submitting a form twice with PHP?

I have a problem with a form. I need it to perform two actions with only one submit click. I've read that the best solution is a server-side script, but my knowledge of PHP is pretty limited, so I'd really appreciate any help. The two actions I need to perform are: Run a script that uploads a file and sends an email (action="uploader....

jQuery form validation issue

I'm not using any jQuery plugin to validate the form, just plain jQuery. My issue is that after it validates all the input elements, even if it shows the error message to the user, it will still submit the form without the user correcting the error. To elaborate, my form has 3 input elements. with jQuery validation, if all the 3 elemen...

How to: Dynamically move google gauge?

Watch the CPU and Memory gauges for a second here: http://code.google.com/apis/visualization/documentation/gallery/gauge.html#Loading they move dynamically. My question - the example code shown below there does not move the gauges like that (or at least when I tried it in my own project.) Does anyone know how to get it moving dyna...

Multi-line buttons in HTML

If the width of a button element isn't wide enough to contain the button text Firefox and Chrome give the button more height, IE (v7 at least) will just cut off. How can I make IE expand the height to contain the text? Ideally just using CSS. I've tried explicitly giving IE7 a height that makes the button bigger but it still just displ...

How to: Dynamically invoke javascript from asp.net input box?

I have a asp.net input box: <asp:TextBox ID="InCL" runat="server" Text=""></asp:TextBox> As soon as a number is entered I would like to send that value to a javascript function that updates a google gauge. For example, user inputs 77, the google gauge immediately dynamically moves to that position. Any help is appreciated. Tha...

jQuery carousel transformation

How can I transform jQuery carousel to show 3x3 square of images instead of 1x3? From: <- |image| |image| |image| -> To: |image| |image| |image| <- |image| |image| |image| -> |image| |image| |image| My source code is like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/x...

CSS image percentages behaving wildy

I hope it's not a conflict in my CSS styles somewhere, but on my page (http://www.marioplanet.com/product.htm) I'm trying to apply a CSS rule to all images with a class of FancyBox to shrink them from 25% of their original size. Now, I've heard that this may just be applying to the containing table cell, so please tell me if this is the...

how to draw a vertical line between two option boxes using css

I have two option boxes populated. I would like to display a vertical straight line between the two and in middle of the line write "OR". I do not remember where but I've seen this be done in some place. Basically the user will be able to select either of these two option boxes. I've placed the code on jsbin. ...

Counting words on a html web page using php

I need a PHP script which takes a URL of a web page and then echoes how many times a word is mentioned. Example This is a generic HTML page: <html> <body> <h1> This is the title </h1> <p> some description text here, <b>this</b> is a word. </p> </body> </html> This will be the PHP script: <?php htmlurl="generichtml.com"; the script ...