View Full Version : Pls Help Me Style Problem
twista46
12-17-2009, 10:07 AM
I have i Littly Problem with Announcements in my Style
Its spring the Style
How can i fix it? :confused:
http://www.imgload.eu/images/problem.png
Lynne
12-17-2009, 03:28 PM
I don't know what I'm supposed to see that is wrong in that image.
twista46
12-17-2009, 04:26 PM
<a href="http://imgload.eu/images/problemaga.png" target="_blank">http://imgload.eu/images/problemaga.png</a>
The announcements will appear as much wider than the style of all.
Lynne
12-17-2009, 06:10 PM
You'd have to look at the source code to see why that is. I can't tell just from an image.
twista46
12-17-2009, 07:20 PM
What code need them?
ThyElite
12-18-2009, 02:05 AM
dude u just have to reduce the footer PX
twista46
12-18-2009, 05:34 AM
The Footer PX is correct. The style shifts only when the announcements everything else is ok.
twista46
12-21-2009, 02:55 PM
*push* pls help me :(
Lynne
12-21-2009, 04:02 PM
It's very hard to tell what is wrong just from an image. Here's a suggestion on how you can figure it out.
View your site in that style. Grab the page source for the page and paste it into a text editor. Now change to a totally default vbulletin style and grab the page source for th page and paste it into a text editor. Now compare the two.
Hell Bomb
12-21-2009, 04:10 PM
Hmmm from the image it looks to me like you need to edit the announcement width in the navbar template. Perhaps you do not have the $spacer_open in the right spot. If you send me link to your website i can take a look for you.
twista46
12-21-2009, 05:29 PM
This is my announcements Template. The Forum Style is 900px
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[announcements_in_forum] : $foruminfo[title_clean]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="900" align="center" style="border-bottom-width: 0px">
<tr>
<td class="tcat">
<if condition="$show['viewall']">
<span class="smallfont" style="float:$stylevar[right]">
<a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[view_all_announcements]</a> ($anncount[total])
</span>
</if>
<if condition="$show['global']">
$vbphrase[global_announcement]
<else />
$vbphrase[announcements_in_forum]<span class="normal"> : <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
</if>
</td>
</tr>
</table>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<div id="posts">$announcebits</div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<br />
<table cellpadding="0" cellspacing="0" border="0" width="900">
<tr>
<td width="900"> </td>
<td>$forumjump</td>
</tr>
</table>
$footer
</body>
</html>
Hell Bomb
12-21-2009, 11:06 PM
You to put px at the end of 900 but instead try and use the code i posted below. It will auro adjust every time you change your forum width.
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[announcements_in_forum] : $foruminfo[title_clean]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center" style="border-bottom-width: 0px">
<tr>
<td class="tcat">
<if condition="$show['viewall']">
<span class="smallfont" style="float:$stylevar[right]">
<a href="announcement.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[view_all_announcements]</a> ($anncount[total])
</span>
</if>
<if condition="$show['global']">
$vbphrase[global_announcement]
<else />
$vbphrase[announcements_in_forum]<span class="normal"> : <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
</if>
</td>
</tr>
</table>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<div id="posts">$announcebits</div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<br />
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%"> </td>
<td>$forumjump</td>
</tr>
</table>
$footer
</body>
</html>
twista46
12-22-2009, 07:55 AM
If, unfortunately, still do not. The announcement is still Wider than the actual width forums
http://www.imgload.eu/?v=desk4.png
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.