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.

Empfohlene Antworten

Veröffentlicht

Hallo Leute ich hätte da einen kleine Frage:

Ich hab da mit CSS einen kleinen Quelltext verfasst und brauche jetzt ein wenig eure Hilfe. Der Text fängt so an=

Ihr Account ist NICHT aktiviert! Damit .........

Jetzt fehlt mir der Befehl der das NICHT fetter macht als der Rest (bolder).Ich weis nicht wie ich den integrieren soll?

Hoffe ihr könnt mir da ein wenig Helfen!

MfG

Loomit

CSS = Cascading Style Sheet? Dann ist die Frage zwar im falschen Forum, aber mit font-weight:bold kannst Du Text in Fettschrift ausgeben.

Wenn die Frage doch mir C oder C++ zusammenhängt, dann stell' sie bitte noch einmal etwas genauer :)

es handelt sich schon um CSS. aber du hast mein problem nicht verstanden, ich will nur das wort Nicht fett haben, und den rest nicht. Jetzt weiß ich nicht wie ich es in den Quelltext integrieren soll?

IdEE?

MfG

loomit

einfach...


Ihr Account ist <span class="bold">NICHT</span> aktiviert! Damit .........

und im css

span.bold {

  font-weight: bold;

}

es handelt sich schon um CSS. aber du hast mein problem nicht verstanden, ich will nur das wort Nicht fett haben, und den rest nicht. Jetzt weiß ich nicht wie ich es in den Quelltext integrieren soll?

Dann mach es so:

<p>Ihr Account ist <span style="font-weight:bold">NICHT</span> aktiv...bla..bla... </p>

Ich ging davon aus, dass Du das HTML-Element <span> kennst. Dein Problem ist also kein CSS-Problem gewesen. Alternativ kannst Du auch das HTML-Element <strong> verwenden, das den Text "stark" auszeichnet, Browser sind in der Umsetzung des "wie" IMO jedoch weitgehend frei:

<p>Ihr Account ist <strong>NICHT</strong> aktiv...bla..bla... </p>

oder einfach in ein html-block-tag packen: (meiner meinung nach am einfachsten)

Ihr Account ist <div style="font-weight: normal;">NICHT</div> aktiviert...

Grüße

Mo

EDIT:

was ich nu nicht beachtet habe, damit hast du auch nen Zeilenvorschub...

*sorry* :hells:

Ich würde es so machen:

<p>Ihr Account ist <strong>nicht</strong> aktiviert!</p>

Gruß, Tobias

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.