html

How to change the Scroll bar color

Using Internet Explorer and FireFox I want to change my scroll bar color Code <div style="overflow: auto; width: 750px; height: 400px"> </div> The Above code is for Scroll bar, But How to change the scroll bar color. Tried code. <STYLE TYPE="text/css"> BODY { scrollbar-base-color: orange; scrollbar-arrow-color: green; scrollb...

Why certain DOCTYPE declarations cause 100%-height tables and divs to stop working?

It seems to me that some DOCTYPE declarations in IE (6-8) may cause the browser to ignore height="100%" on tables and divs (style="height:100%") E.g <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <title>Test1</title> </head> <body> <div style="border: 2px s...

how to play live streamings?

Hi i wanna play .asx and .swf formats. can you help me how to play these formats in website. below are the streamings i want to play http://www.radiokhushi.com/asx/liveaus1.asx http://www.radiokhushi.com/liveaus.swf Thanks, Srikanth ...

How to improve speed of dynamic HTML table creation in Firefox?

I am rendering a small table(maybe 10-12 cells) which is updated constantly. I want it to be quick. Chrome does the work very fast, but i am having problems on Firefox/IE. Any suggestions for faster rendering? Thanks ...

Accessing input type file at server side in asp.net

I am using the <input type="file" /> tag to upload a file to the server. How do I access the file at the server side and store it at the server? (The file is an image file) The client side code is : <form id="form1" action="PhotoStore.aspx" enctype="multipart/form-data"> <div> <input type="file" id="file" onchange="preview(this...

Echo PHP variable from javascript?

I have a php page with some javascript also, but this javascript below doesn't seem to work, or maybe I'm way off! I am trying something like this: var areaOption=document.getElementById("<?php echo @$_POST['annonsera_name']?>"); areaOption.selected=true; Also I have tried this, but it only alerts a BLANK alert-box: alert (<...

table size problem

sir when i insert a long string data the table size comes out of the page as show below. should i userd table-layout:fixed;word-wrap:break-word; as: table { border-width:1 px; background-color: #ffffff; border-right-color: #828DAF; border-bottom-color: #828DAF; border-top-color:#828DAF; border-left-color: #828DAF; table-layout:fixed...

wiki/docbook/latex documentation template system

Hi. I'm searching for a documentation template system or rather will be creating one. It should support the following features: Create output in PDF and HTML Support for large & complicated (LaTeX) formulas References between documents Bibliographies Templates will be filled by a Python script I've tried LaTeX with various TeX-to-HTM...

Converting an web page image layout to HTML

A graphic designer created a web page design and I have it in PSD now. What are the tools or techniques used to easily convert this image into HTML. ...

how to visualise/debug an imagemap?

I'm dynamically generating an imagemap for a chart tool I have. I was hoping to be able to set a border or color on the area tags so I could check everything was being generated with the right coords, but a little research shows this is not possible. So whats the easiest way to check my image map is correct? Are there any browser tools...

Performance impact of having classes with no styling?

Does it impact performance to have classes that are not used for styling on elements? E.g.: <div class="translatable">...</div> where .translatable is used to find all the elements that are going to have their content dynamically altered in certain situations. ...

organize HTML inside Javascript functions

Consider a Javascript function to add a HTML element to a page. In that function a line where you specify the HTML of the element is needed. But if this HTML is complex, then it can make your code look ugly and difficult to debug. Consider the following example (play attention to the ul.innerHTML like): function addHTMLField(area,limit)...

Why doesnt browser show favicon after deployment

Hi, I have a asp.net mvc web application an it uses some favicon.ico. Now when I move it to IIS 7, as an application, the favicon stops being presented even when I try to enter the full address to the favicon. The icon is still there; the full address works in the browser to find the icon alone, but not within the applications master pag...

show/hide image on click

Hi, I need to show/hide image in html page. I thought its very simple. But why I am getting error 'visible' undefined. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head><title>Ajax Test </title> <script ...

How do I convert inch to pixel?

Hello, First of all, I am talking about HTML. My client asked me to make a form that he is going to print with a thermo printer. He told me that the thermo printer uses 4x6'' papers. What width and height should I use on CSS? ...

Opening html modal dialog

All, I need to get the contents below on a modal window.I had been trying this for a while today. On modal window opened the background body contents are not accessible.and on reload page the modal popup should close down leavinfg the contents of the text area as it is. <a href="" id="link">Open Popup</a> <table><tr width="10%"><td> ...

Why does IE8 show question marks instead of bullets in HTML Password Field?

I have a password field in an HTML page that does not display bullets or asterisks when typing the password, but a small box with what appears to be a question mark symbol. I've tried this in Firefox, and there the normal bullets are shown, just like when entering passwords in other web forms. Is there a way HTML, CSS, or Javascript ca...

HTML Frame problem

Hi got a simple frame problem. I have 2 frames a top and a bottom frame. A html file opens in the top frame(final.html) and a php file in the bottom frame(final.php) When i enter data it the top frame it should post to the bottom frame but it doesnt. It just loads final.php in the top frame with the search results. The frame html code ...

<UL> <LI> tag issue in firefox

Hi, When I am aligning items vertically using <ul> & <li> tag, the following issue occurs My code is as follows : < ul> < li> yahoo < /li> < li> google < /li> < ul> I'm getting yahoo google listed horizontally in Firefox...but in IE am able to get it vertically. Plz help :) ...

how to load external flash in html

how to load external flash in html..? ...