Test.html:
This Is A footer2 div This Is A P1 P This is a P2 P This Is A footer3 Div
C.css:
Div # footer2 { float: Left; background-color: # FAF; width: 200px; Height: 80px; margin: 10px; } # P1 { float:
After a busy period of time, I learned a lot about the front-end interface. Record what you think and feel...
1. webpage layout, background color, and overall style
Common webpage la s include top, footer, and center ). The top menu is generally
TXT text
ThisCodeShow in FF:
Ul is on the far left of the DIV, and the difference between the top is 10-20 PX (roughly this distance)
In ie:
Ul is at the top right of Div ..
The answer is the same:
You can add the following
Today, when I checked my website, I found that the layout was messy, so I decided to change it. However, my website is basically written based on Div + CSS. At that time, I only had IE6 on the machine, so it was normal when I only browsed IE6.
I
Recently, I am working on an education platform website. There are several issues that have not been encountered before.First, the background image of input is resolved as follows:. Loginbtn{Width: 29px;Height: 24px;Border: 0px;/* set the border to 0
Jquery Plugin: jquery. widget. shadowbox. js
/** * a simple Div shadow setting plug-in * function: * 1. automatically adjust the width and transparency of the outer container Based on the shadow width. * 2. the width and height of shadowbox
Source of the original article. comrades who have experience in project development may encounter issues such as form verification, check the validity of user input, and filter out illegal user input, the traditional pop-up warning box-based method
[Haslayout trigger method] To implement transparency, HTML elements in IE must have layout. Such elements have the readable attribute haslayout and its value is true. The details are as follows:
body,img,table,tr,th,tdAnd other
The famous web design website CSS-tricks.com recently organized a survey to ask 15 top web designers to put their own expectations on CSS, 15 designers including Jon Hicks, Wolfgang bartelme, mint Shaun Inman and stuff and nonsense Andy Clarke.
The
This is an article published by a Greek web designer named Christos chiotis in cssglobe about the application of golden split rate in CSS. The golden split rate is a widely used mathematical constant, about 1.6180339887. The golden split rate is
This book does not seem very rigorous in some places. It may be a small mistake. It is not recommended for beginners to choose it. It is not too late to look at it with the foundation.
From the principle of the "CSS authoritative guide" to the
1. Some background images used on the page. If they are small images, they should be merged into an image and then set the background image position through background-position.
The benefits of doing so are:
A. The size of an image is smaller
1. viewport:
That is, the visible area. For desktop browsers, we all know what the viewport is, that is, the area used to view the webpage after all the toolbar, Status Bar, and scroll bar are gone,This is an effective region. Because the screen
Head Region code:
Body region code:
Collect csdn blog, reprint please indicate the source: http://blog.csdn.net/nickshen3/archive/2007/06/21/1661159.aspx
I use most of them now! Important comes to hack. It can be displayed normally for IE6 and Firefox tests, but IE7 is correct! Important
The correct explanation will cause the page not to be displayed as required! After searching, find a good hack
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