html

Prompt the user to install ActiveX/.Net Class Library from browser

Hello, I build a .NET Class Library project that accesses the mshtml.HTMLDocument when called (from JavaScript). Everything works ok on my machine since I changed the permissions in .NET Configuration for Trusted Sites to have Full access. But for the end users I would like Internet Explorer to prompt them just like, say, Windows Upda...

How to increase default hover duration of <a> title attribute (tooltip)

Is there a way to increase the duration of a tool tip displayed using the title attribute of an html tag? Currently in IE it appears to only have about a 5 second duration and then disappears. ...

How to play this in internet explorer?

this is my code for player its not working in internet explorer. can anyone help me. how to make it work in all browsers? <object data="http://bitcast-b.bitgravity.com/player/6/bitgravity_player_v6_1_4.swf" id="bitgravity_player_6" type="application/x-shockwave-flash" height="350" width="500"> <param value="true" name="...

Repeating website background image - size vs speed

I was wondering if anyone has done any tests with background images. We normally create a background that repeats at least in one direction (x or y or both). Example Let's say we have a gradient background that repeats in X direction. Gradient height is 400px. We have several possibilities. We can create as small image as possible (1 pi...

JavaScript on the Calendar

<td class="text">&nbsp;<font color='red'>*</font>Date 1</td> <td nowrap title=""> <Input name="EFF_DATE" class="textrt" maxlength="10" size="25" tabindex="14" value="<%=lStrEFF_DATE%>" <%if (lStrINS_IND.equals("EASC")) { %> readonly <% } %> onfocus="if(lVarEffDateFlag != 0) lVarTempValEffDat...

HTML <sup /> tag affecting line height, how to make it consistent?

If I have a <sup /> tag in a multi-line <p /> tag, the line with the superscript on it has a larger line spacing above it than the other lines, irregardless of what line-height I put on the <p />. Edit for clarification: I don't mean i have lots of <p />s, each which is on a single line. I have a single <p /> with enough content in it t...

IE8 inherits width of parent element

Hi, I want a box with at least two elements inside and every element should be as big as the biggest element. This works fine in FF/Safari but not IE. <html> <head> <title>whatever</title> <style> .box { display: table; width: 250px; border: 1px solid red; padding: 10px; } .top { ...

CSS Trouble in IE7

Hello all, In IE7, I get gaps in between my div. Better explanation of my problem if you view it in both IE7 and Firefox. Compare this in firefox to IE7 [Edit][Removed URL]. What is the problem?? ...

How can I change a buffer view in emacs to hide HTML tags

Like any conscientious emacs user I edit blog posts with it all the time using "It's All Text". However I'm often inserting HTML hrefs into my text and when I come to do my final proof read they tend to get in the way. Is there a mode I can toggle into that will hide these elements? More generally are there any pointers on how to write ...

How to design a cross client / browser compatible email?

What are the proper practices in designing an email with a reasonable expectation that it will show up correctly for Outlook 2003, 2007 and in a webmail client? I'm subscribed to various email newletters and have viewed the source on them and have seen some of them have 2000 lines of HTML&CSS along with IF statements I've never seen befo...

Read Cookies From Internet Explorer

Hi Guys Is is possible to read cookies created in Firefox from a html page that was opended in Internet Explorer? Thanks ...

Write Outputstream in new window [ASP.NET]

How can I write an Outputstream in a new browser window? Currently, I have the code below. Obviously it opens the stream in the same window. I know I can write the Outputstream to a file and open it in a new window but that isn't an option. protected void openPDF(byte[] dados) { HttpContext contexto = HttpContext.Current; cont...

Why is my HTML Select box in Opera Browser not behaving?

I have a simple select element on my page: <select id="info_routes" size="10"></select> This select box gets populated at page load via jquery at document ready: for (var route in _routes) { var val = _routes[route].id; var key = 'route_'+val; $("<option />").attr({id: key, value: val}).appendTo('#info_routes'); $('#info_...

Reading cookie expiration date.

Is it possible to read cookie expiration date using javascript ? if yes how ? if not is there a source i can look at. Thanks ...

CSS Fluid Width inside div with fixed width

I have two divs inside a wrapper div of width 880px. The first div contains an image which can be any width, I'd like the second width to scale with it i.e: Div 1 = 300px Div 2 = 580px << this div scales to fit the parent div. Setting a width of 100% on the second div ignores the fixed width on the parent div. Is this possible using ...

Child div's disappearing on mouseout of Parent div

I have some HTML stuff like this <div id='divItemHolder'onMouseout='HideEditDiv()' onMouseover='ShowEditDiv()><div id='itemName'></div><div id='divEdit'></div></div> and in my script function ShowEditDiv() { $("#itemName").removeClass().html("<a href=\"javascript:Edit()">Edit</a>").addClass("divEdit"); } function HideEditDiv()...

Weirdness when clicking span elements

I have a FAYT input I'm checking. I type in the textbox, see the options unfold and click one of them. All this passes neatly but there is something in the process that fails because the selected category is not selected. (this feature works like a charm when you try it manually) This is the outline of the drop down suggestions' html: ...

css border-bottom iexplorer

css: .item_fact{ border-bottom:#CCCCCC 1px solid; } html: <table> <tr class="item_fact"> <td> hello </td> <td> world </td> </tr> </table> IE7 does not display the border-bottom, but firefox and chrome does! how can I hack this css? =) thx. ...

What's a good syntax for an HTML link markdown to make internal links easier?

I want to create a good syntax for making it easier to link to internal things, kind of like a Wiki, so maybe I'm thinking the user can use something like: Bah bah bah reference: [[a]] And it would convert it into HTML: Bah bah bah reference: <a href="..../id=a">title</a> but I'm worry about interjection and security issues. What'...

What is the correct way to write HTML using Javascript?

I see in some posts that people frown upon using document.write() in javascript when writing dynamic HTML. Why is this? and what is the correct way? ...