home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / yapt-images.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-07-12  |  1.4 KB  |  56 lines

  1. /*
  2. * Copyright 1999-2004 The Apache Software Foundation
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. *     http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /**
  17.     CSS stylesheet for yapt images
  18.     based on ideas and tutorials from http://www.bigbaer.com
  19.  
  20.     $Id: yapt-images.css,v 1.2 2004/03/06 06:16:53 antonio Exp $
  21. */
  22.  
  23. /** basic images stuff */
  24. img {border: 0;}
  25.  
  26. /** allow an image to follow its DIV's size */
  27. img.scaledImage {
  28.   width: 100%;
  29. }
  30.  
  31. /** classes of images for position (left, right, top) and width */
  32.  
  33. .fullWidth { float:top: width: 100%; }
  34. .leftThird { float: left; width: 33%; }
  35. .leftHalf { float: left; width: 50%;}
  36. .rightThird { float: right; width: 33%; }
  37. .rightHalf { float: right; width: 50%;}
  38.  
  39. /** common stuff for images */
  40. div.leftThird,
  41. div.leftHalf,
  42. div.rightThird,
  43. div.rightHalf
  44. {
  45.   border: thin silver solid;
  46.   margin: 0.5em;
  47.   padding: 0.5em;
  48.   text-align: center
  49. }
  50.  
  51. /** image caption if any */
  52. p.caption {
  53.   font-style: italic;
  54.   font-size: smaller;
  55. }
  56.