1
JamesSAEP
div to table conversion?
  • 2006/9/12 4:40

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I'm trying to figure out how to convert the DIV tags from the BlueX (great looking) centerblocks theme to a table, but can't quite get it. Can someone convert for me:

<div style="padding: 5px;">
<
div class="conContainer">
<
div class="con_tl"><div class="con_tr"><div class="con_br"><div class="con_bl"
<
div class="conTitle"><{$block.title}>div>
<
div class="blockContent"><{$block.content}>div>
div>div>div>div>div>div>


With the CSS of
.conTitle {/font-size110%;font-weightbold;text-decorationnone;margin0px 0px .2em 0px;padding12px 0px 10px 38px;background-image:url(images/bluex/colt.gif); background-repeatno-repeat;color#1d1d1d1d;}
.conIcons {floatright;positionrelative;font-size0.85em;top: -25px;right5px;}
.
con_tl {background-imageurl(images/bluex/tl.gif);background-position00%;background-repeatno-repeat;positionrelative;top: -1px;left: -1px;}
.
con_tr {background-imageurl(images/bluex/tr.gif);background-position1000%;background-repeatno-repeat;positionrelative;left2px;}
.
con_br {background-imageurl(images/bluex/br.gif);background-position100100%;background-repeatno-repeat;positionrelative;top2px;}
.
con_bl {background-imageurl(images/bluex/bl.gif);background-position0100%;background-repeatno-repeat;positionrelative;left: -2px;padding.8em;overflowhidden;}
.
conContainer {background-imageurl(images/bluex/bg.jpg);border1px solid #D0D0E0;position: relative;margin-bottom: 10px;z-index: 0;}


to a table?

I have a table of data that I'm using in the TinyD module that I want to match the theme. Basically make the content of the table look like the blocks.

Thanks.

2
JamesSAEP
Re: div to table conversion?
  • 2006/9/12 21:16

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Ok, I've put together what I'm afer...

What I want is to take the text that is in each of the areas seen here:
http://www.saeportal.com/modules/tdcontent/index.php?id=2

and make them have the look like the round edges and background seen here:
http://www.saeportal.com/modules/tdcontent/index.php?id=5

Any help would be great!

Thanks.

--

3
snow77
Re: div to table conversion?
  • 2006/9/12 22:01

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


why not use the same exact layout you are already using for your blocks:

<div style="padding: 5px;">
<
div class="conContainer">
<
div class="con_tl"><div class="con_tr"><div class="con_br"><div class="con_bl"
<
div class="conTitle"><{$block.title}>div>
<
div class="blockContent"><{$block.content}>div>
div>div>div>div>div>div>


erase the smarty <{$block.title}> and <{$block.content}>
add your custom text where it says <{$block.content}>
and make a link/import the stylesheet you're using?

I've never used TinyD so I don't if it has an HTML view making this possible.

I don't see why you need to convert the div's.

Login

Who's Online

499 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 499


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits