Bananas Development Blog: share your thoughts

moo.rd und VirutalBox

Hatte gerade das Problem, dass bei der moo.rd Erweiterung von mootools und davon die VirtualBox, die Links der Box nicht wirklich schön aussehen und zu eng beisammen sind.

Standart sind die Links ohne Leerzeichen. Das sieht nicht sehr dolle aus.
Nach ewigen rum probieren habe ich das mit css hinbekommen.
Ist ja eigentlich nicht das Problem.
Das Problem war nur, dass ich die falsche css Klasse genommen habe.

Mann muss die box Klasse nehmen und nicht die body Klasse wie man rein logisch vermuten würde. Denn im body der VirtualBox befindet sich ja eigentlich der Text und somit auch die Bestätigungs links (wie ok und abbrechen bzw. ok und cancel).

Die Lösung ist nun folgende:
.ccbody a {
color: red;
padding: 2px;
}


Damit werden die Links in der VirtualBox rot und haben einen padding von 2px.
Sollte man nun nicht ccbody verwenden dann bitte den von euch verwendeten Klassennamen einsetzen.
Also der der bei dem Aufruf der VirualBox angeben wird.

Banana
out.
  • No comments

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Trackbacks / Pingbacks

  • No Trackbacks