html

little 'x' in textfield input on the iphone in mobileSafari?

I have been looking everywhere for this without any luck. If you go to google.com on the iphone when you focus in on the search field a little 'x' appears all the way in the right and if you touch it it clears the current value of the field. Anybody know how to accomplish this? ...

Image alt attribute best practices

What exactly is the intended use of the alt attribute on <img> tags? Should it describe the image, or should it provide meaningful replacement text for screen-readers (and people who have images turned off)? For example, if I have a short biography of a person on my website, and include a small photo of them, is it really meaningful to...

Hidden table of contents for screen readers

I've seen on a couple of sites that they will include a navigation section at the top of their page, with internal links to other parts of the page, so that users with screen readers can quickly jump to the content, menu, footer, etc. This "nav" element is moved off-screen with CSS so regular users don't see it. What's the best way to i...

Dynamic HTML Form Generation

I need to generate HTML forms in Java. I don't know in advance what fields are needed, those will probably be delivered in XML (i have some say over this). I could use the same input file to handle the form submission. Are there libs, techniques that deal with this problem? I can't imagine that there aren't, but i can't find a suitable ...

How to print large single image in a webpage on multiple pages in IE

I have a webpage with a big jpeg file like this one https://www.donationcoder.com/Forums/bb/index.php?PHPSESSID=pee3l52288fspopb9i20dpeuv6&amp;action=dlattach;topic=4066.0;attach=2451;image , but when I print this from IE, I could see only one page is printed that with quarter of the image. Is there any way I could print the whole image...

Hide a link with a specific class and attribute

I have this html. <a class="link" href="www.website.com?id=233253">test1</a> <a class="link" href="www.website.com?id=456456">test2</a> How can I hide one of these links by using the href attribute, and just the last numbers (233253), to hide the link with this href attribute and the class "link"? This is not a working code, just som...

HTML or RTF?

In my Delphi program I want to display some information generated by the application. Nothing fancy, just 2 columns of text with parts of words color-coded. I think I basically have two options: HTML in a TWebbrowser RTF in a TRichEdit. HTML is more standard, but seems to load slower, and I had to deal with The Annoying Click Sound. ...

How could be HTML markup working in Safari and not working in Chrome

The problem is on my blog - blog.dynback.com. Right panel goes down in Chrome, and stayed normal in all other browsers including Safari 4. And without Firebug its hard to find where is the problem. ...

Build a website in jQuery alone ?

Hi, I am new to jQuery. Is it possible to create a website, such as an online quiz, with jQuery and HTML alone? ...

mailto link sharepoint desgner

In sharepoint designer I have a control <SharePointWebControls:TextField FieldName="Title" runat="server"></SharePointWebControls:TextField> I want to have a mailto link that will use this title as the subject of the email and i need the body of the email to contain some text e.g. "My Example Text" how do i do this? thanks ...

blogengine without php or asp.net etc.

Is there a way to have a blog directly integrated into my HTML/javascript-only website, without having to have something like a SQL-database and a dynamic engine like PHP or MySQL? Maybe there is some service in the web that offers this (hopefully without ads :) ). Or maybe I can have a blog engine entirely written in javasript? ...

How to get the content from HTML using VB6

How can i get the content from HTML, removing the elements around it. I am looking for an example using VB6 ...

Overlay Text On ImageButton

Does anyone know of an easy way to display text over top of an image? One solution I've found is to just do the following: <img id='img1' src='myimage.jpg'> <div style='position:relative; top:-30px'> MY TEXT TO DISPLAY ON IMAGE</div> This will cause the Div and all of its contents to move up 30 pixels. The problem is that I do not kno...

Is it possible to digitally sign an Adobe LiveCycle HTML Form ?

Is possible to digitally sign an Adobe LiveCycle HTML Form ? I know that with IBM Lotus Forms you can sign forms, rendered as HTML with an ActiveX control. ...

Dynamically changing height of div element based on content

I'm working on a Facebook-like toolbar for my website. There's a part of the toolbar where a user can click to see which favorite members of theirs are online. I'm trying to figure out how to get the div element that pops up to grow based on the content that the AJAX call puts in there. For example, when the user clicks "Favorites Onl...

jquery heirarchical menu design

edit: ok, the line: $( <?php echo("'#".$_GET['item']."'") ?> ).parent().show(); Is obviously and attempt to keep the menu open at the right place. I don't think this ever worked (got I hate working on other ppls code). Then my current problem is how to access the <ul class="myul"> directly above the <li id="001" > using that item ...

Different behavior of padding-bottom in table row between IE and FF

Kindly read the following code as an example (pay attention to the "padding-bottom" of 2nd table row): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html> <head><title>test</title></head> <body> <table style="height:300px;width:200px;background:#660000; flo...

Avoid an Element from being cut off when they are inside a "overflow: hidden" element

I'm using the equal heights CSS trick as outlined on this page. It was all working fine until today when I need to add a dialogue box inside one of the columns, which is absolutely positioned to take it out of the flow. The problem is that since the container has "overflow: hidden" on it, the dialogue is being cut off when it overflows....

print from html pages in A4

I am designing this site which is for technical engineers to take prints from and the page sizes are varied. When pages are printed tables get cut up into 2 halves which makes it difficult for them to read. Is there any code which can make the prints fit into one A4 sheet per page. The other solution is that i make PDF's of each page in...

Limit text to the width of sibling image / auto width in CSS

I am essentially trying to create a version of the "figure" element (upcoming in HTML5), whereby I have an image with a short description below it. However, I want to limit the width of this entire element to that of the image, so the text isn't wider than the image (wrapping to multiple lines if necessary). Basic HTML: <div class="fi...