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 09-23-2008, 05:37 AM
serra00 serra00 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default skin gets off center

My skin gets off center in Internet explorer but in mozilla it is perfect. has adjustment this?
Reply With Quote
  #2  
Old 09-23-2008, 08:42 AM
notrious notrious is offline
 
Join Date: Mar 2007
Location: New York
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you paste your header code .....
Reply With Quote
  #3  
Old 10-03-2008, 06:24 PM
serra00 serra00 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<!--[if gte IE 5.5000]>
<script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i]
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
{
var imgID = (img.id) ? "id='" + img.id + "' " : ""
var imgClass = (img.className) ? "class='" + img.className + "' " : ""
var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
var imgStyle = "display:inline-block;" + img.style.cssText
if (img.align == "left") imgStyle = "float:left;" + imgStyle
if (img.align == "right") imgStyle = "float:right;" + imgStyle
if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
var strNewHTML = "<span " + imgID + imgClass + imgTitle
+ " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
+ "filterrogidXImageTransform.Microsoft.AlphaIma geLoader"
+ "(src=\'" + img.src + "\');\"></span>"
img.outerHTML = strNewHTML
i = i-1
}
}
}
window.attachEvent("onload", correctPNG);
</script>
<![endif]-->

<!-- logo -->
<a name="top"></a>
<div class="side_borders">
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder">
<tr>
<td align="center" valign="top">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr class="header_bg">
<td align="$stylevar[left]" valign="middle" width="576" height="92"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>


</tr>
<tr>
<td height="33" colspan="2" style="background-image:url($stylevar[imgdir_misc]/xnav.gif);">

<!-- nav buttons bar -->

<table cellpadding="0" cellspacing="0" border="0" align="left">
<tr align="center">
<if condition="$show['member']">
<td width="78" height="33" ><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xusercp.gif" width="79" height="33" border="0" alt="" /></a></td>
</if>
<if condition="$show['registerbutton']">
<td width="78" height="33" ><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/xreg.gif" width="79" height="33" border="0" alt="" /></a></td>
</if>
$template_hook[navbar_buttons_left]
<if condition="$vbulletin->products['vbprojecttools']"><td width="78" height="33" ><a href="project.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xprojects.gif" width="79" height="33" border="0" alt="" /></a></td></if>
<if condition="$vbulletin->products['vbblog']"><td width="78" height="33" ><a href="blog.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xblogs.gif" width="79" height="33" border="0" alt="" /></a></td></if>
<td width="78" height="33" ><a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/xfaq.gif" width="79" height="33" border="0" alt="" /></a></td>
<td width="78" height="33" ><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xmembers.gif" width="79" height="33" border="0" alt="" /></a></td>
<td width="78" height="33" ><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xcalendar.gif" width="79" height="33" border="0" alt="" /></a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td width="78" height="33" ><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img src="$stylevar[imgdir_misc]/xnew.gif" width="79" height="33" border="0" alt="" /></a></td>
<else />
<td width="78" height="33" ><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img src="$stylevar[imgdir_misc]/xdaily.gif" width="79" height="33" border="0" alt="" /></a></td>
</if>
<td id="navbar_search" width="78" height="33" ><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/xsearch.gif" width="79" height="33" border="0" alt="" /></a><if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" width="78" height="33" ><a href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/xlinks.gif" width="79" height="33" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>
</if>

</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td width="78" height="33" ><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_misc]/xlogout.gif" width="79" height="33" border="0" alt="" /></a></td>
</if>

</tr>
</table>

<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->

<table border="0" width="100%" cellpadding="10" cellspacing="0" style="background-color:#1E2830;">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#232D35;">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" width="12" height="8" alt="" /></td>
<td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/expand_main_table.gif" width="100%" height="8" alt="" /></td>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" width="12" height="8" alt="" /></td>
</tr>
</table>
<!-- content table -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:#232D35;">
<tr>
<td>
<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]



&nbsp
<head>

<script language="Javascript">
<!--
function abrir(){
nueva_vent=open('foro/reproductor.html','vent1','toolbar=0,status=0,loca tion=0,directories=0,menubar=0,scrollbars=0,resize =0,width=200,height=400');
}
//-->
</script>


<center><a href="javascript:abrir()"><img src="http://farm4.static.flickr.com/3271/2848230285_d79cf7d9d1_m.jpg" border="0"></a>
<a href=http://www.xx.com/foro/vbplaza.php?do=givegift&userid=1><img src="http://farm4.static.flickr.com/3180/2849062656_efab78c6b7_m.jpg" border="0" alt="Gift" /></a>
<a href="http://www.xx.com/foro/reglas-y-novedades/1121-como-descargar-de-los-foros.html"><img src="http://farm4.static.flickr.com/3043/2848230585_159686a077_m.jpg" border="0" alt="Descargas" /></a>
<a href="http://www.xx.com"><img src="http://farm4.static.flickr.com/3036/2848230429_fd43a5e00b_m.jpg" border="0" alt="F.A.Q" /></a>
<a href="http://www.xx.com"><img src="http://farm4.static.flickr.com/3248/2849062824_43663f5371_m.jpg" border="0" alt="Arcade" /></a>
<a href="http://www.xx.com?"><img src="http://farm4.static.flickr.com/3107/2849062504_9719e347be_m.jpg" border="0" alt="Tienda" /></a>
<a href="http://www.xx.com"><img src="http://farm4.static.flickr.com/3260/2849062908_c15f578655_m.jpg" border="0" alt="Perfil" /></a></center>






<if condition="$show[guest]">
<!-- Improve registration Rates -->
<style type="text/css">
#topbar{
position:absolute;
border: 0px solid black;
padding: 5px;
background-color: ;
width: 300px;
visibility: hidden;
z-index: 200;
top: 27px;
height: 134px;
left: 13px;
}
</style>
<script type="text/javascript">
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(off set, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility ="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offset Height
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.st yle.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>


<div id="topbar">
<p align="right"><a href="" onClick="closebar(); return false"><img src="WWW.xx.com" border="0" /></a>
</align>
<a href="register.php"><img src="WWW.xx.com"></a></td>
</div>
<!-- End Improve Registration -->
</if>
Reply With Quote
  #4  
Old 10-09-2008, 08:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please use the html tags when posting html. It is too hard to read the code otherwise.

I'd put it through an html validator and see what turns up - http://validator.w3.org/
Reply With Quote
  #5  
Old 10-10-2008, 05:06 AM
serra00 serra00 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so that it serves that page?
Reply With Quote
  #6  
Old 10-10-2008, 03:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, go to http://validator.w3.org/ and then point it to the page you are having problems with. It will tell you if your html is valid or not and help to narrow down the problem.

Right now, I look at your template above and see the "<!-- content table -->" and I see a table opened and never closed and that bothers me.
Reply With Quote
  #7  
Old 10-10-2008, 04:21 PM
serra00 serra00 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

288 Errors, 15 warning(s) jaja

--------------- Added [DATE]1223659298[/DATE] at [TIME]1223659298[/TIME] ---------------

that I do?
Reply With Quote
  #8  
Old 10-10-2008, 04:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, that tells you you have a lot of html errors on your page. So, you fix them one-by-one and you hope that one of them is the one that is causing your off center problem.
Reply With Quote
  #9  
Old 10-10-2008, 11:35 PM
serra00 serra00 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not understand anything, but it does not concern thanks for anything
Reply With Quote
  #10  
Old 10-17-2008, 06:21 AM
serra00 serra00 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you know how can i centre it?

What sHould i change?
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 05:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04488 seconds
  • Memory Usage 2,275KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete