html

CSS scroll problem

<div style="height:100px;width:100%;overflow-x:hidden; overflow-y:scroll;"> <asp:label id="lblInfo" runat="server"/> </div> My problem is vertical scroll always shown. My destination is when div inner text empty or not overflowed from height, scroll will hidden. How can i do? ...

How with JQuery cause Hover on diffrent element than mouse is currently on top of

I got image which is partialy overlapped by DIV, this particular image got its border set with CSS in external file to change color when mouse is over image. problem is when i move mouse from image to div overlapping it, then image losts hover and border is going back to normal state. How to tell to element with particular ID that mous...

Make a space between paragraph (x)html, css

Hi, I want space between my <p>content</p> tags. Not before and not after <p> tags. Fx my code is: <div> <h1>A headline</h1> <p>Some text</p> <p>Some text</p> </div> Something I don't want space between h1 and p which is done with zero margin on h1. But I don't want space after the last <p> tag. Is this possible without :las...

JavaScript: get value of dropdown

I have 3 HTML combo/drop down boxes. All of them have a distinct name and id. On a particular event I want to get the value of all three of them. Can any one give me a code snippet for that? ...

Characters and symbols in HTML

Hello everyone. I am looking for a list of characters and symbols for use in HTML in PDF or image format. It could be some sort of cheat-sheet. Basically I want a reference list for use in HTML for replacing for example '&' with '&amp;'. I have found the list in http://www.w3schools.com/tags/ref_entities.asp but if anyone can point me to...

HTML links to local network shares

Why do these links not work? If I click on them in FF or Chrome, nothing happens - it doesn't even try to open them! <a href="file://someshare/dir/subdir/file.txt">Linky</a> <a href="file:////someshare/dir/subdir/file.txt"> Linky</a> <a href="file://\\someshare\dir\subdir\file.txt">Linky</a> Any ideas? ...

sending ajax request

I am using ajax to reload the part of page.When the user clicks on one button the part of the page enclose with div tag is reloaded.But there is some time between the time from when the request is shown and the time the response is obtained.So I want that for this intermediate time some gif image (like loading) should be displayed in t...

jQuery cycle fade order change

$('.rotateme').cycle({fx:'fade',speed:2500,timeout:3000,next:'#arrowright',prev:'#arrowleft',sync:1,pause:1}); Hai dudes, the code above is what I am using for an image slider, where images fade in a cycle (that was obvious). Anyway, this is what happens: When it's cycling through the li elements, the previous button returns me to th...

how to get a HTML textbox Value into another HtMl table .

see.first index.html has a add button..whenever the add button get active it should be add the textbox value into the table.html.The table.html table should be editable and updatable.. pls friends give solution to me......... ...

&nbsp without semicolon

I have been using prototype.js in a web application. I am populating some Divs dynamically, on selecting some radio buttons. Before populating contents in Div, I am clearing previous contents by using prototype's update method as - $('item').update(''); In IE, this puts a line break automatically but not in Firefox 3.5. So, to work it...

Will Google Chrome Frame be Installable on Locked down Windows Machines?

Does anyone know if Google Chrome Frame will be installable onWindows machines in the dreaded Corporate IT World where machines are locked down with a Khaki Fist? I suppose that's really two questions Can Windows be locked down to prevent IE from installing plug-ins? Is Google being clever and finding a way around this? (i.e., is the ...

Positioning a div relative to scroll position

This script shows and positions a div like: function myfunction() { obj.style.visibility = "visible"; obj.style.width: "100%"; obj.style.height = "100%"; obj.style.position = "absolute"; obj.style.top: "0px"; obj.style.left: "0px"; obj.style.z-index = "44"; obj.focus() } and so on <b onclick="m...

C#, Storing HTML pages in an SQLite database

I want to cache large HTML pages in an SQLite database as blobs, but the HTML pages may ofcourse contain lots of characters which will corrupt the SQL statement. I'm not too happy with performing search/replace to escape all characters messing up the SQL statement, and encoding the HTML to a format accepted by SQL seems like an expensiv...

Is a HTML Table better than a Gridview in ASP.NET MVC?

I am looking into binding some data. What method of output would be better. I usually use Gridviews, but I am unsure if the table would be better now. ...

Safe way to make behavioral CSS trigger based on Javascript availability

I have been using this chunk of code to programmatically check if Javascript is available and use different behavioral CSS. If Javascript is disabled, it will only show a normal unordered list. If javascript is enabled, the list will be transformed after page load and then displayed to the user (avoiding the possible redraw/flicker of...

Browser and z-index issues

Hey there. I have an image that I am absolutely positioning. In Firefox it is where it is supposed to be, in Safari it is all whack. What is going on and what is a surefire way to know where it sits. ...

How to implement cross browser min-height and max-height at the same time?

If only to implement max-height: max-height:200px; height:auto !important; height:200px; overflow:hidden; if only to implement min-height: min-height:40px; height:auto!important; height:40px; See?There is conflict on height! What's the solution? ...

Adding attributes to submitted content links

I have a site where people will submit text. I want to add a couple of attributes to links that are added. Anyone know a regular expression (or another good way) to add rel="nofollow" to any link that is in the body of the text that is submitted? ...

change image on mouseover

I've got a simple html/css page, where I show a picture. Now when the user moves the mouse on the picture, I'd like to swap out the picture to some other image. Upon leaving the image area the old picture should be shown again. How can I achieve this? A version which works without javascript would be best. Thanks in advance! ...

How do I jump to the matching tag, when editing editing HTML in Emacs?

Suppose I'm editing a very long and messy HTML file. With my cursor at an open tag, is there a way to jump to it's closing tag? ...