HTML5 and CSS3, Second Edition

(singke) #1

We style it up with this CSS that we add to stylesheets/style.css:


html5_cross_document/supportpage/stylesheets/style.css
#form{
width:400px;
float:left;
}

#contacts{
width:200px;
float:left;
}

#contactsiframe{
border:none;
height:400px;
}

fieldset{
width:400px;
border:none;
}

fieldsetlegend{
background-color:#ddd;
padding:0 64px0 2px;
}

fieldset>ol{
list-style:none;
padding:0;
margin:2px;
}

fieldset>ol>li{
margin:0 0 9px 0;
padding:0;
}

/* Makeinputsgo to theirown line*/
fieldsetinput,fieldsettextarea{
display:block;
width:380px;
}
fieldsetinput[type=submit]{
width:390px;
}
fieldsettextarea{
height:100px;
}

report erratum • discuss

Talking across Domains • 217


Download from Wow! eBook <www.wowebook.com>

Free download pdf