vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Align Logo with Header Advert 2 (No Drop) (https://vborg.vbsupport.ru/showthread.php?t=232325)

syrus.xl 02-14-2010 11:03 AM

Try adding a bottom margin. and adjusting it to suit:
PHP Code:

     margin-right:150px;
     
margin-top:50px

PHP Code:

margin-bottom10px

Or to cut down on the CSS delete all margin settings in the #banner_ad_top and enter the following:
PHP Code:

margin50px 150px 10px auto

It does the same, and the values are in order of top, right, bottom and left, in a single line.

Since 4.0.2 has been delayed further, I will setup a new test board and apply an IE fix. Personally, I hate IE - but we still have to cater for it's users.

I do not have a test board setup to try this on, but IE uses non-compliant CSS therefore it is easy to break. Perhaps, when they start losing more users of their browser they will change their ways. ...well, we can dream!!

ndut 02-14-2010 12:50 PM

tag for this :)

RedTrinity 02-15-2010 01:58 AM

Quote:

Originally Posted by syrus.xl (Post 1982024)
Or to cut down on the CSS delete all margin settings in the #banner_ad_top and enter the following:
PHP Code:

margin50px 150px 10px auto

It does the same, and the values are in order of top, right, bottom and left, in a single line.

Ok, after about half an hour of trial and error, I managed to get this result which is balanced between both FF and IE:

http://www.theparentingsanctuary.com.au/newforum

Thats the best I can get it though... if I move the banner in any further by adjusting/increasing the right margin, it does that moving down thing in IE again (as per my 2nd screenshot in the last post).

Thanks for the help regardless syrus, at least its good enough to leave up now :D Hopefully it looks ok for other screen resolutions too (I'm using 1024x768 atm).

Will be keeping a lookout for future versions though, in hope I can get that banner in a little further without causing chaos in IE lol.

Quote:

Originally Posted by syrus.xl (Post 1982024)
Personally, I hate IE - but we still have to cater for it's users.

Perhaps, when they start losing more users of their browser they will change their ways. ...well, we can dream!!

Tell me about it :rolleyes: I can't stand IE personally, its such a pain to work with. The only use I have for it is for testing purposes for those who do.

Milad_ran 02-17-2010 09:56 AM

how to use it in VB 3.8.4???

syrus.xl 02-17-2010 10:46 AM

Quote:

Originally Posted by Milad_ran (Post 1984446)
how to use it in VB 3.8.4???

This modification is designed for vBulletin 4.0 as a workaround for an issue with the default header coding, it is not coded for vBulletin versions below this, due to major changes between the two versions.

syrus.xl 02-17-2010 10:52 AM

Quote:

Originally Posted by RedTrinity (Post 1982613)
Ok, after about half an hour of trial and error, I managed to get this result which is balanced between both FF and IE:

http://www.theparentingsanctuary.com.au/newforum

Thats the best I can get it though... if I move the banner in any further by adjusting/increasing the right margin, it does that moving down thing in IE again (as per my 2nd screenshot in the last post).

Thanks for the help regardless syrus, at least its good enough to leave up now :D Hopefully it looks ok for other screen resolutions too (I'm using 1024x768 atm).

Will be keeping a lookout for future versions though, in hope I can get that banner in a little further without causing chaos in IE lol.



Tell me about it :rolleyes: I can't stand IE personally, its such a pain to work with. The only use I have for it is for testing purposes for those who do.

;) I have something in the 'pipeline' that will fix all these issues in one go. I just need to run some tests under 4.0.2 to make sure no major changes have been made. But the method I have used, will not break on any browser or even use additional CSS for positioning, that is all taken care of once and for all.

enoobz 02-17-2010 02:18 PM

Does this Mod working for vB 4.0.2? I just upgrade and cannot use it anymore.

HRCHOSTING 02-25-2010 02:42 AM

Does it also work with the Banner Rotate mod? I had been using it but after installing the rotate mod it failed. (before that it worked perfect, thanks for helping)

RedTrinity 02-25-2010 05:12 AM

Quote:

Originally Posted by syrus.xl (Post 1984480)
;) I have something in the 'pipeline' that will fix all these issues in one go. I just need to run some tests under 4.0.2 to make sure no major changes have been made. But the method I have used, will not break on any browser or even use additional CSS for positioning, that is all taken care of once and for all.

Sounds great, look forward to it :)

RedTrinity 03-02-2010 07:14 AM

Any updates, Syrus?


All times are GMT. The time now is 11:05 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.01121 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete