html

Z-Index div hover overlay issues with [windows] Webkit (Safari, Opera, etc)

Edit: This ONLY occurs on Windows Webkit, does not occur on Macs I am trying to set up a grid with fixed sized cells with a background image. When you hover, the background image and height of cell is changed/increased and overlays the row below it. I tried a few ways to create this idea and came down to that a table with z-index ...

Python for web scripting

I'm just starting out with Python and have practiced so far in the IDLE interface. Now I'd like to configure Python with MAMP so I can start creating really basic webapps — using Python inside HTML, or well, vice-versa. (I'm assuming HTML is allowed in Python, just like PHP? If not, are there any modules/template engines for that?) What...

Float on the bottom of the page without xhtml...

Hi, I'm developing on Moss 2007. I want to create a button the will float on the bottom of the screen. (If I'll scroll down the button will float down. and if I'll scroll up the button will float up.) I can do it easly with xhtml, but the problem is that I can't change the SharePoint meta tags: Best Regards, Alex...

remove selected style on a DIV

I am doing iPhone development and I set a webview with a DIV. I added 'toucstart' 'touchend' 'touchmove' events to this DIV. But after I added these events, the DIV has a style (look at this video : http://www.bluefly.cn/mask1.swf ) when 'touchstart' (like 'mousedown'), any one knows how to remove this visual effect? ...

Does javadoc have an equivalent to <![CDATA[ ... ]]> ?

Unfortunately, there is no CDATA in HTML. This is a pity, because it would be perfect for adding javadoc comments that include XML, so you don't have to escape the < and >, for example: /**<![CDATA[ This parses <complexType name=""> ]]>*/ However, it would be possible for javadoc to recognize the CDATA section, and convert it to HTML...

Is there a way to make my html page print horizontally by default?

I hit print by accident earlier and realised my page looked awful printed vertically when it came out of the printer. Is there a property I can set in the code to make it print horizontally by default? ...

Calling href from JavaScript

I'm developing a script for Greasemonkey, but I'm stuck trying to activate links via JavaScript. The script should check the web page for a certain href link and, after finding it, it must activate it (like clicking on the link). If it helps, the href I'd like to activate is a "javascript:FUNCTION" kind of link. ...

How can we overlap two images using css style?

I have a list of images in an html table and need to overlap a small icon on each image. How can we do this using z index and positioning? ...

How to specify HTML doctype in Oracle SQL*Plus HTML report?

I'm producing an HTML report from a query using: set markup html on table "WIDTH='100%' BORDER='1' cellpadding='2px' cellspacing='0px'"; Is there a way of including a doctype declaration such as: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; I've searched but I can't ...

What's the HTML tag that doesn't process HTML inside of it?

Google fail, I used to know what it was years ago... Basically would make <theTag><img src='cat.jpg'/></theTag> render as <img src='cat.jpg'/> rather than actually displaying the image... ...

Bizarre timeout in Web CMS, ideas?

I know this kind of thing cannot be adequately answered without a link to the live example. Unfortunately, I can't set one up right now as it's a back-end login and creating a safe public login would be too much to do at this point. Sorry. I'm hoping for ideas and input from people who may have experienced something similar in the past. ...

How do i convert 100% into px in HTML

Hi, I am making a slider based component in GWT. Parent : width = 100% .-------------------------------------------------. | .---------------------------------------------. | | | Child : width = X | | | '---------------------------------------------' | '-------------------------------------------------' where...

Is it possible to set Select element width in percentage?

Hi, I have a select element in an HTML page, I'd like to set its width to 100% (via CSS) but it doesn't work and the width only changes according to the width of the longest option. Only when I set a width in pixels, it works. Is it possible to set the width in percentage? or is there a workaround? ...

Using HTML/Javascript display the value of a radio button in a form textbox

Hi all, How can I display the value of a radio button in a form text box? I'd like it to change when the radio button is clicked. Here is my radio buttons: <input type="radio" name="testPassed" id="TestPassed" value="TestPassed"> <input type="radio" name="testFailed" id="TestFailed" value="TestFailed"> The text box: <textarea name=...

To move to a certain part of a page using anchor tag...read the description please.

I'm using the following code to move to this part of the page: . . .<a title="news" name="news"></a> . . But when I access or REDIRECTS from another page to this page using the URL like: http://localhost/mypage.aspx#news, the page goes to that part and again comes at the top of the page automatically changing the URL to http://localho...

How to stop jQuery affecting all elements, when I only want one element to change

OK, I have a list of <li>s with some content in like so: <div> <ul> <li><h4>...</h4><div>...</div></li> <li><h4>...</h4><div>...</div></li> <li><h4>...</h4><div>...</div></li> <li><h4>...</h4><div>...</div></li> <li><h4>...</h4><div>...</div></li> <li><h4>...</h4><div>...</div></li> ...

How to make a Elastic Vertical Layout?

I have a page that has 2 areas: header and content. The header should be [of course] fixed at the top, and has no fixed height, and the content below it. The point is that I need my content area to be scrolled if it overflows... Like: the header should be always there, but the content can be scrolled down, i.e. your browser window, with...

HTML Agility Pack - Get Page Summary

How would I use the HTML Agility Pack to get the First Paragraph of text from the body of an HTML file. I'm building a DIGG style link submission tool, and want to get the title and the first paragraph of text. Title is easy, any suggestions for how I might get the first paragraph of text from the body? I guess it could be within P or...

Styled HTML Submit button fails to respond to Return Key.

I have a simple HTML form, thus: <form> <p> <input type="text" name="text" /> </p> <p class="buttonPara"> <input type="submit" name="submit" /> </p> </form> and a simple stylesheet, thus: p.buttonPara { position: relative; } p.buttonPara input { position: absolute; left: 50px; } The submi...

HTML + Passing Param b/w Parent & Child

Hi All, It might be a simple, but the funny thing is i've tried it for almost 2-3hrs and haven't been able to solve it :(. I have a parent window, which has a text box, and it has a value. I do a window.open and open a client and try to read the value of the parent, but unable to get the value. Any help!! I've tried window.parent....