html

GUI Design breaks when resizing the window

When I resize my web page window, it breaks the GUI design and tabs looks bad: <TABLE border="0" bordercolor="red" cellpadding="0" cellspacing="0" width="100%" id="homeContainer" > ---------------- here the rest of contents </TABLE> ...

Use Resource Files In ASP.NET for HTML controls

Hi, is it possible to use resource files (.resx) in ASP.NET for a HTML controls ? ...

change text fields from JavaScript

Hi I have a small web page on my embedded device with such code: <th width="310" DHCP Relay:&nbsp;&nbsp; </th> <td>&nbsp;&nbsp;</td> <td> <% nvram_get("rg_dhcp_relay_enable""); %> </td> where 'nvram_get' returns either 1 or 0.I have two questions in this connection: (1) I'd like to print "ON" or "OFF" instead of 1 or 0 respectively....

Information popping up

Hai, I have seen something that when mouseover is done on a link/word in a HTML page, an information will be popping up. Can any one post some sample code or link to achieve that. Thanks in Advance. ...

forms html action

When I have a form like this: <form method="post" action="."> What does the "." in action stand for? ...

Html tags usage guide line or best practices

Hi all, As a web developer, I would like to know: What are the most common used html tags and when should I use (the context)? Do's and Don'ts of those tags What are the html tags which should not be used? Thanks. update: Yes, I understand that the best thing is to read the specification. But I think it will be great if there is s...

how to match whole html elements no matter what is inside just as browsers do it ?

on a given page there are bunch of elements: <div class="some class"> <-- here is anything, other divs, even other divs with the same class, but I need to match right on closing tag for this particular opening tag --></div> ...

A good html capable richedit replacement for winforms?

Hi Can anyone recommend a html replacement for a winforms (c#) richedit control? I would like a control like the build in richedit control, that just use HTML instead of rtf to store the text. I don't want it to edit HTML, just to present a editor with images and styled text that store the result in html. I would prefer a free contro...

Show table when form is submitted

I have a form, if nothing is submitted then it should't show the table #mytable Only when the form has been submitted is should show the table #mytable How do i do that? <form action="" id="myform" method="get"> <strong>Søg på fritekst :</strong> <input type="text" name="searchword" id="searchword" value=""/> <input type="subm...

How, using regex, can I capture the outer HTML element, when the same element type is nested within it?

I'm trying to capture certain parts of HTML using regular expressions, and I've come across a situation which I don't know how to resolve. I've got an HTML fragment like this: <span ...> .... <span ...> ... </span> ... </span> so, a <span> element into which another <span> element is nested. I've been successfully using the followin...

Should One HTML Radio Button In a Radio Group Always Be Checked?

Are there any standards (HTML, UI, accessibility, and such like) that stipulate that one of the radio buttons in a given group of radio buttons should be selected at all times? I have encountered a business requirement whereby I have been asked that both radio buttons in a group be left unchecked, and then to have logic forcing the user...

HTML/XHTML TEL: and USSD String

Hi All I'm trying to get the <a href='tel:*120*5xxxx#' /> to work but it does nto like the ussd part ?? Is there a way to use tel: with a ussd string ? PS. xxxx above represents numeric value's and yes i have tried urlencoding. ...

jQuery Galleria image gallery real world working example with JSON

Is there any real world working example that uses JSON in Galleria plugin to fetch images from? ...

title on disabled html input

Is there a way to show title on a disabled html input. When I set the disabled attribute for the input, title is not shown. ...

iPhone HTML question - access to body only

Hi, I'm trying to get an HTML page to render correctly on mobile devices - mainly the iPhone and Android. The page is a 448x278 image with a few lines of text below it, all centered. When someone visits the page, I want it to zoom correctly in the device's browser so that it fills the device's screen (as opposed to being fully zoomed-ou...

can anyone suggest me some tiny lightbox or modal dialogue box or thickbox to open a html or php page??

I have to open a page in a lightbox or thicbox style with a overlay image . I found thickbox on net but that is too big arnf 55 kb. I need a simpler and tiny js thing to do this. Can anyone plz suggest some?? ...

Position of Google Javascript on a page

Hi, I just fixed a spacing bug on a HTML page I have inherited - and I worked out in the end that on that particular page this being at the top of the page was pushing the layout out; <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"&gt; </script> I understand that it's good sometimes to place j...

How to use Regular Expression to match the charset string in HTML?

HTML code example: <meta http-equiv="Content-type" content="text/html;charset=utf-8" /> I want to use RegEx to extract the charset information (i.e. here, it's "utf-8") (I'm using C#) ...

should i use Table or DIV to achive this structure ?

Want some handy guidelines prior starting the HTML Prototype of this application. Please find below the mockup screen. Mockup screen I need to make this structurewith liquid layout so that it will adjust as per the resolution. Please do suggest me should i go with DIV with floating left or can i use tables to achieve this structure? ...

Need a table to fit full screen within div with another fix width div.

I have the following HTML. <body> <div class="header"></div> <div class="navdiv"></div> <div class="mainarea"> <p></p> <table> <tr> <th scope="row">Name</th> <th scope="row">Description</th> <th scope="row">Created</th> <th scope="row">Created By</th> <th scope="row">Modified</th> <th scope="row">Modified B...