DIV+CSS floating in the upper-right corner of the layout sample

Source: Internet
Author: User

DIV+CSS floating in the upper-right corner of the layout sample

Here's the code:



free CSS Template 8




MENU



#content #navi {
border-left:1px dotted #000;
border-bottom:1px dotted #000;
Float:right;
width:250px;
Background-color: #ff99cc;
margin:0px 0px 20px 20px;
}






CONTENT


all templates are XHTML 1.0 and css2/tableless.


menu floating

Layout Grid with a floating menu on the left.

The menu is fixed in it ' s width. The height adjusts to the content.

more nice and free CSS templates
<BR/>



HTML {
padding:0px;
margin:0px;
}
Body {
Background-color: #e1ddd9;
font-size:12px;
Font-family:verdana, Arial, Sunsans-regular, Sans-serif;
Color: #564b47;
padding:0px 20px;
margin:0px;
}
#content {
border:1px solid #564b47;
Background-color: #fff;
}





The following is an HTML script effect code, click the Run button to view the effect:
[Ctrl + a ALL SELECT hint: You can modify some of the code, and then press to run]

Related Article

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.