HTML and CSS Reference
In-Depth Information
Next, you need to add the basic layout rules. There are quite a few, so create a new section in main.css starting
just after the existing “Layout” section:
/* Questions View
----------------------------------------------------------------------------*/
section header {
background: transparent;
float: right;
width: 340px;
margin: 0;
padding: 0;
box-shadow: none;
overflow: visible;
}
section header h2 {
margin: 0 0 .5em;
text-align: left;
}
section header p {
width: auto;
margin: 0;
text-align: left;
}
form#ask-a-question,#questions {
width: 596px;
margin: 0;
padding: 0;
overflow: hidden;
}
#questions { padding-bottom: 1em; }
#ask-a-question label,#ask-a-question>input { float: left; }
#ask-a-question label { width: 460px; }
#ask-a-question label input {
width: 430px;
height: 1.7em;
margin: 0;
padding-left: 15px;
padding-right: 15px;
}
 
Search WWH ::




Custom Search