Font usage is an indispensable part of web design. A webpage is the carrier of text. We hope to use a specific font on the webpage, but this font is not a built-in font of the non-mainstream operating system, in this way, users may not see the real
Now let me know the answers from Hax.
Theoretically, Src expresses that the content of this element will be replaced as a whole. Such as IMG, script, and IFRAME.
In HTML 2, the src attribute is extended to all elements. For example:
Href
This article describes the key to HTML and CSS-the box model (
Box Model ). The key to understanding the box model is the margin and padding attributes. Correct understanding of these two attributes is also the key to learning to use CSS layout.
The biggest headache for div and CSS layout is the vertical center of things in the container. I also encountered this problem when I was doing the station. I checked the information and summarized the following method of center, compatible with IE
Introduction: This is a detailed page for making CSS cascading drop-down menus. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
Yui compressor is Yahoo! A small tool developed specifically for compressing JavaScript and CSS files. The operating system requires support from the JDK environment. To use this tool, install JDK and configure the environment variables of java_home.
Speaking of font-family in CSS, I believe many friends often use it, but I don't know how to write it when you reference Chinese fonts?Recently, I have paid special attention to the following three types of most commonly used:
1. Direct
Although it is not very nice to find one, it is complicated to set up: color shading-emphasize the text color 6
Results In word:
[Style analysis ]:
In word, you can set the table format, mainly to set the border and shading. You can
ArticleDirectory
Element background range
Set all background attributes in a declaration.
You can set the following attributes in sequence:
Background-color
Background-Image
Background-repeat
Background-Attachment
CSS background control
Background Color
AvailableBackground-colorSet the background color for the element. This property accepts any valid color value.
This rule sets the background of an element to Gray:
Code highlighting produced by
The prompt box with a triangular arrow is shown below:
This is a prompt box
We usually use images to implement the small triangle above, because it is convenient and fast, but if the image processing is not good, it will look like there are
I encountered this problem yesterday and it is difficult to solve it.After checking the garden, some other brothers answered this question, but I still don't think it is clear. Here I will summarize it for you.For example
1
Link
Href
=
Differences between selector types in CSS styles
In css styles, there are three selector types: "class", "tag", "advanced", and "class". One style can change the other style of "class, a style of "class" can also change a style of "label. 2.
Attribute selectors, you may not be unfamiliar with the attribute selector. In essence, ID and class selector are actually attribute selectors, only the ID or class value is selected.
The format of the attribute selector is element followed by
CSS pre-processor technology has been very mature, and more pre-processor CSS frameworks have emerged. This article introduces the three most common CSS Preprocessor frameworks, sass, less CSS, and stylus.
First, let's briefly introduce what a CSS
Syntax: ...
By using the mobile property marquee, you can not only dance your text, but also apply it to images, tables, and so on.
welcome to science and technology Youth Learning Channel!
Direction = left, indicating the direction. The text
The CSS box model is a professional term. But you should not be scared by it, but it is just the application of some basic CSS attributes. CSS Box Model
WebpageDesignEach element in is a rectangular box.How to accurately calculate the size of the
Problems:
Div uses float: Left of the style. When a div containing "style: float" is nested in this Div, the following problem occurs:
There are only a small part of the two images in the border.
Solution:
Set the height attribute of the
The above results look good. In addition to flash, there are still many ways to implement it on webpages.
Obviously, this effect is not complex. A background image, coupled with a polygon layer with transparency above, can be converted under the
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