html

contentEditable breaks page up down buttons in firefox

Does anyone know how to fix (or what causes) the page up/down bug in FF when contentEditable is present on a div? See an example Navigate to contentEditable article with FireFox (3 or 3.5) and use the Page Up/down arrows on your keyboard. You should be unable to scroll to the bottom of the page, and it should appear to flicker and jump ...

python html generator

I am looking for an easily implemented html generator for python. I found this one http://www.decalage.info/python/html but there is no way to add css elements (id, class) for table. thx ...

IE6 - text is hidden with no reason?

For a veeery long time I've had this problem but always I managed to avoid it somehow (by removing elements or changing order) and now here it is again and I have no idea how to get rid of it. First, it appeared in my admin panel, but only few users acces that so it's not big problem (nobody uses IE6), but now this problem is appearing o...

HTML Parsing/Scraping Algorithm Help..Java

I am writing a program that an HTML scraper that when it grabs the HTML from the page, it returns the HTML, and I want to Grab words that are All Capital letters, and then stores these words into a database. My problem right now is I cannot right the algorithm to parse each line of the HTML I got back in order to store the words. This is...

Call a class Method of an object on onmouseover event HTML Javascript

I am simply trying to create a class that moves a specified DIV when the mouse is on the DIV. My problem seems to be because I am specifying a method of my custom class as the event handler. My question is can I specify the method of an object as an event Handler? Or is there any other way to do this? <script type="text/javascript"> <!-...

Is Jquery broken? Why does Jquery Load fn not work in IE?

Jquery seems to have difficulty in IE (6,7,8) loading using the load() function when there are url's with parameters (example: getdata.php?id=2444) I am having this problem, but it seems this question is common and has never been resolved: see http://stackoverflow.com/questions/1174945/jquery-load-in-ie8-postget-not-working http://sta...

AJAX - load all div elements

I have a webpage with a number of div elements such as this one: <div id='ahFyb2JpdGFpbGxlc2FuZGJveHIKCxIA'> </div> I would like each div element to call a javascript function when it has loaded, to fill in the div. Ideally I would have liked to do <div id='ahFyb2JpdGFpbGxlc2FuZGJveHIKCxIA' onload=getcontent('ahFyb2JpdGFpbGxlc2...

img tag does not retrieve image while browser does (WARNING: content not work-appropriate)

WARNING: content not work-appropriate This does not retrieve image successfully from a web page on a local dev box: <img src="http://78.140.144.230/indecent.me/1/337707.jpg"/&gt; However, if I put http://78.140.144.230/indecent.me/1/337707.jpg into the URL field of firefox, the image gets returned. Any ideas how to get this working ...

How do I set specific widths for an HTML table layout?

Hi everyone, I have a layout made in photoshop and I'm trying to slice it up and put it into a table layout. I'm trying to make a layout using a table that looks like this: http://imgur.com/eKndd.gif but when I marked up the table all the widths of the cells seem to be incorrect and not what I want. My markup is: <table width="950" bo...

HTML Tidy license question

I'm looking to use the HTML Tidy source code and modify it to add a few more features. Having read the license, I'm not quite sure if I will have to release the source of my modified application? I don't want to. ...

right distance of background-position in CSS

Hello I worked on a CMS and I want to have diffrent Buttons for special editings. I created a small examplefile wich looks like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xml:lang="de" lang="de" xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta h...

What's the definitive on image maps?

I have a fancy, graphically intensive design to convert to HTML. Its navigation has awful (non-standard ofcourse) fonts. I don't like text-replacements techniques that much. So I'm wondering if image maps would be good for navigation? Are they good or bad for SEO? ...

Trimming whitespace from HTML content?

I have a CRUD maintenance screen with a custom rich text editor control (FCKEditor actually) and the program extracts the formatted text as HTML from the control for saving to the database. However, part of our standards is that leading and trailing whitespace needs to be stripped from the content before saving, so I have to remove extra...

Load & show body background image first

Hello, I have the following problem: My landing page is composed of 2 images: a background image (top-banner) assigned to the body element and another image where I am presenting my content. My problem is that both images are quite large and always, I have to wait for the main image to show up first, and than the background image. Th...

Is this possible to embedded an image in HTML form?

Is that HTML form only support pure text only? Can I use some JS / CSS trick to let the HTML form have image embedded? ...

My website is having some problems in IE...

Hey all my website www.heavylinker.com works nice in Firefox, Opera, Safari and Chrome. But when it comes to IE it all messes up... I use CSS codes... Any Ideas? ...

Listen for change events in forms: JQuery

Hello all, I have a form with an id of "wizard" - I only have select elements in this form. This form is in a lightbox using the JQuery plugin fancybox: I want to know when any of these have been changed using JQuery. How can I do this? I currently have: $('form#wizard select[name=servers], form#wizard select[name=cores]').change(func...

Can ASP.NET pages be as "lively" as a page done with just HTML?

I've never created a web page and I'm just learning ASP.NET now and all the examples I see are mostly with filling out forms etc. So I'm wondering if the lively, colorful, and snazzy web sites can be done with ASP.NET. I have also been playing with a trial of Expression Web. It seems to be for the "fancier" side of things. Are the two si...

Site Development - Your Setup ( editor,project management, test site, live site.. etc)

Hey Guys, I'm relatively new to the Web Development business. Me and 2 friends started up our own little company. 1 person is a designer, 1 person is sales / consultant, and I am the developer. Right now, its an after work project, but we hope to expand and let it become our full time jobs. Anyway, my question to you, is what is the b...

Extract list of supported HTML or X11 colour names and their RGB values using javascript

There are places to get lists of HTML or X11 colour names and their RGB equivalents. For instance we can find that "Aquamarine" is "#70DB93". Presumably the browsers know the mappings. Is there a way to use javascript to interrogate the browser and get a list of which colour names it supports (along with the RGB the browser plans on u...