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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2004, 11:16 AM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [WinXP] IE6/Avant working, FireFox 0.9 failing the 1st time but fine after a refresh

Hi folks,

A small browser issue here, seemingly with CSS. I've attached a couple of screen dumps so you can see what's happening.

The 1 showing just a white rectangle with curved corners, some text and an image is how the page should display and does in IE/Avant and in FireFox 0.9.3 after a refresh, the other is how the page displays in FireFox 0.9.3 on 1st view or after a hard refresh (ctrl+F5), it seemed to work in 0.8.

Below is the code which is involved in that part of the page.

The stylesheet (please ignore the table attribute, a lot of people refuse to believe the trick of adding font-size: 100% to it works but it really saves me adding another class for td)
HTML Code:
<style type="text/css">
<!--
body {margin: 0px; background-color: #3B3B3B; font-family: tahoma, verdana, arial, helvetica; font-size: 8pt; color: #888888;}
table {font-size: 100%;}
.main_table {width: 100%; height: 100%;}
.content_table {width: 770px; height: 100%; background-image: url(files/gfx/content_table_bg.gif); background-repeat: repeat-y;}
.header_cell {height: 115px; background-image: url(files/gfx/header_bg.gif); background-repeat: repeat-x;}
.content_cell {background-color: #C6C6C6; background-image: url(files/gfx/content_bg.gif); background-repeat: repeat-x;}
.left_menu_top_01 {width: 100%; height: 100%; background-color: #B3B3B3; background-image: url(files/gfx/left_menu_top_01.gif); background-position: 0px 0px; background-repeat: repeat-x;}
.left_menu_top_02 {width: 100%; height: 100%; background-color: #B3B3B3; background-image: url(files/gfx/left_menu_top_02.gif); background-position: 0px 0px; background-repeat: no-repeat;}
.left_menu_btm {width: 100%; height: 100%; background-image: url(files/gfx/left_menu_btm.gif); background-position: 0px 100%; background-repeat: repeat-x;}
.content_top {width: 100%; height: 100%; background-color: #FFFFFF; background-image: url(files/gfx/content_top.gif); background-position: 0px 0px; background-repeat: no-repeat;}
.content_btm {width: 100%; height: 100%; background-image: url(files/gfx/content_btm.gif); background-position: 0px 100%; background-repeat: repeat-x;}
.footer_cell {height: 100%; background-image: url(files/gfx/footer_bg.gif); background-repeat: repeat-x; text-align: center;}
.footer_navigation {margin-top: 10px; font-size: 10px; color: #EF5EB5;}
a.footer_navigation_link:link, a.footer_navigation_link:visited {color: #CCCCCC; text-decoration: none;}
a.footer_navigation_link:hover, a.footer_navigation_link:active {color: #000000; text-decoration: none;}
.footer_copyright {margin-top: 4px; font-size: 10px; color: #919191;}
a.footer_copyright_link:link, a.footer_copyright_link:visited {color: #919191; text-decoration: none;}
a.footer_copyright_link:hover, a.footer_copyright_link:active {color: #333333; text-decoration: none;}
.image_right_top {margin-bottom: 12px; margin-left: 12px; margin-right: -2px; float: right;}
// -->
</style>
The HTML segment
HTML Code:
	<tr>
	 <td>
	 <div class="content_top"><div class="content_btm">
	 <table width="501" cellpadding="13" cellspacing="0" border="0">
	 <tr>
	 <td><img class="image_right_top" src="files/gfx/content/company/logo_button.jpg" border="0" />Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old<br /><br />
	 Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old Blah blah yeah yeah yeah same old same old </td>
	 </tr>
	 </table></div></div></td>
	</tr>
If anybody can help with this issue it would be greatly appreciated


Cheers,
Robert
Attached Images
File Type: gif right.gif (16.6 KB, 0 views)
File Type: gif wrong.gif (17.4 KB, 0 views)
Reply With Quote
  #2  
Old 09-12-2004, 02:01 PM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't worry about it, fixed it myself.

*waits for the first person to say "why don't you post how you fixed it?"*

Cheers,
Robert
Reply With Quote
  #3  
Old 09-12-2004, 04:36 PM
Tekton Tekton is offline
 
Join Date: Jun 2004
Location: Wisconsin
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why don't you post how you fixed it?

Reply With Quote
  #4  
Old 09-14-2004, 11:52 AM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tekton
why don't you post how you fixed it?

Seemingly it's a bug in FF 0.9.3, I needed to add thewidth and height attributes to the image.


Cheers,
Robert
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:09 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.12541 seconds
  • Memory Usage 2,221KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_html
  • (1)bbcode_quote
  • (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_postinfo_query
  • fetch_postinfo
  • 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