html

In a JTextPane, how can I change the value attribute of an input element?

I have an HTML document being displayed by a JTextPane that works very nicely. I have some buttons that I interact with using ActionListeners for a ButtonModel, and I hook into state links (#foo) to handle simple internal app links. My problem is that I have a INPUT element that I need to change the "value" of so the text changes in the...

prevent window for scrolling after div box scrolling

Hello, I have a small div box that has a vertical scroll bar and sits within an html page that also has a vertical scroll bar. My problem is when the user reaches the end of the small DIV box scrolling, the ENTIRE html page that contains the div box then begins to scroll (assuming the user is scrolling via the mouse scroll and NOT by ac...

Is there any C# equivalent to Perl's HTML::TableExtract?

I need to grab a table from a HTML to get the data contained in the table. I've learned from you that it can be solved easily by Perl's HTML::TableExtract. Since the grabbed data will be showed off by "C#" , so if there is C# equivalent to Perl's HTML::TableExtract, it will easier for me to implement the whole app. ...

XPath: How do you do a lowercase call in xpath

I'm using Firefox's XPath-checker and can't get the syntax right. I have a link: <a>LinkName</a> and I try doing: //a[lower-case(child::text())='linkname'] but I have a syntax error. What am I doing wrong? Thanks ...

Tools to design good looking HTML forms

Are there any free tools through which I can design beautiful HTML Forms? ...

Divide page into two sections

I want to divide my page into two sections. It must be separated by a slider. In the left-pane, I want to display Form names and on the right-pane, I want to show the Form that was selected from the left-pane. Which controls to use? ...

Open links on other section of FrameSet

I am using following code to split my screen into two panes. <frameset cols="20%,80%"> <frame name="lefty" src="menusidebar.html"> </frameset> </frameset> The file "menusidebar.html" contains links. I want to open the links on the right pane when the user clicks on the link in the left-pane. How to do this? ...

How to get Text-only results from Twitter Search Feeds?

I'm writing a simple Twitter example that reads the Twitter Search RSS feed via: http://search.twitter.com/search.rss This works well except that the Description in this contains HTML such as Bold Tags and Link Tags, I have looked at the Atom feed via: http://search.twitter.com/search.atom It also has HTML in the description, is th...

"Height=100%" is not working in html when using <!DOCTYPE>, How i can fix this?

When i use HTML with out 'Docymenttype', my HTML page "Height=100%" is working. But when i use 'Docymenttype', height is not working correctly... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <met...

Grab e-mail addresses from an HTML table

I have an HTML table that contains 500 e-mail addresses in this file.html. Now I want to open it with PHP and get all e-mail addresses in it and add it to an array. This means I have an HTML table and in this table 500 rows with an e-mail address in each row. How can I get these e-mail addresses with PHP? ...

How to select nth line of text (CSS/JS)

How to select and apply style on a specific line of text? Like the CSS pseudo-element :first-line, but I want to select any line, not limited to the first. It seems that it can't be done by using only CSS... Anyway I don't mind a JS solution. Update: Well, actually it's only for interest. I'm trying to achieve something like highli...

CSS div height won't expand

I have a sidebar DIV that i want to expand vertically to match its containing div. I have done this to accomplish that html, body, #wrapper, #content, #sidebar{ height:100%; } But the wrapper, content, and sidebar never expand past about 1000px, even when the content is several times that. I believe this is because the content...

Why would some buttons in CK Editor not work?

I am usuing CKEditor (version 3.0.2) in a site that I built. I have used it before in other sites and never had any issues. In the current site any of the buttons that would have opened a JavaScript Popup will not work. Thinks like Bold, Source, Save all work fine. But thinks like Add Image, Link, Anchor, Table, Smiley, Special Character...

Gaussian Blur onHover Using jQuery

Hi Everyone: I am wondering if there is some way to apply a gaussian blur onto a div using jQuery (or CSS that jQuery can modify). I have looked into blur(), but at least with Safari, it doesn't seem that it accomplishes what I'm looking for. If possible, I want to use fadeIn on the effect, so it blurs gradually. Thanks for any help!...

Why would Google use a font tag?

So, I couldn't help noticing while demonstrating Chrome's DOM browser thing to my brother, that Google uses a <font size=-2> tag. I know this is a stupid question, but from a programming point of view--why would they use a deprecated tag on Google? Is it because it's smaller than using <p class="whatever"> and then creating a style for ...

when inspecting a page with firebug, what is the yellow area below the highlighted element?

Hi everyone, When I am using Firebug in "inspect mode" and the mouse hovers over an html table element, the visible content of my table is highlighted in blue -- like all other elements I have looked at using Firefox. However, there is also an area immediately below the table (past the last row) that gets highlighted in yellow. Does any...

HTML Page Caching Question

I understand the basics of HTML page caching. My uncertainty relates to how caching works on images, included external scripts, and included CSS stylesheets that the HTML page uses. For example, let's say I have an HTML page that is set to expire in 7 days. The page has 10 images on it, 2 included external CSS (.css) stylesheets, and 2...

Tabular layout: improve design?

I'm designing a form: image and code below. There are about 30 more sections like this, and I just need the inputs (right) to align to the list (center). What's the best way to do this? Can I just alter my table HTML to make it work? <table border="1"> <thead> <tr> <th>Category</th> <th>Risk Factors</th...

HTML CSS Padding-bottom 0 does not work on firefox

I have a table as follow: <table> <tr> <td> *PROBLEMATIC CELL* </td> <td rowspan="2"> </td> <td rowspan="3"> </td> </tr> <tr> <td> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table> The first cell of the first row, has a padding at the bottom. Well it's not really padding but it looks like padding and using firebug I can not fin...

HTML element aside from headers <h1><h2>, ect

Hi! I was browsing related issues for my question but I can't seem to find the answer for it. Anyways, I want to know if I can still use the p or div tags instead of header tags when I have already used both (p and div tags) as plain text on my site. The reason is that I only want to have one header tag h1 present in my site. I tried to ...