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
Cisco Switch not configured with TACACS asks for username?
Find button on form
Email Being Blocked
Error when running adprep32/forest prep
SSL Certificates for Exchange 2010
VB.Net 2008 Problem passing data between forms
Hyper v full Installation remote administration issues
What are the different types of .NET assemblies?
Classic ASP form to email sending empty email?
Create linked server from MS Sql to oracle server