vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help with code... (https://vborg.vbsupport.ru/showthread.php?t=199964)

MarkFoster 12-28-2008 07:34 AM

Help with code...
 
I have been trying to put a code together for a long time now, I just sat three hours messing with the code but all I got was a headache.
I'm not a coder but I'm good at messing with codes.

If you go to the footer of http://banjo-kazooie.com/ then you can see 4 images floating on top of another image, the images are: Rare logo, xbox 360 logo, microsoft gaming studios logo, esrb logo.

I'm trying to get the 4 images to float on the image but I can't.

Could somebody just do it quickly for me?

I want these 4 images:
http://banjo-kazooie.com/images/rarelogo.gif
http://banjo-kazooie.com/images/xboxlogo.gif
http://banjo-kazooie.com/images/msgameslogo.gif
http://banjo-kazooie.com/App_Themes/...srb_10plus.gif

To float in the center of this image: http://rarewarecentral.com/forums/im.../footer_bg.jpg

Could anybody please help me?

Opserty 12-28-2008 08:30 AM

You can't 'float' an item in the centre. However if you could create a <div> in which to contain all the images, set its width to be the sum of the width of your images. Then use margin:0 auto; on it to centre it inside the footer.

Although having just looked at it in firefox it seems fine in there...

MarkFoster 12-28-2008 08:57 AM

Quote:

Originally Posted by Opserty (Post 1695390)
You can't 'float' an item in the centre. However if you could create a <div> in which to contain all the images, set its width to be the sum of the width of your images. Then use margin:0 auto; on it to centre it inside the footer.

Although having just looked at it in firefox it seems fine in there...

I tried with div but it's not really working... It would work if I could add a link in the a "<div class="footer_main">" however that's a command with certain sizes.

When Trying to copy the code from the site it wont work since it's a style sheet with info then there's the image sheet with other info.


All times are GMT. The time now is 10:57 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.00957 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (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