vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Mozilla problem (ugh) (https://vborg.vbsupport.ru/showthread.php?t=146673)

Guest210212002 05-07-2007 03:48 PM

Mozilla problem (ugh)
 
I hate Mozilla with the fire of a thousand suns. :mad:

If you bring up my site in IE, Maxthon or Opera, my search box formats correctly. I have no breaks between the box and the submit button:

IE:
http://www.sevenstring.org/chris/sb_IE.jpg

Opera:

http://www.sevenstring.org/chris/sb_opera.jpg

And now, FF, which is for some reason putting a break between the box and the button, even though the table cell in question is 250px wide, and the search bar is half of that.

http://www.sevenstring.org/chris/sb_mozilla.jpg

Here's the code:

Code:

<!-- Search Box -->
<td style="background: #333333 url(http://www.sevenstring.org/forum/images/misc/snav_gradient.jpg);" valign="middle" class="alt1" width="250"><form action="http://www.sevenstring.org/forum/search.php" method="post">
<input type="text" style="width:100px;" class="bginput" name="query"/>&nbsp;<input style="font: bold 10px Arial" type="submit" class="button" value="Search" /><input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
</form></td>
<!-- /Search -->

What am I missing here? :mad:

nexialys 05-07-2007 03:54 PM

you applied the style before calling the class, you have to do the opposite... also, put the hidden fields outside the table, if possible, to stop the br like event...
HTML Code:

<!-- Search Box -->
<form action="http://www.sevenstring.org/forum/search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<td style="background: #333333 url(http://www.sevenstring.org/forum/images/misc/snav_gradient.jpg);" valign="middle" class="alt1" width="250"><input type="text" style="width:100px;" class="bginput" name="query"/>&nbsp;<input style="font: bold 10px Arial" type="submit" class="button" value="Search" /><input type="hidden" name="s" value="" /></td>
</form>
<!-- /Search -->

would be more like it to be XHTML compliant.. but outside the table is better

Guest210212002 05-07-2007 04:08 PM

Thanks dude. I ended up wrapping it in a "div style="white-space:nowrap", which seemed to do the trick.

nexialys 05-07-2007 09:27 PM

yeah, sure, the nowrap is very useful between browsers incompatibilities...


All times are GMT. The time now is 05:39 AM.

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.02900 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete