PDA

View Full Version : Heading Problem


In$ane
08-05-2007, 07:52 AM
Hi i am having some problems with making the heading in the center.. hope some one can help
it is a surreal media skin which i am sorting out the bugs ..

the site is http://www.fraggers-laggers.co.uk/Vbulletin/ heading needs to move to the right

heading code
<div align="center">
<div id="topBg">
<div id="top">
<div id="topL"></div>
<div id="flash">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="521" height="186" id="header">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="../header.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />

<param name="wmode" value="opaque"/>
<embed src="../header.swf" quality="high" wmode="opaque" bgcolor="#000000" width="521" height="186" name="header" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
</div>
<div id="topR"></div>
</div>
</div>
<table width="1154" border="0" cellpadding="0" cellspacing="0"><tr><td background="GT22f/images/mainBg.gif">
<table width="1154" border="0" cellspacing="0" cellpadding="0" background="GT22f/images/nav.gif" height="95">
<tr>
<!--SMT4 STYLE by SURREAl-MEDIA.COM -->

<td class="navbar" align="center">
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="$vboptions[bburl]/index.php" class="mainmenu">Home</a>&nbsp;&nbsp;
<if condition="$show['member']">
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="usercp.php$session[sessionurl_q]" class="mainmenu">$vbphrase[user_cp]</a>&nbsp;&nbsp;
</if>
<if condition="$show['registerbutton']">
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="register.php$session[sessionurl_q]" rel="nofollow" class="mainmenu">$vbphrase[register]</a>&nbsp;&nbsp;
</if>
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="faq.php$session[sessionurl_q]" accesskey="5" class="mainmenu">$vbphrase[faq]</a>&nbsp;&nbsp;
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="memberlist.php$session[sessionurl_q]" class="mainmenu">$vbphrase[members_list]</a>&nbsp;&nbsp;
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="calendar.php$session[sessionurl_q]" class="mainmenu">$vbphrase[calendar]</a>&nbsp;&nbsp;
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="search.php?$session[sessionurl]do=getnew" accesskey="2" class="mainmenu">$vbphrase[new_posts_nav]</a>&nbsp;&nbsp;
<else />
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="search.php?$session[sessionurl]do=getdaily" accesskey="2" class="mainmenu">$vbphrase[todays_posts]</a>&nbsp;&nbsp;
</if>
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" class="mainmenu">$vbphrase[search]</a> <script type="text/javascript">vbmenu_register("navbar_search");</script>&nbsp;&nbsp;
</if>
<else />
<if condition="$show['searchbuttons']">
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="search.php$session[sessionurl_q]" accesskey="4" class="mainmenu">$vbphrase[search]</a>&nbsp;&nbsp;
<if condition="$show['member']">
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="search.php?$session[sessionurl]do=getnew" accesskey="2" class="mainmenu">$vbphrase[new_posts_nav]</a>&nbsp;&nbsp;
<else />
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="search.php?$session[sessionurl]do=getdaily" accesskey="2" class="mainmenu">$vbphrase[todays_posts]</a>&nbsp;&nbsp;
</if>
</if>
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow" class="mainmenu">$vbphrase[mark_forums_read]</a>&nbsp;&nbsp;
<if condition="$bbuserinfo['userid']">
<img src="GT22f/images/pip.gif" alt="" height="9" width="6" border="0"> <a href="#"onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;" class="mainmenu">$vbphrase[open_buddy_list]</a>
</if>
</if>
</div>

</td>
</tr>

</table>
<!-- content table -->
$spacer_open

$_phpinclude_output


main css code

#flash {

float: left;

width: 521px;

margin-bottom: -2px;

}

#topBg {

background: url('GT22f/images/Toprepeater.jpg') repeat-x top;

height: 186px;

}


#topL {

background: url('GT22f/images/topL.gif') no-repeat;

width:228px;

height: 186px;

float: left;

}


#topR {

background: url('GT22f/images/topR.gif') no-repeat;

width: 231px;

height: 186px;

float: left;

}


#top {

width: 1154px;

margin-left: auto;

margin-right: auto;

}

#footer {

position: relative;

width: 1154px;

clear: left;

display: block;

height: 275px;

background: url('GT22f/images/footer.jpg');

}


.holder { width: 1154px; position: relative; }



body {background: #000 url('GT22f/images/Bottomrepeater.jpg') repeat-x bottom; border: none; scrollbar-3dlight-color: #A5A4A4; scrollbar-arrow-color: #D6D6D6; scrollbar-darkshadow-color: #1A1A1A; scrollbar-face-color: #8E8E8E; scrollbar-highlight-color: #BEBEBE; scrollbar-shadow-color: #5B5B5B; scrollbar-track-color: #636363 }

font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }

a:link,a:active,a:visited { color: #000; text-decoration: underline }

a:hover { color: #DB3E3E; text-decoration: underline }

hr { border: none #d1d7dc; height: 0px }

.bodyline { background-color: #686868 }

.forumline { background-color: #000000; border: solid 1px #000 }

td.row1 { background: #686868 url(GT22f/images/smback.gif);height: 20px }

td.row2 { background: #7D7D7D url(GT22f/images/smb.jpg);height: 20px}

td.row3 { background: #A6A5A5 url(GT22f/images/smback.gif);height: 20px }

td.rowpic { background: #404040 repeat; border-top: none; border-right: none #fff; border-bottom: none; border-left: none }

th { color: #ffffff; font-weight: bold; font-size: 11px; background: #000000 url(GT22f/images/sidebg.gif); height: 20px }

td.cat,td.catHead,td.catSides,td.catLeft,td.catRig ht,td.catBottom { background: #424242 url(GT22f/images/sml.gif); border: none #ffffff; height: 15px }

td.cat,td.catHead,td.catBottom { background-image: url(GT22f/images/sidebg2.gif); border: 0px; height: 25px; }

th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight ,th.thBottom,th.thCornerL,th.thCornerR { color: #fff; font-weight: bold; border: none #000000; height: 22px }

td.row3Right,td.spaceRow { background: #a9a9a9 url(GT22f/images/smback.gif); border: none #ffffff }

th.thHead,td.catHead { font-size: 12px; border: none }

th.thSides,td.catSides,td.spaceRow { border: none }

th.thRight,td.catRight,td.row3Right { border: none }

th.thLeft,td.catLeft { border: none }

th.thBottom,td.catBottom { border: none }

th.thTop { border: none }

th.thCornerL { color: #fff; border: none }

th.thCornerR { color: #fff; border: none }

.maintitle,h1,h2 { color: #FF6060; font-weight: bold; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none }

.maintitle:visited,h1,h2 { color: #FF6060; font-weight: bold; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none }

.gen { font-size : 12px; }

.genmed { font-size : 11px; }

.genmedlight { color: #a9a9a9; font-size: 10px }

.gensmall { font-size : 10px; }

.gen2 { font-size : 12px; }

.genmed2 { font-size : 11px }

.gensmall2 { font-size : 10px; }

.gen,.genmed,.gensmall { color : #fff; }

.gen2,.genmed2,.gensmall2 { color : #000; }

a.gen2,a.genmed2,a.gensmall2 { color: #B2B2B2; text-decoration: none }

a.gen2:visited,a.genmed2:visited,a.gensmall2:visit ed { color: #B2B2B2; text-decoration: none }

a.gen2:hover,a.genmed2:hover,a.gensmall2:hover { color: #DB3E3E; text-decoration: underline }

a.gen,a.genmed,a.gensmall { color: #ffffff; text-decoration: none }

a.gen:visited,a.genmed:visited,a.gensmall:visited { color: #ffffff; text-decoration: none }

a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DB3E3E; text-decoration: underline }

.mainmenu { color: #E1CD90; font-size: 10px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }

a.mainmenu { color: #E1CD90; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }

a.mainmenu:visited { color: #E1CD90; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }

a.mainmenu:hover { color: #fff; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }

a.members { color: #000; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }

a.members:visited { color: #000; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }

a.members:hover { color: #DB3E3E; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }

.cattitle { color: #ffffff; font-weight: bold; font-size: 11px; text-decoration: none; letter-spacing: 1px }

.cattitle2 { color: #fff; font-weight: bold; font-size: 11px; text-decoration: none; letter-spacing: 1px }

a.cattitle { color: #ffffff; text-decoration: none }

a.cattitle:visited { color: #ffffff; text-decoration: none }

a.cattitle:hover { color: #DB3E3E; text-decoration: none }

.forumlink { color: #000; font-weight: bold; font-size: 12px }

a.forumlink { color: #000; text-decoration: none }

a.forumlink:visited { color: #000; text-decoration: none }

a.forumlink:hover { color: #DB3E3E; text-decoration: underline }

.nav { color: #fff; font-weight: normal; font-size: 9px }

.navbar { padding-bottom: 17px; }

a.maintitle,h1,h2 { color: #DB3E3E; font-weight: bold; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none }

a.maintitle:visited,h1,h2 { color: #DB3E3E; font-weight: bold; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none }

a.maintitle:hover,h1,h2 { color: #DB3E3E; text-decoration: underline }

a.navindex { color: #DB3E3E; text-decoration: none }

a.navindex:visited { color: #DB3E3E; text-decoration: none }

a.navindex:hover { color: #DB3E3E; text-decoration: underline }

a.nav { color: #E1CD90; text-decoration: none }

a.nav:visited { color: #E1CD90; text-decoration: none }

a.nav:hover { color: #fff; text-decoration: underline }

a.top { color: #000; text-decoration: none }

a.top:visited { color: #000; text-decoration: none }

a.top:hover { color: #DB3E3E; text-decoration: underline }

.topictitle { color: #000; font-weight: normal; font-size: 11px }

a.topictitle:link { color: #323232; text-decoration: none }

a.topictitle:visited { color: #323232; text-decoration: none }

a.topictitle:hover { color: #DB3E3E; text-decoration: underline }

.name { color: #000000; font-size: 11px }

.postdetails { font-size : 10px; color : #000000; }

.postbody { color: #000; font-size: 12px }

a.postlink:link { color: #000; text-decoration: none }

a.postlink:visited { color: #000; text-decoration: none }

a.postlink:hover { color: #DB3E3E; text-decoration: underline }

.bottomnav { color: #000000; font-weight: normal; font-size: 11px; text-decoration: none }

a.bottomnav { color: #fff; font-weight: normal; text-decoration: none }

a.bottomnav:visited { text-decoration: none }

a.bottomnav:hover { color: #DB3E3E; text-decoration: none }

.code { color: #000; font-size: 11px; font-family: Courier, "Courier New", sans-serif; background-image: url(GT22f/images/smbk.jpg); border: solid 1px #000 }

.quote { color: #444444; font-style: normal; font-size: 11px; line-height: 125%; font-family: Verdana, Arial, Helvetica, sans-serif; background: #c0c0c0 url(GT22f/images/smbk.jpg); border: solid 1px #000 }

.copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000; letter-spacing: -1px; padding-top: 10px; }

a.copyright { color: #fff; text-decoration: none;}

a.copyright:visited { color: #fff; text-decoration: none }

a.copyright:hover { color: #DB3E3E; text-decoration: underline;}

.admin { font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #fff; letter-spacing: -1px;}

a.admin { color: #fff; text-decoration: none;}

a.admin:visited { color: #ffff; text-decoration: none }

a.admin:hover { color: #DB3E3E; text-decoration: underline;}

input,textarea, select { color: #000000; font: 11px Verdana, Arial, Helvetica, sans-serif; border: #000000 }

input.post, textarea.post, select { background: #c0c0c0 url(GT22f/images/smbk.jpg); border: solid 1px #696969 }

input { text-indent: 2px }

input.button { color: #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #dcdcdc; border: solid 1px #696969 }

input.mainoption { font-weight: bold; background-color: #a9a9a9; border: solid 1px #696969 }

input.liteoption { font-weight: normal; background-color: #a9a9a9; border: solid 1px #696969 }

.helpline { background-color: #dcdcdc; border: none }

@import url("formIE.css");


the site.jpg is how i would like the heading to align with the forum