A PHP parsing error occurs when the smarty template engine is applied in the project today. It is mainly located in the CSS section, and the error is shown as "uncaughtException 'smartycompilerexception' with message' syntax error inTemplate ".
What is Em?
Em indicates the font height. The default font height of any browser is 16 PX. Therefore, the unadjusted browsers all match: 1em = 16px. Then 12px = 0.75em, 10px = 0.625em. To simplify font-size conversion, you must declare font-size = 6
If you set a background position using pixels, the top-left corner of the image is positioned from the top-left corner of the element by the specified number of pixels. with percentage positioning, It is the corresponding point on the image that
Or in the script:This. style. wordbreak = Break-all
Set or obtain the following value for string:NormalDefault value. You can return rows from each word.Break-allThe row is returned when the column width is exceeded, regardless of the position.Keep-
In the process of cooperation, we often encounter such problems. The style CSS made by others should be retained and added by ourselves.
Then, I added it and found it was not covered by others, but it was covered by others.
We can solve this problem
Alternating rows
The alternate line is generally used to set the background color change. follow these steps:
1. Define the CSS style of the alternating rows. alternatingrowstyle {Background: # f8f8f8 ;}
2. Apply the style in
Add a line below
Code
Right
Text or image is moved to the right of the parent element.
-->
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
in the following section, the image floats to the right
How can I use CSS to control the background transparency of a webpage? In this article, we use the general idea: to make two layers, one for text and the other for transparent background (using filters ).
Implementation Method in IE:
HTML code:
The color code is as follows:
Brown brown red orange yellow
Green green blue purple gray
White white black olive stone grey Lime
Navy blue nave maroon purple red fuchsia silver siver water aqna
This is the color that supports the HTML
* ****** The yellow background section is nonsense. Ignore ********
I have only three front-ends. I have been working for more than a year, and the other two are estimated to be at least four or five years. I thought I could learn something from
The CSS control text is omitted.
This property:Text-Overflow: Clip | ellipsis (default value: Clip)
Clip: it does not show the omitted mark (...), but simply crop it.
Ellipsis: when the object text overflows, the omission mark (...) is displayed (...
Keywords: CSS compatibility
Doctype affects CSS Processing
Firefox: When div is set to margin-left and margin-right is set to auto, it is already centered. IE is not working.
When setting text-align for Firefox: body, you must set margin: auto
The default attribute values are static and static. You don't have to talk about it. The most important thing isRelative (relative) and absolute (absolute ).If we copy other people's code, we will combine the absolute attribute with left and top to
Jquery User Manual
3.: CSS operationsTraditional JavaScript has complicated operations on CSS. For example, the background Syntax of CSS is document. getelementbyid (""). style. background, while jquery is more convenient for CSS operations, $ ("#
I used it before. I didn't care too much about it and recently used it again. Easy to use later.
Here are more scroll bar styles:
Text Content
Text Content
Text Content
Text Content
Text Content
Text Content
Note:In the process of learning CSS, because it contains too many elements, attributes, and so on, there are always some places where you are not sure or often make mistakes.
Blog posts to record the error points and use them by yourself. I will
textarea-like effect implemented by CSS and --> and --> This is implemented using Div! Terms and Conditions General servicing resistor video computer element trancoder der prototype analog solution mainframe network. Solution video debugged
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