Autor Beitrag
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Do 16.11.06 20:22 
Hallo,

weiß einer von euch, wie man den <ul>-Tag dazu brint, dass er Linksbündig ist, also keinen ganzen Zentimeter zum Rand besitzt? JEgliche von mir probierte CSS-Formatierung ist leider fehlgeschlagen :(.


(<ul>-Tags sehen so aus:
  • fds
  • sdf
)
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 16.11.06 20:26 
margin-left?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Do 16.11.06 20:28 
Bei -100 sieht es immer noch genauso aus wie vorher ;). Das reagiert bei FF nur im positiven :(.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Do 16.11.06 20:31 
<li> verschieben?

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Do 16.11.06 20:33 
was wäre mit margin: 0?
Ist ungetest, aber eigentlich sollte es funktionieren.
Falls nicht, guck mal ob du vlt. was am margin der <li>-Elemente änderst.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 16.11.06 20:36 
user profile iconDanniolo hat folgendes geschrieben:
was wäre mit margin: 0?
Ist ungetest, aber eigentlich sollte es funktionieren.
Falls nicht, guck mal ob du vlt. was am margin der <li>-Elemente änderst.

Ich habe das so verstanden, dass <ul> nicht ganz am Rand sein soll. Oder soll es doch?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Do 16.11.06 20:38 
Es soll ganz links sein, also der eine Zentimeter soll weg ;).

@li: da hatte ich es zueerst ausgestet, aber nix hat gefunzt :((.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 16.11.06 20:40 
ausblenden Quelltext
1:
2:
3:
4:
5:
  <ul style="margin-left:-30px">
    <li>Eins</li>
    <li>Zwei</li>
    <li>Drei</li>
  </ul>

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Fr 17.11.06 07:58 
Ah, k thx, es funzt so wie ich es will. Ich habs immer mit span-drumherum probiert ;).

//EDIT: Doch nicht. Unterm FF zwar, aber unterm IE siehts dafür anders aus(da fehlen die ersten Buchstaben vom Text jetzte) :(.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Fr 17.11.06 13:09 
Da musst du halt bei margin-left einen geringeren Wert wählen. Aber achte darauf, den IE7 zum Testen zu benutzen.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Fr 17.11.06 14:05 
Jo ich weiß, habs ja auch gemacht. Aber der Unterschied ist ein bissl größer ;). (3 Buchgstaben + das Symbol hat der vorne abgeschnitten, währen d beim FF alles da war ;) ). Ich habe jetzt einfach ein kleines Bild davor gesetzt ;).