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)
-   -   Add image to description of forum (https://vborg.vbsupport.ru/showthread.php?t=222273)

Brother Malachi 09-02-2009 10:23 PM

Why not simply use <img src="blah" style="float:right;" width="" height="" boder="0" /> ?
With the <div> tag you must specify a width before using float, otherwise its width defaults to all of the available space and it doesn't fit in with the text ;)

MuSuL 09-03-2009 09:10 AM

Still outputs one line down. To the right works well but can't get it on the same level as the forum name text.

Lynne 09-03-2009 03:05 PM

Please post the exact code you have in your template if you want help. Simply saying it doesn't work doesn't tell us a thing. We will need the entire code for that column in order to see what is going on.

MuSuL 09-03-2009 10:21 PM

Latest code is as Brother Malachi posted.

Just to make sure we are not misunderstanding, I am NOT touching any templates. I am doing this in the admin cp under the forum description. Where you enter title of forum, discription, parent forum..etc. I'm placing the code in the description part as that's where I figured this stuff should be done.

Lynne 09-04-2009 01:09 AM

I don't know that you can do it that way since you need to float the description left also. Maybe put a <div> around the description also and float it left? I don't know if that will work though. (Don't forget you need to put the object you are floating right, before the object you float left.)

MuSuL 09-04-2009 06:43 AM

It worked!!! I didn't think of that. I did as you said, I added a div tag around the name of the forum in the admin cp and floated it left and used the img tag, gave it a style=float:right and tada, it works fine.

Thanks Lynne :)


All times are GMT. The time now is 07:53 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.00993 seconds
  • Memory Usage 1,713KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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