html

What is the cleanest way to center a div absolutely (H+V) inside a browser window?

I need to build a webpage of just a humble content (a logo and some text) to be show in the center of a browser window. How do I best achieve this effect targeting today web browsers? ...

Best way to change font colour halfway through paragraph?

Hey there! I was wondering what is the best way to change the font colour of some text that appears halfway through a paragraph. For example, I have a paragraph of white text, but I want a couple of words in the middle of the paragraph to be orange so that they stand out, but then carry on with white text after that, what would be the ...

Need help with custom width selectboxes from www.ryanfait.com

Has anyone used tried the custom select boxes from link text I'm trying to find out how to make multiple select boxes at different width with the same image (with different widths)? Anyone know how to do this? Thank you. ...

Word wrap options in a select list

Is it possible to wrap long options within a select list? I have a dynamic select list, and some of the options are pretty lengthy. I'd like options that are too long to wrap to the next line. Beyond that, I'd like to indent those lines. My solution if this isn't possible is to just trim the result to n characters. Here's what I have:...

Issue with fullscreen viewing in Flash - very odd !

Hi All First just want to say thanks so much to those who answer and dedicate time to helping newbies. I for one am very grateful and hope I speak for many others. All the answers I get here either solve the problems or lead in the right direction And speaking of problems …. Please see http://simplywebdzine.com If you click on a thumbn...

Is there a way to hide source code from all browsers?

Possible Duplicates: How to disable (View Source) and (Ctrl + C ) from my site How to disable or encrypt View Source for my site Is there a way to hide source code from all browsers, disabling the right click and removing the view source option in Mac and PC? ...

tagging words with # and @replies when submitting a form!! twitter style?

can you someone help or direct me to a good tutorial, on how to detect @replies and #tags when submitting a form like twitter? and also when retrieving the information from mysql and displaying them using php, they become links instaed of just plain texts. so basically it detects it and then makes it linkable!! i hope this makes sense!! ...

how to access to file in another domain by ajax

How to access to file in another domain by ajax (I don't want use any php files) ...

How to get the id value of a check box?

have a table that dynamically generates text boxes in run time. I want to delete the row that got checked. The table is connected with DB. And, the check box ID's were appended by the TABLE DATA's ID. If, check any box, and click delete means, It have to get deleted. I have the back end codes. I just want to get the ID value of any ch...

Help with JSON raw format in javascript.

I have a JSON array of data which is [ [[2, 5], [6, 10], [10, 7], [11, 15]], [[0, 9], [1, 16], [3, 19], [4, 15]], [[0, 7], [5, 16], [8, 17], [12, 19]] ] but when I try to get the first array of [[2, 5], [6, 10], [10, 7], [11, 15]] using jsonData[0] I get the data as 2,5,6,10,10,7,11,15. I would like to get the data in the JSON ...

Extract HTML tag data with sed

I wish to extract data between known HTML tags. For example: Hello, <i>I<i> am <i>very</i> glad to meet you. Should become: 'I very' So I have found something that works to nearly do this. Unfortunately, it only extracts the last entry. sed -n -e 's/.*<i>\(.*\)<\/i>.*/\1/p' Now I can append any end tag </i> with a newline characte...

Cannot get Social Media Share Buttons to Line Up in inline list.

For the life of me I cannot get these social media share buttons to line-up with my inline list. I nearly had it with a vertical-align: top; on the <li> but Chrome didn't like that. Page can be seen here: http://206.72.114.49/sharelinkstest.htm Full HTML/CSS below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:/...

validating radio buttons

I'm processing a form with php and I want to add validation on the client side too. I read about.com's tutorial about validating radio buttons with javascript and set up this sample according to its guidelines. a) Why isn't it showing the alert message? b) How can I substitute the alert message for some innerHtml text? <!DOCTYPE h...

Form Authentication on Purely HTML pages

Hello! I am using forms authentication in IIS7 to password-protect a dev site, but the authentication seems to get by-passed when the site contains only static HTML files + login.aspx + web.config. When I renamed the files to .aspx, I am prompted with the login form I am not doing anything fancy. I have a very simple login script and i...

Javascript syntax for passing PHP variables

HELLO EVERYONE :D I am having some diffculties passing php varaibles through javascript. Basically this is the statement: new Ajax.Updater( 'result', 'update_request.php?status='+status_change); and I need to pass another variable after status_change, the variable I need to pass is the id of the ticket that is being updated. So I t...

How can I render HTML from XML within an iframe?

I am making a REST call that returns XML from within a Widget in Zendesk using an <iframe/>. I would like to use XSLT to transform the XML into HTML that is rendered within the <iframe/> Is there any way I can write my XSLT inline, and have the <iframe/> somehow execute the xslt transformation, yielding the HTML to show in the <iframe/...

INSERT / INCLUDE Text file content inside HTML page.

Hello Everyone!!! I've got kinda MLM site to make, Like be a member buy purchasing any product of company and create other members under you, in your downline and for that you get commission in product they buy. This is the concept. But, that company is providing a website as its Product. Now, That product is a Website, Where From 100 r...

how to make editable span in fire fox

even by setting contentEditable="true" in span tag , in fire fox this tag is not able to edit while there is no problem in IE. what can i do? ...

Loading Page in Specific Div using AHAH - http://microformats.org/wiki/rest/ahah but unable to execute script

Main.html Main Page GetPage.js function ahah(url,target) { document.getElementById(target).innerHTML = 'loading data...'; if (window.XMLHttpRequest) { req = new XMLHttpRequest(); req.onreadystatechange = function() {ahahDone(target);}; req.open("GET", url, true); req.send(null);...

Is it possible to have a border around a table row in some way?

I'm trying to add borders around specific table rows which change it's colors when the mouse enters the row. However, I dont see a border at all unless using border-collapse:collapse; but I have to avoid border-collapse, since in some cases the border is visible left, right and at bottom but not on top (probably because I cannot have pad...