Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2006
Posts: 18
Newbie
OP Offline
Newbie
Joined: Oct 2006
Posts: 18
I've made a style with rounded corners on boxes for version7.2.2
Heres a how-to-do for those who wish to it manually:

The wrapper named 'corners' use following opening html:

HTML
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top: 5px">
<tr>
<td>
<b class="b1"></b>
<b class="b2"></b>
<b class="b3"></b>
<b class="b4"></b>
<b class="b4"></b>
<table width="100%" class="t_outer" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" class="t_inner" cellpadding="0" cellspacing="0">

And closing html:
HTML
</table>
</td>
</tr>
</table>

<b class="b4"></b>
<b class="b4"></b>
<b class="b3"></b>
<b class="b2"></b>
<b class="b1"></b>

</td>
</tr>
</table>




Put the following css-code into 'Extra Properties' in your style:

Code
.b1, .b2, .b3, .b4 {
display:block;
overflow:hidden;
height:1px;
}
.b1 {
background:#BFD2D7;
margin: 0 5px;
}
.b2, .b3, .b4 {
background:url('/forums/styles/images/fiber.gif');
border-style:solid;
border-color:#BFD2D7;
}
.b2 {
margin:0 3px; border-width:0 2px;
}
.b3 {
margin:0 2px; border-width:0 1px;
}
.b4 {
margin:0 1px;border-width:0 1px;
}


Upload 'fiber.gif' into [/yourdomain/forums/styles/images/] directory.

enjoy!

Attached Images
fiber_canvas.JPG (90.26 KB, 165 downloads)
fiber.gif (12.68 KB, 555 downloads)
Rounded_corners_with_wrapper.txt (14.35 KB, 275 downloads)
SHA1: 3fd950d70758c473b296d243c3898c767ebe777d
Last edited by arentzen; 05/04/2008 1:16 PM.

trosfrihed.dk
Custom Ubb 7.5.2
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Very nice Peter, thank you! thumbsup


- Allen wavey
- What Drives You?
Joined: Jun 2000
Posts: 190
Enthusiast
Offline
Enthusiast
Joined: Jun 2000
Posts: 190
Total noob here, so could someone please explain in a step-by-step way how to create rounded corners for an existing stylesheet? (7.4.1)

Also, I'm unsure if the OP's attachment is an entire stylesheet which I can simply import (how is that done?) after renaming the file extension from .txt to .css and changing the "background" path and/or image to my own??

Thanks for anyone's kind help. grin


Artificial Intelligence is no match for natural stupidity!
Joined: Aug 2000
Posts: 1,609
A
Addict
Offline
Addict
A
Joined: Aug 2000
Posts: 1,609
I was about to answer, but then I took a look at your forums and it appears you already have it working. Good job! smile

Joined: Nov 2003
Posts: 482
S
Enthusiast
Offline
Enthusiast
S
Joined: Nov 2003
Posts: 482
yah, i started him off with a little help smile

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,551
Posts293,823
Members13,839
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 267
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 2
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,808
Greg Hard 4,625
Top Posters(30 Days)
isaac 5
Top Likes Received
isaac 64
Gizmo 12
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 2
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.6
(Snapshot build 20201121.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.048s Queries: 26 (0.016s) Memory: 3.2944 MB (Peak: 3.6362 MB) Data Comp: Zlib Server Time: 2020-12-02 18:27:48 UTC
Valid HTML 5 and Valid CSS