XHTMLforum

XHTMLforum (http://xhtmlforum.de/index.php)
-   CSS (http://xhtmlforum.de/forumdisplay.php?f=73)
-   -   Text vor und nach Radio-Button (http://xhtmlforum.de/showthread.php?t=68967)

KostümWebmaster 26.02.2013 17:32

Text vor und nach Radio-Button
 
Auf der Seite Kostümverleih und -Verkauf - Kostüm Kaiser habe ich ein Bewertungssystem instaliert. Soweit so gut.
Ich kriege nun jedoch die Darstellung nicht so hin, wie sie sein sollte.
Eigentlich sollte da stehen:
Schwach 00000 Stark
Die beiden Wörter werden jedoch beide hinter den Radio-Buttons dargestellt. Ich habe sämtliche Display und Float-Varianten probiert, aber es will nicht klappen.
Dies ist der CSS-Code mit dem ich rum experimentiere:
HTML-Code:

.content_rating
{display: block;
  color:#8f8f8f;
  font-size: 10px;
  margin-top: 40px;
  margin-bottom: 0px;
}

.content_rating img
{
  vertical-align: top;
}

.content_vote
{
  color:#8f8f8f;
    font-size: 10px;
  clear:left;
  float:left;
  display: inline;
}

.content_vote input
{
  margin: 0px 0px 0px 0px;
  vertical-align: middle;
  text-align: center;
  display: inline;
}

#richsnippetsvote
{clear:left;
  float:left;
  color:#8f8f8f;
    font-size: 10px;
}

#colmain input[type=checkbox], #colmain input[type=radio]
{ display: block;
  width: 12px;
  height: 12px;
  padding:0px;
  margin-top:3px;
}

#colmain input[type=radio] {margin-right: 10px;}

Kann mir da jemand einen Tipp geben?

fricca 26.02.2013 17:39

Nicht floaten. Dann ordnen sich die Elemente von selbst in der Reihenfolge an, in der sie im Quelltext stehen.

KostümWebmaster 26.02.2013 17:48

Zackbum - Problem gelöst!
Tausend Dank!


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:46 Uhr.

Powered by vBulletin® Version 3.8.11 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

© Dirk H. 2003 - 2023