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-29-2007, 07:04 AM
Mazoo's Avatar
Mazoo Mazoo is offline
 
Join Date: Apr 2005
Location: KSA - Riyadh
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default FireFox compatibility

Hi ,
I'm facing a weird problem in my style header , it's looks as what I design in IE6 , IE7 but it's mixed up when it's came to other browser such as : FireFox , Opera
As you can see the different in the attached picture .
I don’t know how to achieve a unified design in all browser ?
( the JS used in the header is a simple quote displayer , I try to remove it and see if it's the thing causing the problem but unfortunately , it wasn’t the problem . )
This is the header template code :

site URL :
www.cksu.com

PHP Code:
<!-- logo -->

<
head>

</
head>

<
script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</
script>
<
script type="text/javascript">
_uacct "UA-828960-1";
urchinTracker();
</
script>

<
table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" 

height="60"><tr>
<
td bgcolor="#96BC31">
<
table border="0" width="100%" height="75" id="table2" cellspacing="0" cellpadding="0" 

background="images/tile.gif" height="75"><tr>
<
td height="75">
<
a href="http://www.cksu.com/">
<
img border="0" src="images/title2.gif" width="350" height="75"></a></td>
<
td height="75">
<
p align="left">
<
a href="http://www.cksu.com/">
<
img border="0" src="images/cksu_logo2.jpg" width="200" height="75"></a></td>
</
tr>
</
table>
</
td>
</
tr>
</
table>
<
div align="left">
<
table border="0" width="100%" id="table3" cellspacing="0" cellpadding="0" 

height="100" bgcolor="#FFFFFF">
<
tr>
<
td width="200">
<
div align="center">
    <
table border="0" width="200" cellspacing="0" cellpadding="0" 

height="150">
        <
tr>
            <
td height="30">
            <
p align="center">
            <
img border="0" 

src="http://www.cksu.com/vb/images2/note/h.jpg" width="200" height="30"></td>
        </
tr>
        <
tr>
            <
td background="images2/note/b.jpg" width="200" 

height="95">
            <
div align="center">
            
            <
table border="0" width="102" cellpadding="0" 

style="border-collapse: collapse" height="90">
                <
tr>
                    <
td>
                    <
p align="center">
                    


<
font face="Tahoma" size="1" color="#999999">
<
script language="JavaScript">
// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================

var Quotation=new Array() // do not change this!

// Set up the quotations to be shown, below.
// To add more quotations, continue with the
// pattern, adding to the array.  Remember
// to increment the Quotation[x] index!


Quotation[0] = "من صام رمضان ثم أتبعه ستاً من شوال كان كصيام الدهر";
Quotation[1] = "في الجنه ثمانيةُ أبواب ، فيها باب يسمى الريان ، لا يدخلهُ إلا الصائمون";
Quotation[2] = "أفضل الصدقة صدقة في رمضان";
Quotation[3] = "رب صائم حظه من صيامه الجوع والعطش";
Quotation[4] = "للصائم فرحتان يفرحهما، إذا أفطر فرح بفطره ، وإذا لقي ربه فرح بصومه";
Quotation[5] = "صُم صوم مودِّع";
Quotation[6] = "من صام رمضان ايمانا واحتسابا غفر له ماتقدم من ذنبه";
Quotation[7] = "ثلاث دعوات لاترد دعوة الوالد لولده ودعوة الصائم ودعوة المسافر";
Quotation[8] = "الصيام مدرسة الأخلاق";
Quotation[9] = "من لم يدع قول الزور والعمل به فليس لله حاجة في أن يدع طعامه وشرابه";
Quotation[0] = "اللهم تقبل صيامنا وقيامنا, واجعلنا من عتقائك من النار";
Quotation[1] = "في الجنه ثمانيةُ أبواب ، فيها باب يسمى الريان ، لا يدخلهُ إلا الصائمون";
Quotation[2] = "احرص على أن يكون هذا الشهر المبارك نقطة محاسبة وتقوم لأعمالك ومراجعة وتصحيح لحياتك";
Quotation[3] = "اعقد العزم على الاستمرار بعد رمضان على ما اعتدت عليه فيه";
Quotation[4] = "إن هذا الشهر هو شهر عبادة وعمل وليس نوم وكسل";
Quotation[5] = "عود لسانك على دوام الذكر ولا تكن من الذين لا يذكرون الله إلا قليلا.";
Quotation[6] = "عند شعورك بالجوع تذكر أنك ضعيف ولا تستغني عن الطعام وغيره من نعم الله";
Quotation[7] = "انتهز فرصة هذا الشهر للامتناع الدائم عن تعاطي مالا ينفعك بل يضرك";
Quotation[8] = "اعلم أن العمل أمانة فحاسب نفسك هل أداءه كما ينبغي";
Quotation[9] = "سارع إلى طلب العفو ممن ظلمته قبل أن يأخذ من حسناتك";
Quotation[0] = "احرص على أن تفطر صائما فيصير لك مثل أجره";
Quotation[1] = "اعلم أن الله أكرم الأكرمين وأرحم الراحمين ويقبل التوبة من التائبين وهو سبحانه شديد العقاب يمهل ولا يهمل";
Quotation[2] = "إن الاعتياد على التبكير إلى المساجد يدل على عظيم الشوق والأنس بالعبادة ومناجاة الخالق";
Quotation[3] = "رب صائم حظه من صيامه الجوع والعطش";
Quotation[4] = "للصائم فرحتان يفرحهما، إذا أفطر فرح، وإذا لقي ربه فرح بصومه";
Quotation[5] = "اعلم أن هذا الشهر المبارك ضيف راحل فأحسن ضيافته فما أسرع ما تذكره إذا ولى.";
Quotation[6] = "احرص على قيام ليالي العشر الأواخر فهي ليالي فاضلة وفيها ليلة القدر التي هي خير من ألف شهر";
Quotation[7] = "احذر من الفطر دون عذر فإن من أفطر يوما من رمضان لم يقضه صوم الدهر كله ولو صامه";
Quotation[8] = "اجعل لنفسك نصيبا ولو يسيرا من الاعتكاف";
Quotation[9] = "من لم يدع قول الزور والعمل به فليس لله حاجة في أن يدع طعامه وشرابه";
Quotation[0] = "من صام رمضان ثم أتبعه ستاً من شوال كان كصيام الدهر";
Quotation[1] = "في الجنه ثمانيةُ أبواب ، فيها باب يسمى الريان ، لا يدخلهُ إلا الصائمون";
Quotation[2] = "أفضل الصدقة صدقة في رمضان";
Quotation[3] = "رب صائم حظه من صيامه الجوع والعطش";
Quotation[4] = "للصائم فرحتان يفرحهما، إذا أفطر فرح، وإذا لقي ربه فرح بصومه";
Quotation[5] = "الصيام مدرسة الأخلاق.";
Quotation[6] = "من صام رمضان ايمانا واحتسابا غفر له ماتقدم من ذنبه";
Quotation[7] = "ثلاث دعوات لاترد دعوة الوالد لولده ودعوة الصائم ودعوة المسافر";
Quotation[8] = "الصيام مدرسة الأخلاق";
Quotation[9] = "من لم يدع قول الزور والعمل به فليس لله حاجة في أن يدع طعامه وشرابه";


// Do not change anything below this line
// ======================================
var Quotation.length;
var 
whichQuotation=Math.round(Math.random()*(Q-1));
function 
showQuotation(){document.write(Quotation[whichQuotation]);}
showQuotation();
</
script>            </font>

                    </
td>
                </
tr>
            </
table>
            
            </
div>
            </
td>
        </
tr>
        <
tr>
            <
td height="30">
            <
p align="center">
            <
img border="0" 

src="http://www.cksu.com/vb/images2/note/f.jpg" width="200" height="30"></td>
        </
tr>
    </
table>
</
div>
</
td><td>
$GLOBALS[bannerads]
</
td>
</
tr>
</
table>
</
div>
<
table border="0" width="100%" id="table5" cellspacing="0" cellpadding="0" 

height="30">
<
tr>
<
td width="100%" background="$stylevar[imgdir_misc]/bg4.gif" height="30">&nbsp;</td>
<
td bgcolor="#2B9DCC" width="100%">
<
div align="left">
<
table border="0" id="table27" cellspacing="0" cellpadding="0" width="500" 

height="30">
<
tr>

<!-- /
links -->

<
td align="center" height="30"><p><map name="FPMap3">
<
area href="search.php?do=getnew" shape="rect" coords="465, 0, 566, 29">
<
area href="usercp.php" shape="rect" coords="376, 3, 459, 29">
<
area href="search.php" shape="rect" coords="320, 0, 364, 29">
<
area href="blog.php" shape="rect" coords="94, 0, 162, 29">
<
area href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]shape="rect" coords="0, 0, 88, 29">
<
area href="announcement.php?f=4&a=11" shape="rect" coords="259, 0, 311, 29">
<
area href="uploader.php" shape="rect" coords="172, 0, 253, 29">
</
map>
<
img border="0" src="images2/navbar-links2.gif" 

usemap="#FPMap3"></p></td>

<!-- /
links -->

</
tr>
</
table>
</
div>
</
tr>
</
table>



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


<if condition="$bbuserinfo['usergroupid'] ==3"><center><p><

href
="newthread.php?do=newthread&f=78">
<
img border="0" 

src="uploaded/9520/1180016400.gif"></a></p></center></if></if> 
Thanks ,
Attached Images
File Type: jpg ff.jpg (53.0 KB, 0 views)
File Type: jpg ie.jpg (65.8 KB, 0 views)
Reply With Quote
  #2  
Old 09-29-2007, 12:25 PM
Mazoo's Avatar
Mazoo Mazoo is offline
 
Join Date: Apr 2005
Location: KSA - Riyadh
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any one ?
Reply With Quote
  #3  
Old 09-30-2007, 05:29 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firefox/Opera is actually rendering the HTML properly, as you might think otherwise.
Reply With Quote
  #4  
Old 09-30-2007, 12:30 PM
Mazoo's Avatar
Mazoo Mazoo is offline
 
Join Date: Apr 2005
Location: KSA - Riyadh
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dismounted

so , I need to change the title to : " HTML fixing "
I think I have to review the code once again and see what's the problem ..
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 09:53 AM.


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.04193 seconds
  • Memory Usage 2,335KB
  • Queries Executed 12 (?)
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)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (2)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete