HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


How to get a simple box to box in my miniblock

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#105328 (In Topic #20537)
Avatar

Fan in action

How to get a simple box to box in my miniblock

What is the difference between a miniBLOCK and a miniMODULE?

I believe I have created a miniBLOCK, but it might be a miniMODULE.
It displays a picture of the current moon phase.
I want to surround it with a box, since it is being displayed on the left panel, and most other things seem to have a box or at least a title to them.
I've tried to use {+START and <box> and {BOX} and all sorts of things, but it either doesn't surround the picture of the moon with a box (with a title) or it blows the page up.
Here's a picture of my moon mini-something; how would I put a titled box around it like the other mini-something's have on the left panel?
And then, if anyone want's the finished mini-module-block, just mention it here and I'll post the whole finished code and directories.
Back to the top
 
Posted
Rating:
#105352
Avatar

Community saint

Try this

Code

<div class="box"><div class="box_inner">
<h3>Title if you want one</h3>
content
</div></div>
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: