html

Why does my WebPage Change When I put it on IIS

I write asp.net applications for a living. I look at the page through debug (localhost) and everything looks fine, but often once I put the files on IIS and view the page: things are different. Some controls are shifted, and widths are changed. EXACT same css and html. Is this an asp Server issue or IIS or what? ...

How can i write an HTML parts code using ASP.net C# language inside a specific part

<td runut="server" id="sa"> </td> i have a dynamic ASP button and i want to insert a HTML code inside that "TD" (above). just by pressing the button. please help me. ...

onKeyUp event is not working in Windows Messenger Plus!

Hey, onKeyUp event is not working in Windows Messenger Plus!, can anyone tell me why? I tried onkeypress and its working, Thanks in advance. ...

Are there any vulnerabilities of this site ?

Guys, I made a site recently called www.Searchr.us I was wondering is there are any vulnerabilities.And how can i prevent hackers from hacking it ? Please scan the website properly. Thanking You, ...

How to display images using HTML created by servlets on Jetty web server?

Hi, I am trying to display images using an HTML page created by a servlet. I am using Jetty 6.18 as the web server. The problem is I'm not sure where to store the image files and how to register them (if needed), since the HTML returned to the client is generated by a servlet. Let's say I want to write a tag <img src="what_to_write_h...

Change a div color in hiccup

Is there a way I can set a div background color in hiccup? Here is what I tried so far, with no result: [:div {:background-color "#003366"} (escape-html rest)] In the html, I see <div background-color="#663366"> which I do not believe is the correct format for color. Is there a way to do this in hiccup? ...

My site is vulnerable to this script..How do i patch it ?

One guy tried to exploit it using this script http://www.searchr.us/web-search.phtml?search=%22%3E%3Cscript%3Ealert%28String.fromCharCode%2872%29+String.fromCharCode%28105%29%29;%3C/script%3E How do i stop it ? And he also said that it is vulnerable to XSS and LPI...Please help me stop it. Thanking You, ...

HTML/DOM: What is standards equivalent of scrollHeight?

For nearly a decade i've been using: document.body.scrollHeight to return the "ideal" height of the browser window. This worked fine when i was forcing Internet Explorer into quirks mode, by using a quirks-mode doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Now i want to opt into standards mode, except the...

How to overlay a picture with another one?

What's a good method to overlay a picture with another one in HTML and CSS or jQuery? ...

PHP code or javascript code for converting html to xhtml

I'm looking a php code or js code for converting html to xhtml. PHP tidy is not my option because my hosting does not support it. ...

How to edit your web pages online?

Hi, I created a web site for a friend and I would like her to be able edit the content online. She's does not know HTML. Is there a simple software possibly freeware to do that (edit text content only)? I know there is Contribute but it's not free and I find the interface confusing. What would you recommend? Cheers. ...

How can we avoid the shake when we hover over an element and set its border?

How can we avoid the shake when we hover over an element and set its border? Here is a sample of the code I wrote: http://jsfiddle.net/s3N2h/ Is there a technique to avoid the shaking? Suppose I hover on File, the borders appears, but that line of text moves a little to the right due to the borders getting rendered. If we hover away i...

List of HTML, CSS, JavaScript and jQuery things that can cause cross-browser compatibility issues

looking for collective knowledge - all i want are things to watch out and be careful while using which can cause cross-browser incompatibility issues.. so that you can look for their alternatives or check them out before deployment on large scale... ...

External Flash Movie behind an HTML Overlay Div

Okay, is there a way to have an external flash movie that I have iframed in from another server show up behind an overlay div? Currently when I open my overlay, the flash movie shows through it. ...

How to Get Model Data from Partial View?

I am creating a site in which I utilize partial views to display various bits of data about a single Model. Here is a bit of the HTML. (Note, all of these are contained within a single form and the Index page that these partials are rendered in is strongly typed to the main model. The main model contains various lists of data.) <div id=...

Create a notification popup with a specific animation in mind.. possible?

Hey guys, how would I go about making the following animation for my form submissions? I figured instead of typing it, I would create a visual.. Let me know if you think this is easily done. ...

Problem displaying a CSS 'popup' properly.

I'm having some trouble with displaying a popup div with CSS. The problem is better explained with an example. Take the following html: <html> <head> <style type"text/css"> #popup { color: #fff; background: #8c0000 } #form { background: #ccc...

Force Overlay if function returns False in PHP

I need a way to invoke a non-closable, iframe overlay where the user will have to choose their membership before being able to access any of the pages. I am doing a DB check for something, an if it returns false, then i want to invoke the overlay somehow without disrupting the session_start() function. Any suggestions? ...

How to make a greyed-out HTML form?

I'd like to have a group of HTML text <input>'s that can be all greyed-out (disabled) at the same time. I also want the entire area they are in to somehow be greyed-out or at least visibly disabled. I've seen things like this done in desktop applications. Any ideas on an easy/elegant way to do it? I'm trying to avoid manually setting ea...

overflow: hidden ; causing alignment issues in firefox

I have a layout which renders perfectly fine in Webkit based browsers but in internet explorer and firefox the vertical alignment is off. The simplest example of the code is: <html> <head> <style> body { padding: 20px; background-color: #c0c0c0 ; } #wrapper...