Miscellaneous

What do these "leftbox" and "rightbox" buttons do?

Scenario:
"I have noticed in the "Add Item" editor, there are these funny looking buttons in the editing toolbar called "leftbox" and "rightbox". What exactly do these buttons do?"

What do these "leftbox" and "rightbox" buttons do?

Solution:
When using the default Nucleus skin, its .css files come with a "leftbox" class and a "rightbox" class. They allow you to post images in your items that float to the left or the right of text.

"leftbox" and "rightbox" in action.

The code for the leftbox class is like this. Add this code your .css file to make the leftbox button work:

.leftbox {
float: left;
}

Similarly the code for the rightbox class is like this. Add this code your .css file to make the rightbox button work:

.rightbox {
float: right;
}
section: Miscellaneous | submitted by Leng on 2006.Dec.06 | 2531 views

item rate
Total votes: 6 - Rating: 5.33

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10