SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
2




!   quot;    #$ %    & ' ($#
!   quot;#    )* $ & #
              #       '
!     % +, )
!   %''$  * & ' ($ $ '
                    #    %
!   %''$  #   $ & ' ($ $ '
               -        #  %
!   . #' % & ' ($#$
3



    CSS Page Layout Overview
/0 quot;
  %      -- ) #     &*
                    $    )
  1
quot;    **       $& # %
               &         #
    #-'
2  # --      & # #) '    *& '
($# #%
3 -&
 ,
    #4
    #4
    &     ) * #'
              (
    #4
    #4
    &        )-
    #4
    #4
    &      &-
    #4
    #4
    &     #'
           $    -
4



CSS Page Layout Advantages
      # #& '
         (      &( #
    #
    ( &#         -# #
                    $$
   5# # (-        )$ -#
   3     #-     #
         )& '    ($##
         )       *#(
    * ## )
       (         #
                 (   -$#&
   - ) #&
        (
    $& # #
     &          - #/ *
5




 $  # 6$    -*
$& # %
 &

7    8.9  8 . )& '
 ($ $ ' *
   #   #    & ) # #) &
               $  (
       '$%
        #
6
% ##
!    ,: * '
     #   &
     -##
     #
5) '
  )
!     *#   #
     # # )#
    *)
+)
! +#  # &) '
          )
   )# - '
     '
!    #-  # -&(
             #
    & *#  #
     - # ));#
     -#
+      )&(    -##    ) #(
      )) # / * ' ) $
              &     -#




<-     -#
#4
 #4
 &     **   -4$
              ##   4
                   8   . )% 4 - =
                        ==  2    <
 #-
8



                             !




                                       %  '#    #
h1 { background-color:#cccccc;
                                          -#     #   #
       padding:5px;
                                           # $)
       color: #000000;
                                        #    &&
}                                      <-   -#
#myContent { position: relative;        #4
                                        #4
                                        &   * ( # -4
                                                >
       left:30px;                          ##?
                                           4-
                                       #   '4#
                                           4&     '4
       font-family:Arial,sans-serif;
}
9


                           quot;#
     5  (&                   #         #      -#
     #*                  )



h1 { background-color:#cccccc;
       padding:5px;
       color: #000000;
}
#content {position: absolute;
       left:200;
                                       <-
       top:100;
                                        #4 ?
                                        #4
                                         &
       font-family:Arial,sans-serif;   )$     $# -4& '
                                                   @
       width:300;                      A * $ . ($
                                            #    #
}
quot;#   $   %
11



                                           %

                                    3 - ## # -
                                    # B # # '#
                                          C
h1 { background-color:#cccccc;          #)    #
         padding:5px;               #*         )
         color: #000000;                #    -#
}
                                        #    ')
                                              $
p { font-family:Arial,sans-serif;
                                    $'  #    #
}
                                    &&#  (
#yls {float:right;
                                    % 6$   #
         margin: 0 0 5px 5px;
                                     #4
                                     # 4 -, '
                                      &       )
         border: solid;
}                                     -$ 4 ## 4
                                             $
12


                        %          %
%'     $            )    - # ) & ()
! display:none ;
          -#        # ) & ()
                     *

! display:block ;
        -#          ))  *6     - #??     #
       #(
       $              -#
     $   (&         6

! display:inline;
          -# *  ))                 -#D
          # # (* 6 - # $
            $         D             EF
!    #   # -       -#
    # 4' 6 #* ' # #&
    #4
     &            4     '- 4
     4 1 4 G ) & ( & #?
        4   4    ?&   (  &,
13


&'           %
       )   # #6 '
      )     -#
     /* '
        &
        ) $# ) , $
             >?
      BC
     3 - # # ' >?
      ), $         &&
            #&
       -##           >?
      ), $       ))
     #   -        # &'
     % 6$  #
      #4
      #4
       &        0
     -4 4 = =
       % & & >?
      ), &
14




           %   (
)
    &#
    #&
      #
    *# -
       #
      '#
      )#
    -? )  #
    -, )
       ?   #
       '#
    - ? '#
    - , '#
       ?
    >? ) ,
       *# (

      #

     &
15


!
    /    ##        #$ %
        & ' ( $@
               #

    /    ##)    *#
        # )* $ & #
              #       '@

0 / ( $)( $$ # >? ) ,%
 & & #@
     (
$       %
NOTE: Except for imagelogo, all
elements on this page follow
normal flow
17




  &&  ##
#   $-D#
) $# 6 $ )
     *'


.#
 ?     $-     '#
!    ##H
!   )#  &H
         ,

quot;' #
   ?     $-    ##
! - '?   #    &H
               ,

    #' #I     & #J
!   # '#
       H
18
body {margin:0;
     font-family:Verdana, Arial, sans-serif; }
#wrapper { background-color:#e8b9e8;
           color:#000066; }
#leftcolumn { float:left;
          width:100px; }
#rightcolumn { margin-left:100px;
          background-color:#ffffff;
          color:#000000; }
#logo { background-color:#eeeeee;
          color: #cc66cc;
          font-size:x-large;
          border-bottom: 1px solid #000000;
          padding:10px; }
.content {padding:20px 20px 0 20px; }
#floatright {margin:10px;
                     float:right; }
.footer {font-size:xx-small;
          text-align:center;
          clear:right;
          padding-bottom:20px; }
.navBar{ text-decoration:none;
          margin: 15px;
          display:block; }
19


          *
7
!  #&
    (   & #-   #   -#
  &'
! I # ##
   )J      ##  ( #
!     # *# # 9
      #$      8.
7   )
!  #(  &   #  (     -#   &'
! K ##   ## (   #
! ) # *# # 9
    #$      8.
20


                     *
     &#   #&&
           $
!$         #     )

 - # --    ()
           $             -

 # - $## - #,# ##
 )    & ' # )* #
        (     $#

 $    # 4 )' '
      #4
       &             -4 *##
21



                 #         %

     $(      6 ( #,
7    /0 % L ) # #
        %            6 ( #,
!   # 4;
     # 4'
     &         0' ?4 )# 4
%     ' #-& ( 6 $ )
       $          *'
%     ' #-& ( )
       $          *
7      -- ## )# $ , #)
                     &      )
     M , # $ &' # 6 , # #
     #& (                (   -
    *      N
+   &# #  N
22



                                          !
< )#)               -#            #(
 # 4'
 #4
  &               -4 4
!.'          #    %     &'    ($#         ) 6 # ##
                                                $
    # 4 * ##
    #4
     &      &             -4 #         44
! % -&            # ##
                    $             )% ?        #) #
    # 4- (
    #4
     &            * -4            44
!3       (       )')
                  ?'         *)       &
    #4
    #4
    &            0 '#4 4
                   4( %                         '
! /0 M # %
    %                 $
    #4
    #4
    &         *$      * # -4 * ($ 4
                              4  #
!        #    %   &'      ($#
    #4
    #4
    &         * * ( -4 ) , # 4
                          )4
!    )   )%      ( #,             #
23




%   )   ?# '
         $   %   ) '#(
   ##     ' & ' ($
           $       #
+ &# #
quot;     '%
       #       $
# 6 # # ' &# #
 #    -               '(
IST 561 Session 5, March 9, 2009--Finetuning CSS
IST 561 Session 5, March 9, 2009--Finetuning CSS

Weitere ähnliche Inhalte

Was ist angesagt?

Death is enough as an admonition
Death is enough as an admonitionDeath is enough as an admonition
Death is enough as an admonitionIffu Slides
 
Perl 6 Datenstrukturen
Perl 6 DatenstrukturenPerl 6 Datenstrukturen
Perl 6 Datenstrukturenlichtkind
 
Basics of Profiled SMS Marketing with SPADE
Basics of Profiled SMS Marketing with SPADEBasics of Profiled SMS Marketing with SPADE
Basics of Profiled SMS Marketing with SPADEsvartikar
 
Bases pedagogicas (1)
Bases pedagogicas (1)Bases pedagogicas (1)
Bases pedagogicas (1)zulayberny
 
Ivan Chaer - Portfolio
Ivan Chaer - PortfolioIvan Chaer - Portfolio
Ivan Chaer - Portfolioivanchaer
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)Dimitris Psounis
 
Comparatif Conseil2quartiers
Comparatif Conseil2quartiersComparatif Conseil2quartiers
Comparatif Conseil2quartiersCQH
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)Dimitris Psounis
 
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)Dimitris Psounis
 

Was ist angesagt? (20)

Approccio integrato alla gestione dati in ambito clinico
Approccio integrato alla gestione dati in ambito clinicoApproccio integrato alla gestione dati in ambito clinico
Approccio integrato alla gestione dati in ambito clinico
 
Death is enough as an admonition
Death is enough as an admonitionDeath is enough as an admonition
Death is enough as an admonition
 
Perl 6 Datenstrukturen
Perl 6 DatenstrukturenPerl 6 Datenstrukturen
Perl 6 Datenstrukturen
 
Basics of Profiled SMS Marketing with SPADE
Basics of Profiled SMS Marketing with SPADEBasics of Profiled SMS Marketing with SPADE
Basics of Profiled SMS Marketing with SPADE
 
Bases pedagogicas (1)
Bases pedagogicas (1)Bases pedagogicas (1)
Bases pedagogicas (1)
 
Bases pedagogicas
Bases pedagogicasBases pedagogicas
Bases pedagogicas
 
bird flu safety
bird flu safetybird flu safety
bird flu safety
 
Ivan Chaer - Portfolio
Ivan Chaer - PortfolioIvan Chaer - Portfolio
Ivan Chaer - Portfolio
 
Guia ecodiseno
Guia ecodisenoGuia ecodiseno
Guia ecodiseno
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
 
Texto aula 5.1 guimarães corpo
Texto aula 5.1 guimarães corpoTexto aula 5.1 guimarães corpo
Texto aula 5.1 guimarães corpo
 
Comparatif Conseil2quartiers
Comparatif Conseil2quartiersComparatif Conseil2quartiers
Comparatif Conseil2quartiers
 
JRC MAYO
JRC MAYOJRC MAYO
JRC MAYO
 
Jasc
JascJasc
Jasc
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 3 (ΕΚΤΥΠΩΣΗ)
 
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 14 - ΕΜΒΕΛΕΙΑ ΜΕΤΑΒΛΗΤΩΝ (ΕΚΤΥΠΩΣΗ)
 
G325 Section B Exam Preparation
G325 Section B Exam PreparationG325 Section B Exam Preparation
G325 Section B Exam Preparation
 
Operatividad drawback
Operatividad drawbackOperatividad drawback
Operatividad drawback
 
Autoconstruccion de-cocinas-solares
Autoconstruccion de-cocinas-solaresAutoconstruccion de-cocinas-solares
Autoconstruccion de-cocinas-solares
 
Paro y contratos Enero 2012
Paro y contratos Enero 2012Paro y contratos Enero 2012
Paro y contratos Enero 2012
 

Andere mochten auch

IST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and PresentationsIST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and PresentationsD.A. Garofalo
 
IST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the finalIST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the finalD.A. Garofalo
 
IST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basicsIST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basicsD.A. Garofalo
 
IST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for librariesIST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for librariesD.A. Garofalo
 
Web Literacy Presentation2
Web Literacy Presentation2Web Literacy Presentation2
Web Literacy Presentation2Jordan Roth
 
The ABC's of Digital Literacy
The ABC's of Digital LiteracyThe ABC's of Digital Literacy
The ABC's of Digital LiteracyCheryl Biswas
 

Andere mochten auch (6)

IST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and PresentationsIST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and Presentations
 
IST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the finalIST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the final
 
IST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basicsIST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basics
 
IST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for librariesIST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
 
Web Literacy Presentation2
Web Literacy Presentation2Web Literacy Presentation2
Web Literacy Presentation2
 
The ABC's of Digital Literacy
The ABC's of Digital LiteracyThe ABC's of Digital Literacy
The ABC's of Digital Literacy
 

IST 561 Session 5, March 9, 2009--Finetuning CSS

  • 1.
  • 2. 2 ! quot; #$ % & ' ($# ! quot;# )* $ & # # ' ! % +, ) ! %''$ * & ' ($ $ ' # % ! %''$ # $ & ' ($ $ ' - # % ! . #' % & ' ($#$
  • 3. 3 CSS Page Layout Overview /0 quot; % -- ) # &* $ ) 1 quot; ** $& # % & # #-' 2 # -- & # #) ' *& ' ($# #% 3 -& , #4 #4 & ) * #' ( #4 #4 & )- #4 #4 & &- #4 #4 & #' $ -
  • 4. 4 CSS Page Layout Advantages # #& ' ( &( # # ( &# -# # $$ 5# # (- )$ -# 3 #- # )& ' ($## ) *#( * ## ) ( # ( -$#& - ) #& ( $& # # & - #/ *
  • 5. 5 $ # 6$ -* $& # % & 7 8.9 8 . )& ' ($ $ ' * # # & ) # #) & $ ( '$% #
  • 6. 6 % ## ! ,: * ' # & -## # 5) ' ) ! *# # # # )# *) +) ! +# # &) ' ) )# - ' ' ! #- # -&( # & *# # - # ));# -#
  • 7. + )&( -## ) #( )) # / * ' ) $ & -# <- -# #4 #4 & ** -4$ ## 4 8 . )% 4 - = == 2 < #-
  • 8. 8 ! % '# # h1 { background-color:#cccccc; -# # # padding:5px; # $) color: #000000; # && } <- -# #myContent { position: relative; #4 #4 & * ( # -4 > left:30px; ##? 4- # '4# 4& '4 font-family:Arial,sans-serif; }
  • 9. 9 quot;# 5 (& # # -# #* ) h1 { background-color:#cccccc; padding:5px; color: #000000; } #content {position: absolute; left:200; <- top:100; #4 ? #4 & font-family:Arial,sans-serif; )$ $# -4& ' @ width:300; A * $ . ($ # # }
  • 10. quot;# $ %
  • 11. 11 % 3 - ## # - # B # # '# C h1 { background-color:#cccccc; #) # padding:5px; #* ) color: #000000; # -# } # ') $ p { font-family:Arial,sans-serif; $' # # } &&# ( #yls {float:right; % 6$ # margin: 0 0 5px 5px; #4 # 4 -, ' & ) border: solid; } -$ 4 ## 4 $
  • 12. 12 % % %' $ ) - # ) & () ! display:none ; -# # ) & () * ! display:block ; -# )) *6 - #?? # #( $ -# $ (& 6 ! display:inline; -# * )) -#D # # (* 6 - # $ $ D EF ! # # - -# # 4' 6 #* ' # #& #4 & 4 '- 4 4 1 4 G ) & ( & #? 4 4 ?& ( &,
  • 13. 13 &' % ) # #6 ' ) -# /* ' & ) $# ) , $ >? BC 3 - # # ' >? ), $ && #& -## >? ), $ )) # - # &' % 6$ # #4 #4 & 0 -4 4 = = % & & >? ), &
  • 14. 14 % ( ) &# #& # *# - # '# )# -? ) # -, ) ? # '# - ? '# - , '# ? >? ) , *# ( # &
  • 15. 15 ! / ## #$ % & ' ( $@ # / ##) *# # )* $ & # # '@ 0 / ( $)( $$ # >? ) ,% & & #@ (
  • 16. $ % NOTE: Except for imagelogo, all elements on this page follow normal flow
  • 17. 17 && ## # $-D# ) $# 6 $ ) *' .# ? $- '# ! ##H ! )# &H , quot;' # ? $- ## ! - '? # &H , #' #I & #J ! # '# H
  • 18. 18 body {margin:0; font-family:Verdana, Arial, sans-serif; } #wrapper { background-color:#e8b9e8; color:#000066; } #leftcolumn { float:left; width:100px; } #rightcolumn { margin-left:100px; background-color:#ffffff; color:#000000; } #logo { background-color:#eeeeee; color: #cc66cc; font-size:x-large; border-bottom: 1px solid #000000; padding:10px; } .content {padding:20px 20px 0 20px; } #floatright {margin:10px; float:right; } .footer {font-size:xx-small; text-align:center; clear:right; padding-bottom:20px; } .navBar{ text-decoration:none; margin: 15px; display:block; }
  • 19. 19 * 7 ! #& ( & #- # -# &' ! I # ## )J ## ( # ! # *# # 9 #$ 8. 7 ) ! #( & # ( -# &' ! K ## ## ( # ! ) # *# # 9 #$ 8.
  • 20. 20 * &# #&& $ !$ # ) - # -- () $ - # - $## - #,# ## ) & ' # )* # ( $# $ # 4 )' ' #4 & -4 *##
  • 21. 21 # % $( 6 ( #, 7 /0 % L ) # # % 6 ( #, ! # 4; # 4' & 0' ?4 )# 4 % ' #-& ( 6 $ ) $ *' % ' #-& ( ) $ * 7 -- ## )# $ , #) & ) M , # $ &' # 6 , # # #& ( ( - * N + &# # N
  • 22. 22 ! < )#) -# #( # 4' #4 & -4 4 !.' # % &' ($# ) 6 # ## $ # 4 * ## #4 & & -4 # 44 ! % -& # ## $ )% ? #) # # 4- ( #4 & * -4 44 !3 ( )') ?' *) & #4 #4 & 0 '#4 4 4( % ' ! /0 M # % % $ #4 #4 & *$ * # -4 * ($ 4 4 # ! # % &' ($# #4 #4 & * * ( -4 ) , # 4 )4 ! ) )% ( #, #
  • 23. 23 % ) ?# ' $ % ) '#( ## ' & ' ($ $ # + &# # quot; '% # $ # 6 # # ' &# # # - '(