Css coding

  • Home
  • About

Archive for May, 2009

You are currently browsing the Css coding blog archives for May, 2009.

28 May 2009

Division

Właściwość <div>

Div jest blokiem strony HTM,który może zawierac inne elementy. Można powiedziec, że każdy <div> jest podstroną strony na której występuje.

 <div>
treść sekcji
</div>

Zazwyczaj definiuje się też określony styl danej sekcji <div>, np.:

<div id=”content”>
Zawartość
</div>

lub

<div clsss=”content2″>
Zawartość
</div>

W arkuszu CSS wstawiamy nastepujące definicje:

#content {
   width: 70%;
   margin: auto;
   padding: 20px;
   border: 1px solid #666;
   background: #ffffff;
}

.content2 {
   width: 70%;
   margin: auto;
   padding: 20px;
   border: 1px solid #666;
   background: #ffffff;
}

28 May, 2009 at 14:48 by admin

Posted in Div | Comments Off

  • Categories

    • Div (1)
  • Archives

  • Calendar

    • May 2009
      M T W T F S S
           
       123
      45678910
      11121314151617
      18192021222324
      25262728293031
Css coding is powered by WordPress
Theme Design by Bob|Ron|Tom

Entries (RSS) and Comments (RSS)