Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

css -> Schriftformatierung

Empfohlene Antworten

Hallo,

habe folgende Schriftformatierugen in meinem body tag

 
body{
background-color:#1266AC;
font-family:Arial;
font-size:10pt;
font-weight:bold;
color:#ffffff
}
[/PHP]

allerdings scheint es egal zu sein, ob ich beim font-weight: bold, 100, 900...

angebe. Die Schrift sieht immer gleich aus.

Kann mir jemand von Euch weiterhelfen?

gehört das font-weight an andere Stelle oder was hab ich falsch gemacht.

Die anderen Angaben im Body tag werden befolgt. :confused:

Danke korea1

bei Color hinter dem f, fehlt der ;

sollte sonst eigentlich lüppen

Hi,

das war nur ein Kopierfehler. Das Semikolon ist vorhanden.

Kann es daran liegen, dass die Schrift, die ich formatieren möchte in einer td steht?

Jaja.... es liegt daran, dass der Text in einer td steht :floet:

Es hat sich erledigt, wenn ich das css für die td definier, zeigt es mir alles so an, wie ich es haben möchte.

Danke korea1

Hi,

das war nur ein Kopierfehler. Das Semikolon ist vorhanden.

Kann es daran liegen, dass die Schrift, die ich formatieren möchte in einer td steht?

Jaja.... es liegt daran, dass der Text in einer td steht :floet:

Es hat sich erledigt, wenn ich das css für die td definier, zeigt es mir alles so an, wie ich es haben möchte.

Danke korea1

deshalb immer so:

 body, td, textarea, input, div, span{

    background-color:#1266AC;

    font-family:Arial;

    font-size:10pt;

    font-weight:bold;

    color:#ffffff

} 

Wenn alles auf der Website z.B. in Arial 10pt sein soll dann so:

* {font-family:Arial; font-size:10pt}

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.