Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
(Web-) Design und webbasierte Sprachen Tipps & Tricks, Designabgleich, HTML & Javascript, Flash, ASP, PHP, Perl/CGI...

Textgröße wird nicht übernommen ô.O

Diskussion: Textgröße wird nicht übernommen ô.O im Forum (Web-) Design und webbasierte Sprachen, in der Kategorie Web, Network & Multimedia Palace; Anzeige Moin, also ich habe folgendes problem. In dieser CSS Datei: Code: body { color: black; background-color: white; font-size: 12px; ...

Antwort
Alt 27.10.06, 18:58   #1 (permalink)
 
Benutzerbild von reaLInsanity
 
Registriert seit: 10.01.06
reaLInsanity Leistung: Facit NTK
reaLInsanity eine Nachricht über ICQ schicken reaLInsanity eine Nachricht über AIM schicken reaLInsanity eine Nachricht über Yahoo! schicken
Likes: 0
Textgröße wird nicht übernommen ô.O

Anzeige

Moin,
also ich habe folgendes problem.

In dieser CSS Datei:

Code:
body {
    color: black; background-color: white;
    font-size: 12px;
    font-family: Verdana;
    margin: 0; padding: 1em;
    min-width: 41em; /* Mindestbreite verhindert Umbruch und Anzeigefehler in modernen Browsern */
  }

  h1 {
    font-size: 1.5em;
    margin: 0 0 0.7em; padding: 0.3em;
    text-align: center;
    background-color: #fed;
    border: 1px solid silver;
  }
  html>body h1 {
    border-color: gray;  /* Farbangleichung an den Internet Explorer  */
  }

  ul#Navigation {
    font-size: 0.83em;
    float: left; width: 18em;
    margin: 0 0 1.2em; padding: 0;
    border: 1px dashed silver;
  }
  ul#Navigation li {
    list-style: none;
    margin: 0; padding: 0.5em;
  }
  ul#Navigation a {
    display: block;
    padding: 0.2em;
    font-weight: bold;
  }
  ul#Navigation a:link {
    color: black; background-color: #eee;
  }
  ul#Navigation a:visited {
    color: #666; background-color: #eee;
  }
  ul#Navigation a:hover {
    color: black; background-color: white;
  }
  ul#Navigation a:active {
    color: white; background-color: gray;
  }

  div#aktionen {
    font-size: 0.9em;
    float: right; width: 12em;
    margin: 0 0 1.1em; padding: 5px;
    background-color: #eee; border: 1px dashed silver;
  }
  div#aktionen h2 {
    font-size: 1.33em;
    margin: 0.2em 0.5em;
  }
  div#aktionen p {
    font-size: 1em;
    margin: 0.5em;
  }
  div#shoutbox {
	font-family: Verdana;
    font-size: 0.9em;
    float: right; width: 100%;
    margin: 0 0 1.1em; padding: 5px;
    background-color: #eee; 
	border-top: 1px dashed silver;
  }
  div#shoutbox h2 {
    font-size: 1.33em;
    margin: 0.2em 0.5em;
  }
  div#shoutbox p {
    font-size: 1em;
    margin: 0.5em;
  }
  div#Inhalt {
    font-size: 12px;
    margin: 0 12em 1em 16em;
    padding: 0 1em;
    border: 1px dashed silver;
  }
  * html div#Inhalt {
    height: 1em;  /* Workaround gegen den 3-Pixel-Bug des Internet Explorers */
  }
  div#Inhalt h2 {
    font-size: 1.2em;
    margin: 0.2em 0;
  }
  div#Inhalt p {
    font-size: 1em;
    margin: 1em 0;
  }

  p#Fusszeile {
    clear: both;
    font-size: 12px;
    margin: 0; padding: 0.1em;
    text-align: center;
    background-color: #fed; border: 1px solid silver;
  }
  p#Fusszeile a:link {
	text-decoration:none;
    color: black; background-color: #fed;
  }
  p#Fusszeile a:visited {
  text-decoration:none;
    color: #666; background-color: #fed;
  }
  p#Fusszeile a:hover {
  text-decoration:none;
    color: black; background-color: #fed;
  }
  p#Fusszeile a:active {
  text-decoration:none;
    color: white; background-color: #fed;
  }
  
  body a:link {
	text-decoration:none;
    color: black; background-color: white;
  }
  body a:visited {
  text-decoration:none;
    color: #666; background-color: white;
  }
  body a:hover {
  text-decoration:none;
    color: black; background-color: white;
  }
  body a:active {
  text-decoration:none;
    color: white; background-color: white;
  }
  
.newseintrag {
    background-color: white;
    margin-bottom: 10px;
}
.newseintrag > .Datum {
    padding: 5px;
    float: left;
    white-space: nowrap;
}
.newseintrag > .Titel {
    padding: 5px;
    float: left;
    border-left: 1px solid darkgray;
}
.newseintrag > .Inhalt {
    padding: 5px;
    clear: both;
    border-top: 1px solid darkgray;
}
.error{
	text-align: center;
	margin: 0; padding: 2px;
	border: 1px dashed red;
	width:100%;
}
.good{
	text-align: center;
	margin: 0; padding: 2px;
	border: 1px dashed green;
	width:100%;
}
.adminmenu{
	text-align: center;
	margin: 0; padding: 2px;
	width:100%;
}
.legende{
	font-size: 10px;}
So bei Daten die aus ner mysql kommen, schreibt der den text trotz angegebener <div>'s oder <p>'s trotzdem "riesig"... woran könnte das liegen? Also nur die Abfragen aus ner MySQl sind so groß sonst nix...

Könnt euch das ja mal anschauen auf www.pizza.real-insanity.de <<--- keine werbung, das ist nurn schulprojekt .. danke :)
reaLInsanity ist offline   Mit Zitat antworten
Alt 27.10.06, 20:33   #2 (permalink)
LX
Moderator
 
Registriert seit: 14.02.06
LX Leistung: Z3
LX eine Nachricht über ICQ schicken LX eine Nachricht über AIM schicken LX eine Nachricht über Yahoo! schicken
Likes: 21
Standard

Code:
#Inhalt table {
    font-size: 1em;
}
__________________
"Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better."
- Samuel Beckett

JS BB LX UP
LX ist offline   Mit Zitat antworten
   
HaBOT
 
- Anzeige -

Werbung ist gerade online    
Alt 27.10.06, 20:56   #3 (permalink)
Themenstarter
 
Benutzerbild von reaLInsanity
 
Registriert seit: 10.01.06
reaLInsanity Leistung: Facit NTK
reaLInsanity eine Nachricht über ICQ schicken reaLInsanity eine Nachricht über AIM schicken reaLInsanity eine Nachricht über Yahoo! schicken
Likes: 0
Standard

dank dir hat geklappt wofür steht das em eigentlich?! das hat mir auffer realschule keiner beigebracht.. wende es aber totzdem an ^^
reaLInsanity ist offline   Mit Zitat antworten
Alt 27.10.06, 21:24   #4 (permalink)
 
Registriert seit: 25.06.06
0wnZ Leistung: Facit NTK
0wnZ eine Nachricht über ICQ schicken
Likes: 0
Standard

http://de.selfhtml.org/css/formate/w...htm#numerische
0wnZ ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » Web, Network & Multimedia Palace » (Web-) Design und webbasierte Sprachen » Textgröße wird nicht übernommen ô.O
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
php wird nicht weiterverarbeitet? p-g (Web-) Design und webbasierte Sprachen 2 08.06.09 08:01
IIS 6.0 , PHP 4.4.4 - IP wird nicht angezeigt ba2 Internet Allgemein 2 27.10.06 22:25
w-lan wird nicht erkannt bimbo510 Linux/UNIX 2 02.02.06 18:25
Hilfe, homepage übernommen, aber undokumentierter code, was nun Sunrize (Web-) Design und webbasierte Sprachen 9 15.09.05 07:36
Druckereinstellungen werden nicht dauerhaft übernommen ... BySu Die Problemzone 6 27.01.04 21:02


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61