The HTML of site. Master is:
first page
Management 1
Management 2
Management 3
Management 4
Management 5
Management 6
When referencing the site. Master page
Code This should be the case.
first page
That is, the page to jump
It is required that the page no longer decreases with the window width after reaching a specified width.
After finding this topic in the communication area, I feel it is necessary to put it inArticle.
SpecificCode: test page
Code Analysis
Hackers found that CSS used to make special webpage EffectsCode.
With the popularization of web, more and more special web effects are used, which also gives hackers a chance. They found that CSS code used to create special webpage effects can
Due to the different browser versions, the interpretation of some elements in CSS is not the same. Of course, the experts also encountered the same problem and collected some solutions, before that, I posted two codes for choosing different CSS
1. CSS: a stacked style sheet that provides more precise control over la S, fonts, colors, backgrounds, and other graphic effects.Rules
2. The rules of the inherited style sheet can be extended from the parent to the child, for example, Haha for
CSS attributes
1. Font attributes
This is the most basic attribute that you will often use. It mainly includes the following attributes:
Attribute
Attribute meaning
Attribute Value
Font-family
Font used
All fonts
It is strange that there is only one piece of code. Copy the code to an HTML file and check its running effect. Then you can see the style. It feels great. However, I don't know if this attribute is supported by browsers of the latest version.
Summary of the priorities of CSS style definitions
The stack priority is:
Browser default
The style sheet has the following features:
Class selector
The derived selector is previously called the context selector, so the complete cascade
Http://lzy83925.iteye.com/blog/1186609
How to intercept URLs such as *. do in your dispatcherservlet does not cause access to static resources. If your dispatcherservlet intercepts "/", intercepts all requests, and accesses to *. js and *. jpg are
1. Force line breaks and end with a ellipsis.
Why can't I see the results?
2. CSS wrapDiv {word-wrap: Break-word; Word-break: normal ;}
3. CSS forces English words to be disconnectedDiv {word-break: Break-all ;}
For Div nesting, to enable the inner
In fact, both CI and ZF have the same problem, that is, the path problem. In the early stage, when I was using ZF for CMS, I set in the. htaccess file that no redirection was required for js, css, img, and other resource files. However, when I was
Iframe is widely used. There are two common requirements:
1. To obtain the iframe effect, a scroll bar is provided, saving a lot of layout.2. embed a page to implement the Framework link.
If you cannot use iframe, you can use the following
I haven't written a blog for a long time, and I don't know what to write or what to share with you.
Read this notebook the other day. Let's take a look at it today, and give a simplified example and a simple principle analysis.
Effect:
Example
Text layout and Image Layout the next day
Text layout:
1) A common layout of top, bottom, and right blocks:
Untitled documentHeaderLeftRightFooter
In the preceding example, we used to set common style settings. In this example, we set margin to 0
The mainstream browsers are Internet Explorer 6, Internet Explorer 7, and Firefox 2. This made us have to consider how to make the style "crossover" in website design ". Here we will introduce a simple method to make the Display Effect of the style
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