vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Width/Ad issue (https://vborg.vbsupport.ru/showthread.php?t=267267)

the1rabbits 07-23-2011 08:51 AM

Width/Ad issue
 
Hi Guys I am going to try and explain this in as much detail as I can so hopefully someone can help me out and let me know if it is even possible.

I am having an issue with users resolutions that around the 1000 or less px width mark. (Anything bigger is all good)

What I am doing/wanting to do is to place an advertisement in the Header 2 position that is 720px wide.
Now, my forum logo is 400px wide, which therein equals a total width of 1120px which is too wide for the specified resolutions.

In this instance, the browser accounts for this my putting the logo and the ad on two separate lines.

What I would like it to do instead is for the advertisement to overlap my logo, so that instead of displaying over two separate lines... it displays on one line with the sacrifice of my logo not entirely showing.

Is this even possible? I have seen it done on another site however i think vb (older version of vb) is nested below the header and advertisement on that particular site.

the1rabbits 07-29-2011 07:53 AM

bump

kh99 07-29-2011 10:43 AM

I'm not sure how it's "usually" done, but I could imagine making it work by setting the z-index of the ad to something more than 1, and setting the positioning to "absolute". Here's a page that shows how to use z-index: http://www.w3schools.com/cssref/pr_pos_z-index.asp


All times are GMT. The time now is 11:37 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.01149 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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