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.

per css Links mit Bilder bestücken

Empfohlene Antworten

Hallo

geht es, dass ich bein links per css vorgeben, dass vor und hinter jedem link eine kleine Grafik angezeigt wird? Z.B. kleine Dreiecke damit sich die links besser abheben?

@kills: Erster!

Moin!

Ja, das geht:


...

<style type="text/css">

a {

  padding: 0px 10px 0px 0px;

  background-image: dreieck.gif;

  background-repeat: no-repeat;

  background-position: center right;

}

</style>

...

<a href="#">Testlink</a>

...

Hoffe es hilft!

Gruß, Tobias

ah, danke. Und wenn ich dahinter UND davor so ein bild haben möchte?

Das wäre etwas schwieriger, ich habe das noch nie gemacht. Aber unser geschätzter Kollege Eric Meyer demonstriert sowas auf seiner Seite: http://www.complexspiral.com/publications/rounding-tabs/

Im Prinzip macht er es wie ich beschrieben habe und packt noch nen <span> um den a-Tag. Dem span gibt er dann auch ein Hintergrundbild welches links ausgerichtet ist und linken Innenrand hat.

Das geht aber IMHO nicht mit IE*

@kills: Erster!

da ist man ma 1 tag im Urlaub und dann sowas...

Wie meine Vorredner schon sagten, ist das ganze mit 2 Bildern nicht ganz so einfach...

Ausser du willst es nur Mozilla komp. machen dann ist es wiederrum umso leichter... ;)

Ich markiere Links im Fortlaufenden Text gerne durch ein Symbol und eine gestrichelte Unterlinie

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.