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.

Frage zu css formartierung

Empfohlene Antworten

Veröffentlicht

Habe eine Frage, möchte den Abstand zwischen Email und Passwort kleiner haben!

Derzeitiger Stand:file.php?dat=lj4ceVGF.jpg

So möchte ich es haben:file.php?dat=WM0YsULf.jpg

Quellecode der Datei:

<legend><?php echo"Ich bin bereits Kunde!" ?></legend>

<label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>

<?php echo zen_draw_input_field('email_address', '', 'size="18" id="login-email-address"'); ?>

<br class="clearboth" />

<br><label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>

<?php echo zen_draw_password_field('password', '', 'size="18" id="login-password"'); ?>

<br>

<br>

Quellcodeausschnit aus der css:

#returncus label.inputLabel {width: 8em; float: left;}

.logcontent {padding: 0 5px; background-color: #ffffff; }

Hi,

des müsste mit "line-height: xxx;" gehn ... Mit diesem Befehl kannst halt den Zeilenabstand verändern. Erlaubte Werte für xxx sind Zahlen, Prozentangaben und natürlich Längenangaben.

Ich hoffe ich konnte dir helfen

mfg

<br class="clearboth" />

<br><label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>

ist zwar nicht über css aber wenn du das eine <br> rausnimmst hast ne zeile weniger und die zwei felder rutschen automatisch zusammen ohne da labels ändern zu müssen.

oder geht das da nicht und ich steh grad aufm schlauch?!

oder geht das da nicht und ich steh grad aufm schlauch?!

Richtig.. Man sollte ohnehin davon absehen, <br /> als Abstands-Vergrößerer zu missbrauchen. dafür gibt es margin und padding.

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.