One 、css On-line 150 An example http://www.w3cschool.cc/css/css-examples.html

Two 、 Repeat the background image horizontally :

body
{
background-image:url('gradient2.png');
background-repeat:repeat-x;
}

3、 ... and 、 Background image alignment and other text control  http://www.w3cschool.cc/try/try.php?filename=trycss_background-image_position

background-repeat:on-repeat;
background-position:right top;
margin-right:200px;

Four 、 A fixed background image

background-repeat:no-repeat;
background-attachment:fixed;

5、 ... and 、

css Pattern design ( One )( On-line 150 An example | background | Text | typeface | link | list | form | The box model | Frame | outline | Margin | fill | Grouping and nesting | Size | location | float | alignment ) More articles about

  1. 1 CSS brief introduction & grammar & Selectors and priorities & background & Text & typeface & link & list & form

    What is? CSS? Cascading Style Sheets Cascading style sheets , Styles define how to display HTML Elements Styles are usually stored in style sheets , External stylesheets are usually stored in CSS In file Multiple style definitions can be cascaded into 1, Style is very important to the elements in a web page ...

  2. 2 CSS Box model & Frame & outline & Margin & fill & Group nesting & Size &display And visibility

    Box model Box  Model all HTML Elements can be seen as boxes ,CSS The model is essentially a box , Encapsulate the surrounding HTML Elements Include : Margin , Frame , Filling and actual content The box model allows us to put... In the space between the other elements and the border of the surrounding elements ...

  3. CSS3—— background Text typeface link A list of the style form

    background background-color rgb(255,0,0,1)      The last value represents transparency , The scope is 0--1 background-image The default tile repeats background-rep ...

  4. bootstrap Learning summary -css Pattern design ( One )

    Because the project needs , So I plan to study hard bootstrap frame , A little bit before , The overall framework is not difficult , But there are many things involved , Want to master it , Still need more practice . One :bootstrap What is it? ? bs What is it? ?  That is the front page ...

  5. CSS.03 -- Browser line height 、 typeface ; Box model -- Frame 、 padding 、 Margin

    If you are also learning by yourself at this time , Please use FireWorks CS6 Cutting and ranging, etc , Let's have a look at Baidu ~ Fireworks Basic use of New file   ctrl+n Open file  ctrl+o Call up and hide the ruler ctrl+r ...

  6. bootstrap Learning summary -css Pattern design ( Two )

    First , Thank you very much for your support , About bootstrap Summary of my study , I will keep updating , If there is something wrong with it , Please point it out for me . About the last article , Fixed layout and flow layout are key , If it's not clear, you can look at what I wrote h ...

  7. css Pattern design

    1. Inline elements ( picture . Text ) Horizontal center By setting... To the parent element  text-align:center html Code : <body> <div class="txtCenter" ...

  8. css Style advanced skills - Selectors

    use <div> The element is a web page When writing style sheets , We often use div Elements to wrap content : <div> <p>Here are two paragraphs of content& ...

  9. CSS Style writing standard

    Maybe different teams have their own norms , Or a lot of people are writing CSS I still write what I think when I'm young , There are not too many constraints . I think CSS There is still a need for code specifications , Especially in teamwork , In collaboration with many people , Norms are particularly important . Ben ...

Random recommendation

  1. About js Time handling in

    About js Programming , Mainly , Most of them use jquery. however , js Some native methods and properties also need to be mastered , This is just When we meet , Just write it down , Such as : event Of relatedTarget attribute : Lord ...

  2. debug [LTS]

    0613 A. When copying the code, forget the subsequent symmetrical changes . There are some unreasonable low-level mistakes in the statistics of answers . B. stay 0-indexed Access to the first element in the program uses Arr[1]. Matrix-tree by mat[d ...

  3. rookie - I'll teach you how to Acegi Apply to actual project (1.2)

    7) daoAuthenticationProvider Simple database based authentication .DaoAuthenticationProvider Get the account password in the database and match it , If successful, it will be through the user's identity ...

  4. 【JQuery NoviceToNinja series 】01 The opening Html Page design and layout

    01 The opening Html Page design and layout index.html <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml ...

  5. Python urllib2 Module learning notes

    2015.3.6  urllib2 The usage of this method is as follows # customized Handler Processing function opener = urllib2.build_opener(ProxyHandler, HTTPHandler) ...

  6. Microsoft position internal recommendation -Sr DEV Lead, Bing Search Relevance

    Microsoft recently Open Position : Contact Person: Winnie Wei (wiwe@microsoft.com )Sr DEV Lead, Bing Search RelevanceLocat ...

  7. Sruts2 File upload ContentType List of values for

    ".*"="application/octet-stream" ".001"="application/x-001" & ...

  8. MD5 check

    I haven't written essays for a long time , It happens that we can take a rest these two days , Take this opportunity to summarize the recent use of python My little experience . Personal experience file verification is often used when downloading files , stay linux The simplest way to do this is : 1 $ md5sum filenam ...

  9. Building Redis for use on Cygwin( turn )

    This is the second time I have installed Redis for use on Cygwin in the last several months. It seem ...

  10. asp.net Upload pictures to the server

    ASP.NET Of FileUpload Control can be used to upload files to the server .HoverTreeTop I added a new one “ Reading pictures ” function , The picture is used FileUpload The uploaded . The picture reading function is used to view :http://hovertree.c ...