html

Bottom Border in div

http://joe-riggs.com/chip/about/ I'm trying to get rid of the break in the 1px border to the right of the logo. Currently I have added two padding li to the left and right of the real links. I'm now thinking that may not have been the best way to go. Any suggestions? Thanks- ...

Double send of form when I refresh the page

How can I avoid to submit again the form when I hit refresh of the browser? Thank you. ...

How to make div stretch along with body?

Hi folks, I've been searching through forums to find a solution for the problem I'm facing and couldn't find any. So here I am, again, asking for remedy. I have this page which encase personal profile form. That form is enclosed in page container div and is quite long that it requires main scrollbar in order to see those hidden. And the...

Is the alt attribute for img tag in HTML not supported by Safari on Windows?

When I use the alt attribute with img tag in Safari on Windows, instead of displaying the alternate text, Safari only shows a "?" in a box. Is this a bug in Safari on Windows, or Safari is missing this feature. ...

Scraping for a "preview" of a webpage - Python

Hi folks, I'm indexing a list of links, these links update quite often so I'm automating thumbnails for the sites. For most sites it's easy, as I just grab the biggest image on the page hoping it describes the content. But other times there are videos as main content of the page. Does somebody have tips with dealing with this? That...

JSP/.NET XML - simple client to display html

Hi, I am fairly proficient in PHP, but just starting out in ASP.Net and JSP/Java I would like to learn JSP/ASP.NET XML to HTML transformation with some simple practical examples. Im not looking to learn how to edit XML, just displaying it, but im having trouble finding definitive examples/tutorials. Ive spent quite a while studying JS...

How is it done "Manage this list" on amazon ?

I'm specifically looking, how is the hover on done? and what did they use? JavaScript? Jquery, DHTML? and does anyone have example? Now, I'm new to web programming. (but not new to programming, I'm c++ and c# prg). I'm looking into getting web dev. for personal use. I saw this amazon feature and thought to myself that it would be nice to...

How to detect the selected value of a dropdown

When I select one item from 1st dropdown, an ajax event will fire up, invoke another function that will and load information to the second dropdown. I do not want this (No button solution please) <select id=combo1> <option>...</option> ... </select> <input type=button onclick="loadCombo2()"> ...

html2text library

There is utility html2text in linux. How can i use its or similar library in my c++ code? For example to convert html which was retrieved from any site to a readable text. ...

How do I change the backcolor of a textbox when user clicks into it with CSS

Question is in the subject. ...

Why does conversion tracking use pixels and why do images potentially expose information about you?

First, why (historically) was conversion tracking implemented by html pixel tracking versus using other small and able-to-be-made-nearly-invisible html elements which could provide the same information? Curious why html images were used as opposed to other methods. Second, many email clients, e.g. Outlook and Gmail don't display images...

Jquery trigger problem

I have two DIV elements. HTML looks like this: <div id="first"><div id="second"></div></div> The CSS for this elemets are: #first{ float:left; width:656px; border-bottom:1px solid #CCC; padding-top:5px; display:block; cursor:pointer;} #second{ float: right; margin-right:10px; border:1px solid #9F0; width:230px; height:14px; backgro...

IE compatibility: My Mini-Chat is Overflowing (Validated Markup)

IE cross-compatibility issue. My website, www.zerozaku.com, is compatible with Chrome and Firefox, but IE has an issue with my Mini-Chat overflowing out of the box. Could anyone help? P.S. I've only tested it on IE8, Firefox, Chrome ...

Unwanted space between divs

I am trying to get three images to connect for my content box but for some reason there is some space between the second and the third. Any help would be appreciated. here is the site: http://hyvhuynh.com/hyperbolical-blog <?php get_header(); ?> <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div ...

How can this xpath query (PHP) be more flexible?

I'm parsing an XHTML document using PHP's SimpleXML. I need to query a series of ul's in the document for a node containing a specific value, then find that node's parent's direct previous sibling... code will help explain! Given the following dummy xhtml: <html> <head></head> <body> ... <ul class="attr-list"> <li>Active Life (ac...

Documentation on <FIELDSET> <LABEL> tags instead of using TABLE's?

I've just come across these in MVC, and would like to use them instead of tables sometimes, as tables and DIV's just don't mix well! Never seen these before, and was wondering if there is any documentation about these new table-substitute TAGs? I've also heard recommendations to use these as opposed to tables and would therefore like to...

How do I force the browser to only handle the top link if 2 elements are clickable?

Say I have the following code: <div onclick='location.href="http://www.example.com/"'&gt; <a href='#' onclick='alert("blah")'>click</a> </div> Is there a way to only have the anchor evaluated when I click the 'click' text and not have the div's onclick evaluated? ...

How do I print a line following a line containing certain text in a saved file in Python?

I have written a Python program to find the carrier of a cell phone given the number. It downloads the source of http://www.whitepages.com/carrier_lookup?carrier=other&amp;number_0=1112223333&amp;response=1 (where 1112223333 is the phone number to lookup) and saves this as carrier.html. In the source, the carrier is in the line after the...

Escaping requirements for the input tag's value attribute

What are the requirements for character escaping in the input tag's value attribute in the HTML markup? Is it just double quotes that need to be escaped? HTML special characters as well? I tried looking through the W3C spec, but I couldn't find any specific details on how stuff should be put into the value attribute. I suppose it goe...

How to align a Division to the right

I am trying to push my sidebar to the right of my page. When I do this my division gets pushed to the bottom of the page. Why is this? Here is my page: link text ...