Questions about Web Publishing

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.