html

Tahoma text doesn't look smooth

Hi, I'm using the Tahoma font for my website's logo, and it doesn't look smooth, anti-aliased, like it does in my design on GIMP. Anyone know of ways to make HTML text look better, or am I going to have to just go with an image? Also, could someone explain to me why text looks this way in HTML, and why it never seems like it looked this...

File Input with a floating div not working

I have a div that I am floating as a dialog over my page. When I use try and use the , the file selector does not get shown. Any help would be appreciated. The function to create the floating div looks like function openFloat($html) { $floatDiv = $('<div id="mainFloater" class="floater" ></div>'); $center = $('<div id="floaterC...

Is it possible to prevent wrapping of child elements in HTML?

.container { position: absolute; bottom: 0px; height: 25px; left: 200px; padding-right: 5px; background-color: black; overflow: hidden; } .child { position: relative; float: left; height: 100%; width: 95px; background-color: #99CCFF; margin-left: 5px; } I when the size of the browser window is smaller than will allow for...

How to use a javascript value inside html style property value

Hi, I have created some div(s) on a page. Depending on the browser (or may be any other settings) I want to change the width of these div(s). Now, if I embed style=" blah blah blah...; width:200px" inside div tag, its ok. But I want this 200px to be, say, 220 sometime or 230 or 240 other times. So what I want now to calculate my requir...

mouse over popup menu

Creating a website using simple html(not html5) and css but got stock in mouseover effect. Need to show some text with background image when user mouseover a link. Following is an example.. NORMAL: OVER: I don't think it is possible to create the effect with simple CSS. My question is what is the most effective way to create the ove...

Launching an application from a browser (platform and browser independent), best approach?

Hello, Please forgive a question that has been addressed in some form or fashion previously. I have numerous test applications that run on various platforms from Windows 95, Windows XP, SUSE, RedHat, and other forms of *NIX. Currently, the mechanism has a native application that queries a database for some information then launches th...

HTML: How to cross check HTML Check Box

Hi, Is it possiible to cross check HTML checkbox? Thanks Sohail ...

How do you get full support of zen coding in NetBeans 6.9?

I'm using NetBeans 6.9 with the Zen Coding plugin. I was wondering if there is a way to get the selector support working in NetBeans. Currently typing this: ul#my-list>li*3>a Does not produce this: <ul id="my-list"> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> </ul> ...

I'm trying to change an Image's src attribute when the mouse hovers above it. Is there a reason why this JQuery code shouldn't work?

$('.icon1').mouseover(function(){ $(this).find('img').attr('src', 'recursos/botban/maq1.png'); }); Should work right? It's just an arbitrary test to see what was wrong, but it's still broken. I've also tried with $('.icon1').hover(function(){..., and it also does not work. What I really want is more like... $('.icon1').mouseover(...

How to click on </span> Tag ? (Webbrowser - Delphi)

Hi , how can i click on a "< / span>" tag in a html page ? like this : <span id="_ID_">Hello There</span> Is it possible ? Thanks ...

Creating a custom md5 user id from form information

Hi guys, I am creating a form that will capture all of the form data and store it in a database, what I would like to do is use some of the form data to create a custom md5 user id to prevent multiple entries, I know that this is most probably not the most ideal way of doing it, so if there is a better way of creating a unique md5 uid ...

Problems with submitting a form on a page with two forms

Hello guys, I have a page with two forms. Their ids are "delete" and "add". For the the delete form I also have a small piece of script that on submit asks if I'm sure I want to delete the selected entries: $('form#delete').submit(function(){ if(confirm('Are you sure you want to delete?')) { return true; } else { ret...

PHP HTML image output

In the PHP manual for base64_encode() I saw the following script for outputting an image. <?php $imgfile = "test.gif"; $handle = fopen($filename, "r"); $imgbinary = fread(fopen($imgfile, "r"), filesize($imgfile)); echo '<img src="data:image/gif;base64,' . base64_encode($imgbinary) . '" />'; ?> But how can you output an image dyna...

programatically highlight/select a "dl" item

the following test html creates a tabbed list (new, update, delete) on the row. the current test updates the data, via javascript/ajax calls, and so the tab selected by the user doesn't change, as the page isn't redisplayed/regenerated. however, if i change the test, to do a call back to the server, so the server has to redisplay the p...

crop text too long inside div

<div style="display:inline-block;width:100px;"> very long text </div> any way to use pure css to cut the text that is too long rather than show on next new line and only show max 100px ...

Master Page Help

Hello, I am sort of new to the whole html and css scene! All I really want to do is have a background, the content placer in the middle, and a header. An example would be this: http://img46.imageshack.us/img46/3751/38244782.png Would someone please help me do something really simple like this? Thanks ...

Why don't SSI's work for me?

I'm trying to include one html file into another. I'm coding on the MAMP stack. I assume SSI's are automatically permitted. I type <!--#include virtual="header.html" --> in the body of one html file, the other file is called header.html, and they are both in the same folder. I even tried calling the file header.shtml instead. Non...

difference between "visibility:collapse" and "display:none"

what is the difference between "visibility:collapse" and "display:none" ...

Creating a stack-view control with CSS/Javascript

I Want to create a stack type control where a series of stacked sub-divs can be re-ordered within a container div. The sub-div 'views' would be the same size and absolutely positioned on top of each other. The z-index css property seems to apply z-order at the document level, which makes no sense to me- How can an element in a given d...

Parsing SHOUTcast server information table with Javascript?

I'm currently trying to parse the html page http://84.19.184.204:8000/played.html using JS. But it's been hard since I'm new to JS... The html page contains a table which has the history of last played songs... This list is what I want to parse. I use XMLHttpRequest() but I can't understand how to parse the elements :( Can someone h...