Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2007, 03:21 AM
FreshPrince FreshPrince is offline
 
Join Date: Oct 2006
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default My banner is aligned to the left under Internet Explorer but not Firefox, how to fix?

http://www.politicsforumpoliticalworld.com/

Firefox:



Internet Explorer:




Also, the titles on the forums appear centered.


Here is the code in my header. Any idea what I'm doing wrong? Thanks


-FP


Quote:
<script type="text/javascript">

/************************************************** **
* DOM Image rollover:
* by Chris Poole
* http://chrispoole.com
* Script featured on http://www.dynamicdrive.com
* Keep this notice intact to use it :-)
************************************************** **/

function init() {
if (!document.getElementById) return
var imgOriginSrc;
var imgTemp = new Array();
var imgarr = document.getElementsByTagName('img');
for (var i = 0; i < imgarr.length; i++) {
if (imgarr[i].getAttribute('hsrc')) {
imgTemp[i] = new Image();
imgTemp[i].src = imgarr[i].getAttribute('hsrc');
imgarr[i].onmouseover = function() {
imgOriginSrc = this.getAttribute('src');
this.setAttribute('src',this.getAttribute('hsrc'))
}
imgarr[i].onmouseout = function() {
this.setAttribute('src',imgOriginSrc)
}
}
}
}
onload=init;

</script>




<script language="javascript">
<!--
}
}
}
// -->
</script>



<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td>


<td width="0" valign="top" style="background: url('$stylevar[imgdir_misc]/border_left_bg.gif') repeat-y top right; text-align: center;"><img src="$stylevar[imgdir_misc]/border_left.gif" alt="border" /></td>
<td>



<style type="text/css">
<!--
.style1 {
font-family: Tahoma;
font-size: 10px;
color: #3c3c3c;
}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

<!----------deleted header logo left--------->

<!----------deleted header logo right-------->

<!----------Front Page----------->
<td width="151"><div align="center"><a href="index.php"><img src="http://www.politicsforumpoliticalworld.com/grunged/misc/header_right.jpg" width="700" height="135" border="0"></a></div></td>
<!----------Front Page----------->

</tr>
</table>


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25"><img src="$stylevar[imgdir_misc]/links_above_left.gif" width="25" height="12"></td>
<!----------Deletion----------->
<!----------Deletion----------->
<td background="$stylevar[imgdir_misc]/links_above_bg.gif"><img src="$stylevar[imgdir_misc]/links_above_bg.gif" width="1" height="12"></td>



<td width="25"><img src="$stylevar[imgdir_misc]/links_above_right.gif" width="25" height="12"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>


<!------deleted links underneath the banner here------>

<td background="$stylevar[imgdir_misc]/links_bg.gif">&nbsp;</td>
<td width="135" background="$stylevar[imgdir_misc]/links_bg.gif"><img src="$stylevar[imgdir_misc]/links_right.gif" width="135" height="32"></td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="$stylevar[imgdir_misc]/links_undershadow.gif" bgcolor="#FFFFFF"><img src="$stylevar[imgdir_misc]/links_undershadow.gif" width="6" height="48"></td>
</tr>
</table>

<!-- content table -->
$spacer_open
$_phpinclude_output
Reply With Quote
  #2  
Old 01-27-2007, 03:47 AM
HPIA HPIA is offline
 
Join Date: Jul 2006
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After someone helps him, can someone please tell me how to add that border that he has? The silver/white gradient thing.
Thanks!
Reply With Quote
  #3  
Old 01-28-2007, 12:17 AM
FreshPrince FreshPrince is offline
 
Join Date: Oct 2006
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump.
Reply With Quote
  #4  
Old 01-29-2007, 01:14 AM
HPIA HPIA is offline
 
Join Date: Jul 2006
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump :lol:
Reply With Quote
  #5  
Old 01-30-2007, 10:00 AM
EyeCrave EyeCrave is offline
 
Join Date: Sep 2002
Location: Layer 2 of the DVD
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try

changing this:
Code:
<!----------Front Page----------->
<td width="151"><div align="center"><a href="index.php"><img src="http://www.politicsforumpoliticalworld.com/grunged/misc/header_right.jpg" width="700" height="135" border="0"></a></div></td>
to this

Code:
<!----------Front Page----------->
<td width="151"><div style="text-align: center;"><a href="index.php"><img src="http://www.politicsforumpoliticalworld.com/grunged/misc/header_right.jpg" width="700" height="135" border="0"></a></div></td>
or

Code:
<!----------Front Page----------->
<td width="151" align="center"><a href="index.php"><img src="http://www.politicsforumpoliticalworld.com/grunged/misc/header_right.jpg" width="700" height="135" border="0"></a></td>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03964 seconds
  • Memory Usage 2,205KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete