Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#6

Re: [css] Zwei Stylesheets einbinden

  Alt 31. Jul 2007, 11:15
Ja, das habe ich auch schon gefunden. Hat aber leider keine Auswirkung auf die Druckansicht:
Code:
p {
  text-align: left;
  overflow: auto;
}
Mein Stylesheet:
Code:
/*

Stylesheet michael-puff.de
Copyright (c) 2002 - 2006 Michael Puff

*/

body {
  text-align: left;
  font-family: Arial, Sans-Serif;
  font-size: 80%;
  color: black;
  background-color: white; /*#FFFFEE;*/
}

h1, h2, h3, h4, h5 {
  margin-top: 20px;
  margin-bottom: 0px;
}

h2 {
  border-bottom: solid 2px;
  border-color: silver;
  padding-bottom: 5px;
}

div.nav {
  display: none;
}

div.googlead {
  display: none;
}

/*
  Absätze
*/

p {
  text-align: left;
}

p.alignright {
  text-align: right;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 3px;
  margin-bottom: 5px;
}

pre.precode {
  width: 800px;
  font-size: 8pt;
  font-family: "Courier New", Courier, Mono, monospace;
  color: black;
  background-color: #d8d8d8;
  border-width: 2px;
  border-style: solid;
  border-color: #808080;
  padding: 3px;
}

span.InLineCode {
  font-family:"Courier New",Courier,Mono;
  font-size: 11pt;
}

blockquote {
  text-align: justify;
  background-color: #DDDDCC;
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: #808080;
  padding: 5px;
}


/*
  Links
*/

a:link, a:visited, a:active {
  color: blue;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/*
  Tabellen
*/

table {
  border-width: 1px;
  border-style: solid;
  border-collapse: collapse;
  border-color: gray;
  font-size: 90%;
}

th {
  text-align: left;
  border-width: 1px;
  border-style: solid;
  padding: 3px;
  font-weight: bold;
}

td {
  padding: 3px;
  border-width: 1px;
  border-style: solid;
  vertical-align: top;
}


table.tblfooter {
  width: 100%;
  font-size: 90%;
  border-width: 0px;
  border-style: none;
}

td.left {
  text-align: left;
  font-style: italic;
  border-width: 0px;
  border-style: none;
}

td.right {
  text-align: right;
  font-style: italic;
  border-width: 0px;
  border-style: none;
}

Und das Ergebnis in der Druckvorschau:
http://www.michael-puff.de/Developer...sComCtrl32.php
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat