Based on jQuery Image Element grid layout plug-in, jquery grid layout plug-in

Source: Internet
Author: User

Based on jQuery Image Element grid layout plug-in, jquery grid layout plug-in

The jQuery-Based Image Element grid layout plug-in is a jQuery plug-in jMosaic that can evenly arrange images or HTML elements into a grid layout. As follows:

Download Online Preview source code

Implementation code.

Html code:

<Center> 

Css code:

body, html {padding: 0; margin: 0;}a {color: #3366CC;}.wrapper {width:900px; margin: 0 auto; font: normal normal 400 100%/1.5em georgia, serif; color: #222;}.wrapper h1 {font: normal 600%/100% georgia, serif; text-shadow: 0 -1px 1px rgba(255, 255, 255, 0.01); margin: 0 0 5px 0; text-align: center;}.wrapper h2 {font: normal 200%/100% georgia, serif; text-shadow: 0 -1px 1px rgba(255, 255, 255, 0.01); margin: 0 0 5px 0; text-transform: uppercase; }.wrapper h3 {font: normal 150%/100% georgia, serif; text-shadow: 0 -1px 1px rgba(255, 255, 255, 0.01); margin: 0 0 5px 0;}.wrapper hr {border: none; border-top: 1px solid #ddd;}.head p {font: normal 145%/1em georgia, serif; text-shadow: 0 -1px 1px rgba(255, 255, 255, 0.01); text-align: center;}.buttons a {display: inline-block;  background: #ddd; color: #111; width: 39.5%; margin: 0 5%; border-radius: 3px; text-align: center; line-height: 2.6em; text-decoration: none;}.buttons a:hover {background: #3366CC; color: #fff;}.buttons { clear: both; margin: 5px 0px 20px 0px; }.wrapper pre {font: normal 87.5%/1.2em monospace, sans-serif; padding: 15px 30px 0px 30px; margin: 0; background: #eee; border-radius: 3px; display: block; overflow: auto;}.pictures {margin: 0px auto; width: 870px; padding: 0;}.blocks {margin: 0px auto; width: 70%; padding: 0;}

Via: http://www.w2bc.com/Article/43290

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.