html

tbody scroll not working in safari

I have defined a HTML table with thead, tbody and tfoot and also I have given tbody vertical scroll. The scroll is working fine in fire fox but its not active in safari. I googled and found that tbody scroll will not work, is there any alternative for this issue? ...

Complex problem in jQuery

Hello, I have a problem that has been consuming me for days. I have a div and the div has a style for it to be hidden ( .copy { display: none; } ). I have a link (Add new) that when clicked, makes a clone of that div and removes the class "copy", causing the div to appear. Inside this div, I have 4 checkbox and a text input. Clicking ...

Scrape and convert website into HTML?

I haven't done this in 3 or 4 years, but a client wants to downgrade their dynamic website into static HTML. Are there any free tools out there to crawl a domain and generate working HTML files to make this quick and painless? Edit: it is a Coldfusion website, if that matters. ...

How to remove the modifier from accesskey

Is there a way to account for all known OS/Browser combinations and have a single accesskey input for a link tag, without the modifier? As noted in Wikipedia (http://en.wikipedia.org/wiki/Access_key) I can have accesskey="d" and I know some users will input Alt+d some Alt+Shift+d. Is there a way around this? How can I allow a user to...

Will an html image tag execute in the head tag

So a lead tracking company needs a link to fire and it was in the head tag...will it fire. <head> <img width=1 height=1 src='http://track.searchignite.com/si/CM/Tracking/TransactionTracking.aspx?siclientid=4426&amp;DetailDescription=935626&amp;transactionamount=1&amp;SICustTransType=19172&amp;jscript=0&amp;x10=goog&amp;x9=1&amp;x8=9...

ANDROID WEBKIT: Select elements getting focus events, but not opening!

Hi all, I have a series of select elements in a form on a mobile site. These select elements are inside a scrolling pane handled through JS and CSS3 transforms, so getting a touch/click/whatever event to register on the selects was enough of a pain in the first place. However, I'm now finding, on android only, that even though the selec...

html/css: table borders appearing on screen but not in printout?

Below is a test HTML file. It displays fine on screen but when I "print" or "print preview" in Firefox 3.6.8 or IE 7.0, the table borders do not appear. What am I missing? <html> <head> <style type="text/css"> body { background: black; font-family: arial, sans-serif; color: white; } ...

Strange CSS behavior

Sorry for the length of the post. This is quite a weird problem and I want to give as much info as possible. I have the following css rules I am using for a horizontal navigation menu. The menu is created using ASP:repeaters and a database table of items. #nav { margin: 0px; padding:0px; list-style-type: none; heigh...

Is editing parent html page from the embedded flash file possible?

Hi Guys, A client wants the company I work for to build an expandable flash banner, I'm a dev, so my solution is: stack 2 flash banners, small one visible, big one on top of it, with display:none, catch the click event, animate the big one into position. The client wants it done without javascript (their banner rotation network doesn't...

Repeat thead on each page via htmldoc.

I'm trying to figure out how to get a set of table headers to repeat on each page of output from htmldoc. I plugged in the CSS way (below) to see if that would work, but I don't believe htmldoc does much of anything with CSS. The basic question is: Is there a way to make htmldoc act like this CSS when outputting to a PDF? thead {disp...

Download and save aspx page as html page

how to download the aspx page as a html page. i have used download code that downloads me the aspx page as html. but i when open the file saved in my desktop it is showing the format as <@page directive.....> and oly<% %> <% %> <% %> <% %> <% %> <% %> this tags are coming. how should i resolve this problem and get the page down...

Movable Type: Strange caching (I am super MT noob)

Hi all So, I have been asked to remove a menu item on a website running Movable Type. "No problem", I thought. So I log in, and try to figure out WHERE those damn templates can be edited. I finally find something that looks real, edit it, update the page and NOTHING HAPPENED. I then log in to the FTP and discovers, that ALL pages exam...

Jquery - select immediate li text without selecting children ul's text

Hi, I'm trying to take a structure of nested html unordered lists as a database for some information a need to organize and analyze. I'm trying to filter, count and present the information using jQuery. I'm striving for the lists not to have any class or id attribute, so that they are very clean. Only the root would have a class or id li...

can i make file dialog in input type file in html to be multi select?

I want to implement a multi file upload I was thinking if its possible to have a browse button open a file dialog which may allow me to select more than one file and once i select them these files can upload. I am doing this on a website and using php jQuery etc. By looking at the answers i feel that multi-select is not possible. So i a...

Insert HTML into the Body of an HTMLDocument

This seems like such a simple question, but I'm having such difficulty with it. Problem: I have some text to insert into an HTMLDocument. This text sometimes specifies some html as well. E.G.: Some <br />Random <b>HTML</b> I'm using HTMLEditorKit.insertHTML to insert it at a specified offset. This works fine, unless the offset is ...

HTML + CSS fancy box planning

Hi. I've got box in PSD (not PNG) which looks like this: I don't know how to crop it into box. I mean - it has to be class, because there'll be few types, with diffrent width (and of various heights of color bar too). With content it has to look like this: So - how much images it'll take? Sorry about this obscure brief - but I just...

HTML Label float passed Checkbox on left

I have a checkbox and a label, and while the label is set after the checkbox, it appears before it when the page is in view. What could be the problem? <input name="signed" id="fd_supplier_contract_signed" type="checkbox" value="1" /> <label for="fd_supplier_contract_signed">Signed:</label> IMAGE: ...

Are there any known issues with putting invalid CSS characters (@,:,!) in the class attribute of a HTML element?

I wrote a comparison validator, that compares two inputs values. Originally in tried using the primary input's name attribute to store the secondary inputs id. //example: does not work in IE7 <input id='txtPrimary' type='text' class='compare' name='txtSecondary'/> <input id='txtSecondary' type='text' /> This work in every browser exc...

Dublicate flash gallery with jquery

Is there already a plugin for jquery to re-create this: http://www.imgmodels.com/details.aspx?navbtn=1&amp;cityID=1&amp;modelid=261005&amp;pic=054.jpg&amp;subid=5569&amp;mainsubid=5569&amp;catID=2&amp;indx=1 Best Regards, ...

Is it ok to use image hotspots? Is that the best way to do it in today's world?

I have a picture that needs to be split into 4, and each part must have a link. Do people still use image hotspots? ...