html

Is there any HTML URL encoding function freely available on web?? (Implementation in C)

I want to use URL encoder for my C program. I am wondering if there is any freely available URL encoding function implemented in C (on the web)??? I tried searching it, but couldn't get one :( ...

Can I export generated html pages from ASP.NET website through Visual Studio?

My friend uses Visual Studio to develop websites in ASP.NET. She only uses the Master Page facility, other than that it's 100% normal HTML and CSS. Is there a way to export the website to HTML pages based upon their master pages? If not, it's either loading each page manually and saving the HTML, or I write a little app that does it. ...

How can I make multi-line, vertically and horizontally aligned labels for radio buttons in HTML Forms with CSS?

Assuming the following markup: <fieldset> <legend>Radio Buttons</legend> <ol> <li> <input type="radio" id="x"> <label for="x"><!-- Insert multi-line markup here --></label> </li> <li> <input type="radio" id="x"> <label for="x"><!-- Insert multi-line markup h...

HTML Form method = HASH?

If I set my Form method to GET it will send the action page something like this: action_page.php?key=value&foo=bar But is there a way to make it send like this: action_page.php#key=value&foo=bar Because the page receiving the values relies on hash variables. Thanks! ...

Anchoring to clicked item in asp.net page

Hi, I've a datagrid on an asp.net page "A" which shows different customer orders. On clicking on one any row/OrderId,user is redirected to another page "B" which displays order details. When user clicks "Back to Page A" on page B,I need to have the same order Id "anchored" on page A. How do i achieve this functionality in asp.net? Than...

Password Strength Visualizer - Html & Javascript/Ajax

I'm looking for a simple Password Strength Visualizer (like gmail's when you create a new account). I want to show the user how good their password is visually. Does anyone have some source code they'd like to share? :) ...

ASp.Net Gridview wider then parent DIV

The problem page: http:// www . webeerlieve . com/ShowThread.aspx?ID=521 If you put your browser into 1024x768, you will see the GridView table will extend past the div "postbody". I don't know how to stop this from happening. ...

Can I do use a direct URL like twitter or myspace in PHP

Can I do that thing that twitter and many other sites do where a url shows a users page. www.mysite.com/the_user_name In php... or how does one do it? ...

Masking password from user in HTML Webforms.

I'm working on a weblog application in php and javascript. I use windows live ID for authentication. The user needs to provide a password for windows live writer because live writer can't use live id. I want to enable the user to edit his password in an html webform. although the password is typed into a password field showing only *, ...

IsPostBack always returns false

Every time I test the IsPostBack in PageLoad() false is returned whether or not post data is present. My first reaction was to check to see if the runat="server" tag was missing from the form or submit button. However, they were all added and the WriteEmail.aspx page still always returns false for IsPostBack. I have also tried using IsCr...

different web files created for different browsers

It just occurs to me that for the past decade, all books on HTML/CSS always talk about browser incompatiblities and how to get around that issue by adding more "hacks" to CSS, JS, or HTML. Why is that they never advised that the other way to deal with that (and I believe the best way) is to add code (php, c, whatever) in the first line o...

css and div tag layout problems

I have a header bar that spans horizontally across my web page, which is comprised of one div tag and three nested div tags. HTML: <div id="top-bar"> <div id="leftTop"> LEFT </div> <div id="rightTop"> RIGHT </div> <div id="centerTop"> CENTER </div> </div> CSS: #top-bar { margin: 0;...

Can Javascript toggle frameborders?

I'm trying to use JS to toggle a frame's frameborder attribute. Here is my test case: <html> <head> <script type="text/javascript"> function off() { var f1 = document.getElementById("f1"); var f2 = document.getElementById("f2"); alert ("before, frame f1 had frameBorder=" + f1.frameBorder); f1.frameBorder ...

Comparing two fields in a form in Javascript - Not working

Can anyone tell me what I am doing wrong? my comparePasswords() is not working... <script> function comparePasswords() { if (post-form.password.value != post-form.password2.value) { $('passwordShow').innerHTML = ''; } else { $('passwordShow').innerHTML = 'Passwords d...

How to get this line of jQuery to validate as XHTML strict

Hello, I have this bit of jQuery at the top of my page (used for a simple image carousel): $(document).ready(function(){ $("#slider").easySlider({ prevText:'<div id="backarrow">Back</div>', nextText:'<div id="nextarrow">View Other Projects</div>', orientation:'horizontal' }); }); however, I can't get it to validate XHTML ...

Website logo appearing behind background image in I.E.7-8

My website's logo shows up normally in firefox and such, but in internet explorer the logo shows up behind the background image and it's really bad looking. Can someone tell me how to make the logo appear in frount of the background image? Site like so you can take a look at the codeing: http://turquoisegrotto.com/ ...

Decoding html encoded strings in python

I have the following string... "Scam, hoax, or the real deal, he&#8217;s gonna work his way to the bottom of the sordid tale, and hopefully end up with an arcade game in the process." I need to turn it into this string... Scam, hoax, or the real deal, he’s gonna work his way to the bottom of the sordid tale, and hopefully en...

Split a html code in two equal content parts, in PHP or JS

I want to take the content of a website article and create two or more columns of text. The difficult part is that i must keep the html tags and also close them if the cutting is done inside a <p></p> for example. Example: <p><span>One two three <strong>four</strong></span> five six</p> Result: <p><span>One two three<span><p> <p><s...

Use canvas tag or create a bunch of <div's> Whats faster?

Hey I have an array of hexadecimal colors and for each color in the array I want to create a 80px by 80px square representing that color. What would be faster performance wise? 1: Use the canvas tag iterating over the array and using the fillStyle and fillRect(); or 2: Iterating over the array and creating a div box and setting the ...

XSLT html output problem with

Hi, The problem is, that my XSLT-Transformation process ( called by .NET ), doesn't leave the HTML content in the XSLT file alone ( which isn't xml-compliant like an <img> tag without an closing slash-sign ), so i'll get errors like: <pre>System.Xml.Xsl.XslLoadException: XSLT-Compilererror. ---> System.Xml.XmlException: The 'img'-Start...