html

How do you make a background image to adjust it's size to the containing element?

Check the rounded corners of the main tabs in this site Those are background images with width of 440px, and still it adjusts to the containing element without loosing the rounded edges. ...

How do I "quietly" reload a page from a Greasemonkey script?

I want to reload a page so that it does not cause the effects of a full-page refresh, like displaying "Loading..." on the page's tab. Here's the code I have so far. My theory was that I could overwrite the body section with a <frame>-wrapped version of the updated site, gotten via GM_xmlhttpRequest. reloader.js setInterval(reload, 10...

how to achieve the effect like this page,showing apply at the bottom all the time?

http://jobview.monster.com/Pearle-Vision-Sales-Associate-Job-Fairview-IL-US-82910211.aspx Should be cross browser ...

Need a good way for user to select "To" for email sending

I have a website where a user can send out emails from. I have kind of mimics basic form with: To: <Text Input> Subject:<Text Input> Attachments: <Button> <Text Input> Body <input text> I have a list of email address in a database table and it's easy for me to retrieve this. I am trying to find the slickest way to support the followi...

HTML parsing - Asp.net

I got HTML tags saved in column as : <p><strong>Alva Beach Markets from 8.00am to 1.00pm.&#160; For more information contact Monika Chapple on 0428 649 472.</strong></p> But when bind it to Label out is showing whole HTML tags instead the inner text. How should i parse this before binding to label control. Thanks ...

sending form's submit button's value?

I was wondering if it is possible to place 2 submit buttons if send either of its information when click. Example: <form method="post" action="content/requests/index.cs.asp?Process=RespondRequests" id="REQUESTFORM"> <input type="hidden" name="REQUESTID" value="<%=objRequests("REQUESTID")%>"> <input type="hidden" nam...

Semantics of linking rss and atom feeds in html documents

Say on a site I have a blog and portfolio. These are the two most active areas on this site. In terms of linking separate rss feeds for the blog and portfolio. would it be best to: link the blog and portofolio feed on every page? link the blog only in the blog? Since the files are linked I am wondering if Are feeds downloaded with ...

disable all the elements in html.

How can we disable all the elements in html through javascript.The easiest way... ...

colour combinations for css

does anyone have links to a website that shows sets of colours that work well together for css specifically for links a:link a:hover a:visited a:active (i have googled, but didn't find anything satisfactory) ...

overflow:hidden not working for li elements inside ul

I'm trying to create a carousel from ul object where the li elements are blocks and ul is the carousel container. I've tried two approaches but neather seems to work, the overflow property is not functioning as I want it to. Approach 1: <ul style="overflow:hidden; width:200px; height:120px; display:block;"> <li style="float...

Importing an HTML table as excel file into SAP

We need to create an .xls file in asp.net which will be imported into SAP. Currently we're writing an HTML table into the response object. I'd like to know if SAP can import .xls files that are in fact HTML tables. ...

What are the pros and cons of adopting HTML 5 now for a site redesign?

Hi all, I'm working on a large ites re-write that has now come to included a redesign. I have been reading up on HTML 5 and wanted to know what cons are out there to have me avoid adopting it for this design implmentation? The design needs to work in A-grade browsers (yes including IE6 :( ), so I'm wondering how / etc will be rendered...

<select> whose values depend on another <select>

I can think of one way to do this, however I don't know if its the only way. On a page on my website, I have a two select boxes, a 'parent' select box and a 'child' select box. The values that are inside the 'child' select box depend on what is selected in the 'parent' select box. This would be easy to solve in JavaScript, via AJAX call...

Anti-aliased text with css/javascript for Large font size???

I am using Large fonts in my website at a few places and they don't appear anti-aliased or smooth... I was wondering if their is any way to show large anti-aliased fonts for browsers on windows OS which has anti-aliasing switched off as default... Similar to something they have on this website here ...

How to stop a webpage from executing javascript that resides inside a textarea or as value to input (type text) ?

I have an anoying problem with a page. If I have a textarea or textbox with its value (set on serverside) to eg. "alert('hello');" that script is executed upon load of the page. Well why dont you encode the string before you set it as value to the textbox you ask? Then special characters like åäö will also be encoded and thats a solutio...

Using CSS, how do I set the formatting of just a single cell or a single column?

Using CSS, how do I set the formatting of just a single cell or a single column? ...

Why isn't this wrapping as expected?

I'm sure this is something silly I'm missing. Can anyone take a look at this page and tell me why BYOB section is showing up on the right and not right under the American section? Thanks in advance. ...

another Bug in jquery validator?

i use remote method of validator for checking if username exists in DB my scenario: form with one field (username of course) i filled field it passes validation, but i don't sending form yet going to DB inserting username that i filled in form that i still don't sent yet returning to my form press on submit btn voila, it pass validat...

Save All and Cancel All with jeditable?

How do you, if at all, place a save all button, and a cancel button, that turns off all editing with one click, and a save button that saves all the fields at one shot? ...

Click Nav Menu is Misbehaving

I posted here recently when I was having trouble getting a script to work. It was supposed to, with the aid of PHP, detect what page the user was on, select the nav menu list item with the same id, and then set the id of the list item to 'cur', which would attract the appropriate styling. I got that to work, as can be seen here: link t...