Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2006
Posts: 18
Newbie
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!
Attachments
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 2:16 PM.

trosfrihed.dk
Custom Ubb 7.5.2
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
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
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
Addict
Addict
Offline
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
Enthusiast
Enthusiast
Offline
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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)