Floris
7th August 2007, 04:02 PM
Is there someone who knows how to convert the table header code into <div> only?
|
View Full Version : Wanted : <div> version of the header Floris 7th August 2007, 04:02 PM Is there someone who knows how to convert the table header code into <div> only? darnoldy 9th August 2007, 08:27 PM Floris- Here's one example: <!-- logo --> <div id="header_time"class="smallfont" style="text-align:right;float:right;margin-top:.5em;margin-right:.5em;"> $vbphrase[all_times_are_gmt_x_time_now_is_y] <if condition="$show['member']"> <if condition="$show['pmstats']"> <!-- Private message alert --> <if condition="$bbuserinfo[pmunread]>0"> <br /><a href="private.php?" style="color:#ff0000;font-weight:bold;text-decoration:none;">You have $bbuserinfo[pmunread] unread private message<if condition="$bbuserinfo[pmunread]>1">s</if></a> </if> <!-- /Private message alert --> <if condition="$show['pmwarning']"> <br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong> </if> </if> </if> </div> <div id="page_header" style="z-index:1;"> <a name="top"></a> <h1>$vboptions[bbtitle]</h1> </div> $_phpinclude_output The CSS: #page_header {padding: .5em;margin:0;} #page_header h1 {font-size:3em;padding:0;margin:0;color:#1a1a00;} #header_time .time {font-size:1.1em;font-weight:bold;} |