How would this work

ChatBox

Paragon
Joined
Jan 11, 2010
Messages
1,666
Reaction score
0
FP$
1,009
I've got a headache after trying to figure this out so maybe you guys can help 😀 I'm trying to have at least four in the same line of this coding.

<div class="sidebox">
<div class="boxhead"><h2>Numbers</h2></div>
<div class="boxbody">
12345678910
</div></div>

The CSS is

<style type="text/css">
/* Show only to IE PC \*/
* html .boxhead h2 {height: 1%;} /* For IE 5 PC */

.sidebox {
margin: 0 auto; /* center for now */
width: 17em; /* ems so it will grow */
background: url(http://www.vertexwerks.com/tests/sidebox/sbbody-r.gif) no-repeat bottom right;
font-size: 100%;
}
.boxhead {
background: url(http://www.vertexwerks.com/tests/sidebox/sbhead-r.gif) no-repeat top right;
margin: 0;
padding: 0;
text-align: center;
}
.boxhead h2 {
background: url(http://www.vertexwerks.com/tests/sidebox/sbhead-l.gif) no-repeat top left;
margin: 0;
padding: 22px 30px 5px;
color: white;
font-weight: bold;
font-size: 1.2em;
line-height: 1em;
text-shadow: rgba(0,0,0,.4) 0px 2px 5px; /* Safari-only, but cool */
}
.boxbody {
background: url(http://www.vertexwerks.com/tests/sidebox/sbbody-l.gif) no-repeat bottom left;
margin: 0;
padding: 5px 30px 31px;
}

</style>

Is there a way they can be on the same line across the page? Whatever I try and do it just goes down the page. :'(

Another impossible thing I'm sure but it's worth asking. 😛
 
Can you explain please, I'm a little unsure what it is you want.

From the looks of things you want a 'sidebar' on your forum but you say you want it in the same line and not a different line?

Do you want the numbers on the same line as the title?
 
You know how those box ads are done? I want these rounded things to be added instead of the boxes. Is there a way of doing that?
 
If their for ads, you can go to whatever site makes the ads for you and punch in rounded ones and how many you want in a line.
 
Providing that the style you are using is prosilver, add this on a new line above the code...

Code:
			<div class="inner"><span class="corners-top"><span></span></span>

And then add this on a new line below the selected code.

Code:
			<span class="corners-bottom"><span></span></span></div>

I hope that helps you out 🙂
 
You will need to add them in around one box each time, not wrap them round all boxes.
 
Back
Top Bottom