The use of this property in the project sets the vertical display of the text, but it can only be used in IE, and there is no good workaround in other browsers.
Grammar:
WRITING-MODE:LR-TB | Tb-rl
Parameters:
LR-TB: Left-right, up-down
TB-RL:
In the case of no more than one screen, when the browser window is smaller, the footer text will float upward but remain at the bottom. webjx.com
When the content is more than one screen, he displayed at the bottom of the page, not the bottom of
Some time ago to do a small project encountered a way of navigation and then suddenly think of a long time ago saw the shape of the ladder irregular navigation, try to do a bit. The results met a few problems, and then in a colleague's reminder to
When we layout a Web page, we often encounter such a situation, that is the end of the page to shape the width or height will exceed our prior calculation, in fact, is the so-called CSS box model caused.
#test
The following code content for the CSS navigation layout of the current page of the practice, belonging to webmaster Common code, Webmaster friends have similar circumstances can refer to the HA, I hope to help you
Copy Code code as follows:
CSS prevents image size from being too large
Add the following CSS:
The code is as follows
IMG {max-width:800px;Height:auto;}
The max-width:800px in code limits the maximum width of the picture to 800 pixels,
hand Hand type crosshair Cross text text wait waiting help question mark e-resize right arrow ne-resize arrow on the right n-resize nw-resize arrow on the left w-resize left arrow sw-resize left arrow s-resize under the arrows
First, Code simplification
Using the DIV+CSS layout makes the code very concise, this is believed that the method is well known to all the friends know, CSS files can be used in every Web page, as long as the call can be used to modify some pages
So a little research, under this record:
Of course, to achieve transparency, many generally use three ways:
1, direct use of transparent pictures, this is really more direct, but often need to make pictures, personally think, maintainability is
CSS resolves the effect of overriding the transparency of the parent element
CSS-compatible browser transparency notation1.{opacity:0.3;filter:alpha (opacity=30);}CSS is not compatible with coverage transparencyIf the parent element has
Text too long replaces pure CSS code with ellipsesThe code is as follows:List1List2List3 Using CSS to implement a very long field is omitted simple method Using CSS to implement a very long field is omitted simple method Using CSS to implement a
Graduation design To do a tip box: When the mouse is placed on a link, the bottom of the display has a prompt function of the form. are as follows:
The specific code implementation is as follows:Css:
The Code is as follows: . rhsyyhqdiv{ Position:
text side with the picture, found that the picture than the text, the original default is the picture top alignment and text bottom alignment, by setting CSS properties can make the picture and text alignment.
Set the Vertical-align property for
First, check the HTML element for spelling errors, forget the end tag
Even the veteran also often mistook the nested relationship of Div. You can use the Dreamweaver verification function to check for errors.
Second, check the CSS is correct
Right alignment with CSS, which seems like a very basic example, but the more basic the more error, sometimes can not even find a clue, this is my own in the beginning to write CSS when the problems encountered, today to CSS beginners to demonstrate
Sometimes, we need to page a region of the text vertical, vertical arrangement, the horizontal of course, everyone is accustomed to, for the vertical row, a time can not find the idea, oh, in fact, as simple as the horizontal, here are 4 ways to
CSS does not have an argument on the layout of the text that is aligned to the bottom of the container. A good way to use it is also better. is to use the Position property to solve, look at the following code, with the position of the relative and
Web site production with CSS to control the style of hyperlinks, generally divided into four parts: A:active is the initial state of the hyperlink, A:hover is the situation when the mouse is put up, a:link is the mouse clicks, a:visited is the
How to make a Web site to create a navigation blue effect is the first overall layout statement. The wildcard "*" means that, without special declaration, the margins and padding for all elements are zero.
We set the UL unordered list nav
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