Set rs = Server.CreateObject ("Adodb.recordset")
Sql= "SELECT * from 1 ORDER BY id DESC"
Rs.Open sql,conn,3,2
While not rs.eof
Pubdate=rs ("pubdate")
Pubtime=year (pubdate) & "Year" &month (pubdate) & "Month" &day (pubdate) &
Tip: You can modify some of the code before running
pure CSS Lightbox effect
(without JS) Close< ;/div>
Tip: You can modify some of the code before running
I. Translucent webpage backgroundTranslucent webpage background The code is as follows:Copy code Opacity: 0.8;Filter: "progid: DXImageTransform. Microsoft. Alpha (opacity = 80 )"; The CSS method in IE6 solves the problem of PNG image
Solve the problem that the sub-level object uses css float, while the parent-level div cannot adapt to the height and cannot be supported by the parent-level content. The parent-level div has no height solution.When float is used in the box of an
In the previous article, we have already mentioned the usage of CSS attributes such as positioning, layout, and CSS size. Today we will talk about the other two important attributes of CSS, Margin) and Padding (inner Padding ). These two attributes
Css prevents image sizes from being too largeAdd the following CSS: The code is as follows:Copy code Img {Max-width: 800px;Height: auto;} In the code, max-width: 800px limits the maximum image width to 800 pixels, while the following hight:
The following figure shows a simple design at the bottom of my website (menu and copyright notice) in the small window.The html structure is very simple: The code is as follows:Copy code Home About Services Portfolio Blog
1. Differences between IE and non-IE browsers The code is as follows:Copy code # Tip {Background: blue;/* non-IE background? Color */Background: red 9;/* IE6, IE7, and IE8 background? Color */} 2. Differences between IE6, IE7, IE8, and
Set all padding attributes in a declaration.DescriptionThis short attribute sets the width of all the padding of an element or the width of the padding on each edge. The padding value set on the non-replaceable element in the row does not affect the
The original English text is here:Http://www.satzansatz.de/cssd/onhavinglayout.htmAll layout words in the text are not translated. As a result, the meaning of the word itself is quite a lot, and everything is awkward. Secondly, it is also a
The implementation method is simple.Add the following code to CSS: The code is as follows:Copy code Img {Filter: expression (This. Cannot be removed? "": ((! This. complete )? "":This. runtimeStyle. filter = ("progid: DXImageTransform. Microsoft.
Original article title: Vertical Centering in CSSSubtitle: Yuhu's Definitive Solution with Unknown HeightDespite the vertical-align feature of CSS, it cannot effectively solve the vertical center problem of unknown height (in the case of text or
First look at the effect chartWhat we want is this effect. The code is as follows:Copy code . Box-163css {width: 600px; margin: 20px auto ;}/* Blogpart2 */. Blogpart2 {width: 570px; text-align: left; padding-bottom: 15px; overflow: hidden; float:
Absolute position and relative position usage in positionPositioning: position: absolute; syntax: There are two scenarios:1. If top, right, bottom, and left are not set, the "content region original point" of the parent level is the original point
One of the biggest challenges encountered in web design is the compatibility of web pages with different browsers, because mainstream browsers such as IE 6.0, IE 7.0, firefox 2, and Opera 9 do not parse CSS very closely, this results in different
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