Questions about Web Publishing
1. Company profile the first line of text indentation a lot, you can try to add a div on the UL and then clear floating, can be resolved
2. About news typesetting, how to add icons and text in front of the text with underlined text followed by a news date
Use DD or Li to define width and height to set text spacing, add background image to DD or Li
Background:url (.. /images/icon1.jpg) No-repeat left center;
Add <span>[2015-4-11]</span> control span right floating in the Li tag in front of a tag
. News-right ul{
width:717px;
Height:auto;
margin:0 Auto;
}
. news-right ul li{
width:696px;
height:23px; /* Control the width/height of the text */
margin-left:10px; /* Controls the distance from the front dot to the right border */
Background:url (.. /images/newslinred.jpg) No-repeat left center;
border-bottom:1px dashed #D3D3D3;
}
. news-right ul Li span{
Float:right;
Color: #880002;
}
. news-right ul Li a{
line-height:23px; /* Control text spacing */
margin-top:10px; /* Control the distance between the text and the top border */
margin-left:12px;/* control the distance between the front dot and the text */
Color: #424141;
3. About the news big standard typesetting
DT DD Add picture then control width height, then dt left floating dd right float, control DD margin-top:15px;
4. As the height of the news head is as high as the bottom background or the wrong pixel, the bottom of the background can not be larger than the news picture
5. If Div sets div when margin-top:20px can not control the set of div distance, the margins of the DIV may be added position:absoult;
6. Do not feel enough space at the bottom
Questions about Web Publishing