Microsoft
Software
Hardware
Network
Question : Checkbox next to <h1> element
Hello,
I want to have a H1 or H2 heading with a checkbox in front of it to collapse the section displayed after the heading. If I simply put a checkbox there, I get a line break before and after the heading automatically. Is there any way to have them at the same line, one next to other? This is to be done in pure HTML/XHTML+CSS, must work in MSIE, FF, Chrome. Thanks a lot
Answer : Checkbox next to <h1> element
<div>
<h1></h1>
<input type='checkbox'>
</div>
style
-------
div
{
display:inline;
display:inline-block;
}
Random Solutions
SMTP Sending on behalf of
Split word document and save based on tags
System DSN doesn't show in Excel
WordPress - Admin - Change Admin Page Titles
Find all records that don't exist n a table
MS Access 2007 -- Using Like with Left Join
Internet Explorer blocking javascript
Crosstab Query To Excel - Number Format
Using PHP to generate custom font text with shadow
Restoring Intranet Web Site