REM article title: Using the VBS class to implement CSS buttons
REM Author: Yanek
REM Contact: aspboy@263.net
Class Cssbutton
Public Name
Public BackColor
Public bordercolor
Public Font
Public FontColor
Public Width
Public Text
Public URL
Public
Use the style sheet to control the scroll bars in IE.
Since the advent of DHTML, Microsoft has not stopped the enhancement of DHTML functionality in Microsoft's latest browser Internet Explorer The ie5.5 of 5.5 adds a lot of new style sheet content
For a long time did not study CSS, all day with a variety of frameworks do not need to write their own, and recently to do a photo album page, encountered the first problem is how to arrange.
Give the design draft first and then say how the style is
First we take the list of UL Li to start our menu can also say the production of navigation bar:
In the page we first build the following XHTML architecture:
The code is as follows
Copy Code
menu amenu A, Item 1menu A,
When you look at this article, you may wonder if it was wrong? Yes, CSS code can also hang Trojan, especially now many websites support Rich text submission.The website hangs the horse the means originally very unitary, but along with the Web2.0
First we define a div with a length of 500px, and you can think of it as a large box, in order to see it clearly, we'll show the solid line in its frame.
You will see
The picture is not complete, you can see this inside div tightly to the top
Designers generally like to choose the color according to their own tastes, which is really unprofessional. To decide which color is the most suitable, your mind should always be the brand needs, and then choose a combination of color, to specify
Common CSS and css for website beautification
With the rapid development of the Internet era, users not only meet the functional requirements of the software system, but also have increasingly higher requirements on the page display effect and
Core code The code is as follows:Copy code Background: url (images/bg.gif) no-repeat 50% 50%;Background: url (images/bg.gif) no-repeat center; Instance The code is as follows:Copy code center the upper, lower, and lower sides of the body
Should CSS styles and JavaScript scripts be placed in external files?Or put them in the page itself?How to deal with these problems is a reflection on some performance rules.In practical applications, using external files can increase the page speed,
1. Using css abbreviations can reduce the page file size, increase the download speed, and make the code concise and readable.For example:Div {Border-top: 1px solid # cccccc;Border-left: 1px solid # cccccc;Border-right: 1px soli #
The specific content includes: top border width, right border width, bottom border width, left border width, border width, border color, border style, top border, bottom border, left border, right border, border, width, height, related labels, etc.1.
When creating a form, we often want to have the interaction effect of hovering over the mouse. There are several ways to achieve this:1. Writing onmouseover and onmouseout scripts in xhtml can be achieved, but this violates the principle of
HTML selectorHTML selector is the tags of HTML, such as P, DIV, and TD. if you define them with CSS, the nature of the Tag will be displayed according to your definition on the whole page. the syntax of HTML selector is as follows:Tag {property:
1. position: staticThe default value of the position attribute of an element is static. That is, the element appears in the regular position of the document and is not located again.Generally, this attribute value can be left unspecified unless it
A Pseudo-class (Pseudo classes) is a bolt used to specify the status of one or more of its selection characters. They are in the form of selector: pseudo class {property: value;}, which is separated by a half-width English colon.Many CSS suggestions
Now IE7 has been launched for a period of time and penetrated into users. We don't have to wait too long to use more advanced CSS on the page. The two most useful items will be the Child and Adjacent Sibling selector. It is now time to use them to
Those who are familiar with Windows will not be unfamiliar with all kinds of mouse styles. When the mouse moves to a different place, when the mouse executes different functions, when the system is in a different state, the shape of the mouse
Sometimes, we need to add some special effects to images on the webpage, such as transparency, distortion, shadow, or flip. We generally think of using Photoshop and other graphic software for processing, in fact, we can also use some filters
The first is the common link label that references CSS files. The Script label applies JS files. I will not go into details here.The second is to use the wp_head function. The wp_head function is used to output custom or system-defined content. We
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.