html

Internet Explorer 7 css js table column display bug

Hey everybody, There is a strange bug which I can't solve. The bug is reproducable by this simplified example: css: table.class1 td.subclass1{ display : none } table.class2 td.subclass2{ display : none } html: <table class="class1"> <tr> <td class="subclass1"> Invisible </td> <td class="subclass2"> Visible </td> </tr> </tabl...

How to setup HTML for mobile Devices with an header-image, that takes whole width of browser?

Hi, my concern is that I have to build a website for mobile devices. In the concept is an image set as header. The problem is now: Different smartphones have different display resolutions. There are e.g. 840x560, 480x320 or 800x480. What do I have to write as meta-tags, css, etc. to fit the image in "every" modern smartphone to the d...

HTML spellcheck on existing text Chrome

I'm trying to use HTML spellcheck on a textarea in Chrome. This works on the text I type but, I need to use it with existing text. This doesn't work, only when I select the text then the spellcheck activates. I simply use this: <TEXTAREA spellcheck="true" class="operatorchat" name="inputtext" id="inputtext">This text is worng!</TEXTAREA...

Php/html image button help

I have some image buttons (echo'd in a loop -based on mysql results, -not included in code below) -its abit like a delete button for a message system: <form method="post"> <input type="image" src="delete.png" id="delete" name="delete" title="Delete Message" alt="Delete button" value="<? echo $row['MessageId'] ?> " > <input name="do_inse...

using html to do a skype call

Hello all, I tried to insert the following snippet in my script. By clicking the link it should do a call to a skype account. I've been looking for hours now, but can't figure out why it doesnt work. <a href="callTo://USERNAME"><img src="http://goodies.skype.com/graphics/skypeme_btn_small_green.gif&quot; border=0></a> Is it accepted i...

sifr not working in browsers, but can see it in dreamweaver preview

hi, this is my first time trying to use sifr, so pleave be gentle and forget my noobness :). ive been having some problems getting sifr to work... when finally it looked like it did (the dreamweaver preview saw the font change), no browser can see it... http://www.creatica.ro/in2itivetest/index.html this is the site im working on. t...

can't get rid of the horizontal scrollbar on my site

here is the live link I have horizontal scrollbar which doesn't really makes sense. Does anyone know how to get rid of it? ...

html code for single-line line break

i would like to show this text in my html code: <html> Name 1 Name 2 Managers </html> I tried to do this but then in the site it shows like this: Name 1 Name 2 Managers. If I put <p> on it, it will show like this: <html> <p>Name 1 </p> <p> Name 2 </p> <p> Managers </p> The result is this: Name 1 Name 2 Managers Is there...

How to get a html element by name

Is there a way in java script to get only a particular name instead of using document.getElementsByName("x"); which return an array? I have a kind of special situation where i can’t use the id. Any suggestions please? Thank You. ...

Edit contents of embedded SVG file using javascript

Hello! I have an SVG file with some math equations. Lets say I include this file into my html document. Now what I'd like to do is to make some simple modifications to the contents of the svg using javascript in the html document. A specific example My svg file contains a nicely formatted version of this equation: x^2 + 2x + 1 = ...

Put todays date on click in several textboxes

Hi. I have several textboxes, 6 to be precise. What I want is that whenever I click one of them, the current date appears on the box I just clicked. I have this so far: function dat() { var year=document.frm._data1 var currentTime = new Date() var month = currentTime.getMonth() + 1 var day = currentTime...

<col class="slick"> does not apply class to the columns of a table

My understanding of col is that it may be used to indicate a class for all the elements in a table's column. This doesn't seem to be working for me though. I can apply the class to individual td's, but I want col to help me avoid this. Here is the html head: <head> <style type="text/css"> .slick { background-color:#b0c4de; /*This ...

How do I replicate a webserver's directory listing functionality?

I am often tasked with making specialty websites for the professors at my university. Recently a professor asked me to create a site with nothing except links to files. I told him that would be easy because as long as the site didn't include an index all the file links would display automagically (yeah I did). To my dismay the univers...

Why do some of my table cells have more padding than others?

So I made a neat little photo gallery here at - http://schnell.dreamhosters.com/wallpapers.php Feel free to look around and take some of the wallpapers if you like, that's what it's there for. Anyways, the problem I'm having is that if you look very closely at the columns, the first and last ones have different amounts of padding from ...

Using wordpress as landing page that works with silverlight back end

I am web developer working on a wordpress landing page that will lead the user into an all silverlight page. Now my programmer says this can't be done and it's not supported php conflicts with silverlight/asp and so on. My web address will be www.maddog.net... I need the wordpress and silverlight portions of the website to reside in the...

Problem with a :hover event in ie7

I have a map with several divs positioned absolutely on the page. Each div has a background image which contains the normal state and the hover state in one file. When the user mouses over the div, the background image is supposed to shift up 25 pixels. In ie7, the background image shifts up 25 pixels, but it also shifts to the right abo...

How to make everything in a textfield be capital letters / uppercase?

I want to make everything I write in a textfield to be capital letters. As I write, not after losing focus. How do I do this using jQuery? ...

Is there a way to avoid displaying the keyboard in mobile safari

For instance if I have <input type="text" id="myid"> and I am using the ipad, when i focus in this input, the ipad would automatically display the keyboard. Is there a way to avoid that? Thanks ...

How to start this GMaps demo with keyboard focus on it?

I'm looking at this GMaps example, and I would like it to start with focus of keyboard (so I can navigate using diretional keys and '+' and '-' for zoom), is there a way? The example code is: <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content=...

stumbleupon badges and spanish characters

hey all, using the stumbleupon badge code for a url like http://www.test.com/¿cómo_se_dice with the following snippet <script src="http://www.stumbleupon.com/hostedbadge.php?s=2&amp;r=http://www.test.com/¿cómo_se_dice"&gt;&lt;/script&gt; it will recognize the url as http://www.test.com/cmo_se_dice and remove the spanish character...