code to set a select box option value as an object

You will not be able to store objects/arrays in the value attribute, however an option would be to use data-* attributes which supports json automatically with jQuery 1.4.3+ <select> <option data-value=”{“name”:”rajiv”,”age”:”40″}”>a</option> <option data-value=”{“name”:”mithun”,”age”:”22″}”>f</option> </select> And using .change() $(“select”).change(function(){ alert($(this).find(“:selected”).data(“value”).age); }); Example on jsfiddle

Is there a way to group “ elements?

Have you considered nested UL’s? I believe this would validate: <UL> <LI> <UL> <LI></LI> <LI></LI> <LI></LI> </UL> </LI> <LI> <UL> <LI></LI> <LI></LI> <LI></LI> <LI></LI> <LI></LI> </UL> </LI> </UL> Your CSS trick was my first guess; too bad you can’t use that.

in

According to the XHTML Strict DTD, no, you’re allowed script, style, meta, link, object, title and base only. Transitional allows isindex as well, but still not noscript.

Why doesn’t form nested in p validate as XHTML

Look at the error messages that you get when you try that with http://validator.w3.org Apart from a warning that you haven’t specified a character encoding (and that it’s therefore assuming UTF-8), the main error is that a <p> isn’t allowed to contain non-inline content. You can either remove the <p> and </p> completely, or, move … Read more

overflow:hidden ignoring bottom padding

I prefer to use as few <div>s as possible. <div class=”container”> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> <p>Hello, this is text.</p> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)