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.

Verschiedene Styles für Links?

Empfohlene Antworten

Hallo miteinander,

Ich gestalte eine Seite ohne Frames (alles mit Tabellen) und nur einem Stylesheet. Das soll auf jeden Fall auch so bleiben.

Doch nun zu meinem Problem.

In der Navigation will ich Schriftgröße 10 behalten, die nachfolgenden Links sollen aber Schriftgröße 8 haben. Was gibt es da für Möglichkeiten? Ich bin total verzweifelt. Kann auch sein, dass ich einen totalen Blackout habe.

Habe es schon mit <div> probiert, doch Fehlanzeige.

Bitte helft mir schnell, die Seite soll heute hochgeladen werden...

MfG Arnie

Tach...

die CSS Angaben innerhalb des Link-Codes haben Vorrang vor den CSS Styles im Header/bzw. Externen Datei...

<a href="ölkölk" style="CSS-Angaben">Link</a>

so o.ä. müsste es gehen...

oder du machst dir verschiedene klassen...

in deiner CSS-Datei:


.gensmall { font-size : 10px; color : #000000; }
a.gensmall { color: #006699; text-decoration: none; }
a.gensmall:hover { color: #C23030; text-decoration: underline; }
[/PHP]

in deiner html-datei:

[php]
<a href="datei.html" class="gensmall">linktext</a>

@Arnie

WastlHammer hat recht, man kann auch style-Attribute auch einzelen html-Elemente formatieren. :)

Näheres findest du in selfHTML.

Manne :cool:

Danke für Eure Ratschläge.

Es funzt. Hätte ich auch selber drauf kommen können *ärger*!

Original geschrieben von beebof

oder du machst dir verschiedene klassen...

in deiner CSS-Datei:

...is natürlich eleganter...

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.