html

Footer problem in CSS... Need help

Hi people AIM : I want to position footer based on many factors. It can be found here 1) I want to position the footer at the bottom of the screen if there is no content(or may be 1 or 2 lines) on my page. (footer visible without scrolling down - no scrollbars) 2) My footer has to be relatively placed below the last line of content if...

Add large chunk of HTML with Jquery

Hi. I am designing a site that uses progressive enhancement and has also has a mobile version. I am wanting to use jquery to add a slideshow to the desktop site and want to know the best method for adding a large quantity of HTML. A sample of what I intend to add is: <!-- Slideshow --> <div class="scrollable"> <!-- "previous page" actio...

Html - From checkbox to combobox

In the web app I am currently developing I have a form, and one of the fields is a boolean "IsFixedCost" (true/false). The natural way, to me, to represent it on the form is with a checkbox: FixedCost? (checked = true, unchecked = false). My boss forced me to change it in a combobox: FixedCost? -> option1: Fixed, option2: Variable bec...

to select a submenu item using an xpath

Hi there, I'm trying to select a sub-menu item using XPATH. The submenu items have the following structure in common. ..../span/a[@class="button"] Inside the anchor tag, the title of button is present inside a <strong/> tag e.g. <span> <a class="button" text="" href="....."> <strong> submenu item 1 </strong> </a> </span> How do ...

How to make a vertical line....

Using Asp.net I want to make a vertical line in my webpage... How to make a vertical line in my webpage? ...

XLIFF Library for .NET

Can anyone suggest some free .NET library that can be used for conversion HTML to XLIFF and back translated XLIFF to HTML? ...

Show file duration in a HTML QuickTime player

I use QuickTime plug'in to play aiff sound in HTML page. I would like to have the duration of the soundfile written in my transport bar. How can I achieve this ? I look at http://www.apple.com/quicktime/tutorials/embed.html but didn't find a solution. thx ...

Escaping output safely for both html and input fields

In my web app, users can input text data. This data can be shown to other users, and the original author can also go back and edit their data. I'm looking for the correct way to safely escape this data. I'm only sql sanitizing on the way in, so everything is stored as it reads. Let's say I have "déjà vu" in the database. Or, to be more ...

tag for access outlook add new contact page from html/aspx

Hi, Like the "mailto:" keyword in hyperlink (this opens clients outlook's email sending page (window)), what should be the keyword or tag for open the cleint's outlook's add new contact's window from html ? ...

InnerHTML including styles from stylesheets

Is there a way to get the innerHTML of a section of the page together with all style information that is used by the elements in that section(including styles that also come from corresponding stylesheets). So that when I insert the html somewhere else It will display with original styling. ...

Google/YouTube Insight style "Interactive PNGs"?

I have been looking at the YouTube Insight function and want to learn how their chart PNGs are created. If you have a video and look at the statistics, you get a bunch of PNG-images that in many ways can be considered interactive. Look at the image below. As far as I can tell, everything consist of PNG images. I expected to see flash...

how to select a radio button by default - asp.net mvc strongly typed html helpers

I have a radio button list like this <%=Html.RadioButtonFor(m => m.Gender,"Male")%> I should make this button selected by default. Any inputs ?? ...

Can you use CSS3 to transition from height:0 to the variable height of content?

Can you use CSS3 to transition from height:0 to the variable height of content? ...

Table cell alignment

Hi all, This little issue is starting to do my head in, I have read around a lot and have never had an issue with this in the past but I cannot seem to get the second div to appear on the right side of the table cell, any help would be appreciated. My Markup is <td> <div class="sort"> <a href="#">ID</a> <span clas...

PHP - Strings - Remove a HTML tag with a specific class, including its contents

I have a string like this: <div class="container"> <h3 class="hdr"> Text </h3> <div class="main"> text <h3> text... </h3> .... </div> </div> how do I remove the H3 tag with the .hdr class using as little code as possible ? ...

need help on html tables

Here's the code:Well my problem's the grade column I want it to be two columns but I don't know how can anyone help me :( <html> <body> <center> <table border=2 width=50% cellspacing=5 cellpadding=8 bgcolor=yellow cols=2> <tr> <td rowspan=2>Name</td> <td>ASP</td> </tr> <tr> <td>Exer</td> <td>Quiz</td> <td>Recitation</td> <td>Pe</td> <...

How to change window title from a frame in javascript?

I hosted my web app on a freehoster service which shows my webpage in a frameset. 2 frames are there. In the top narrow frame there are their ad and the bottom frame is mine. I can set the title in the admin panel but it always remains the same regardless what is in my title tag. Setting document.title in javascript not works. But if I b...

Excel Interop - Alter HTML imagedata Source From Client Side

Hi, any help on this matter would be greatly appreciated. I've create a report from excel using PublishObjects.Add using Excel Interop, and i output the data without any problems. My question is - Is it possible to access the v:imagedata tag from the client side using javascript or jquery? While the image is loading i would like to put...

HTML and JavaScript

Problem in Firefox, but ok with Internet Explorer. I tried a lot but not solve yet. Please help me. Actually the problem over here is that, it is not in formatte order in firefox. but is displaying on in internet explorer. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>HOME</...

scrollable fixed div

Hi there, I have a menu in a div on the side of the browser and I would like to keep it in the fixed position. However, the menu may exceed height of some screens and that would result inaccessible links. So I would like to make the menu scrollable in such a case. Unfortunately the combination position: fixed; overflow: auto; (or scroll...