vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Header change! Help! (https://vborg.vbsupport.ru/showthread.php?t=210877)

MarkFoster 04-11-2009 01:20 PM

Quote:

Originally Posted by tipoboy (Post 1788909)
i think i know what your trying to achieve, you want the navbar links part to have the image before and after, is this the same image that your navbar uses as its background?

No, I believe my background is a color.

tipoboy 04-11-2009 01:34 PM

Quote:

Originally Posted by MarkFoster (Post 1788920)
No, I believe my background is a color.

i think you would have to create a new navbar table to allow the new pics to be added in there seeing as i'm going offline for a while i cant do it the now, but if you want feel free to pm me and i'll have a look

MarkFoster 04-11-2009 02:21 PM

Quote:

Originally Posted by tipoboy (Post 1788935)
i think you would have to create a new navbar table to allow the new pics to be added in there seeing as i'm going offline for a while i cant do it the now, but if you want feel free to pm me and i'll have a look

Yeah that might be it.

Otherwise I have another idea.
how about you make this the background for the navbar place? http://www.rarewarecentral.com/forums/images/linebg.png
I wont be able to do that so if anybody who can add it where it should be in the code is appreciated.

tipoboy 04-11-2009 02:46 PM

Quote:

Originally Posted by MarkFoster (Post 1788974)
Yeah that might be it.

Otherwise I have another idea.
how about you make this the background for the navbar place? http://www.rarewarecentral.com/forums/images/linebg.png
I wont be able to do that so if anybody who can add it where it should be in the code is appreciated.

to do that you'd have to to modify your css too

MarkFoster 04-11-2009 03:00 PM

Quote:

Originally Posted by tipoboy (Post 1788995)
to do that you'd have to to modify your css too

Yeah. If you'd give me a code and tell me where to add it I could do that.

TigerC10 04-11-2009 03:17 PM

Quote:

Originally Posted by MarkFoster (Post 1788748)
I've tried several times now. Trying to do things around, apparently it didn't work out.

Would you be able to place the image in the code where I need it instead?

The image is a waste, you should just resize what you already have in place.

Mr-Moo 04-11-2009 03:23 PM

Your issue is in no relation to an image. What you need to do is modify your <TD> settings in your CSS.

If you locate:
Code:

    <td height="15" bgcolor="#0d150f">
<!-- nav buttons bar -->
<div class="tborder" style="padding:1px; border-top-width:0px">

The above code is the source of your issues (in red). I would recommend adding a new class in your CSS, possibly called .td1 or something on those lines and put in padding. However you will continue to run into a conflict with the original TD.

So in an essence you need to find a happy-medium between the TD and the table-data posted above. What is happening is the CSS table-data is superseding anything you place manually into the code.

Please let me know if I was able to be of any assistance!

MarkFoster 04-11-2009 03:58 PM

Quote:

Originally Posted by Mr-Moo (Post 1789025)
Your issue is in no relation to an image. What you need to do is modify your <TD> settings in your CSS.

If you locate:
Code:

    <td height="15" bgcolor="#0d150f">
<!-- nav buttons bar -->
<div class="tborder" style="padding:1px; border-top-width:0px">

The above code is the source of your issues (in red). I would recommend adding a new class in your CSS, possibly called .td1 or something on those lines and put in padding. However you will continue to run into a conflict with the original TD.

So in an essence you need to find a happy-medium between the TD and the table-data posted above. What is happening is the CSS table-data is superseding anything you place manually into the code.

Please let me know if I was able to be of any assistance!

But I want the image there.
I really don't understand why there should be so many complications.

TigerC10 04-11-2009 04:25 PM

Quote:

Originally Posted by MarkFoster (Post 1789054)
But I want the image there.
I really don't understand why there should be so many complications.

Because the image is a much larger waste of bandwith and doesn't make the code any less complicated. In fact, putting the image there makes it less likely to be understood properly by all browsers.

Mr-Moo 04-11-2009 04:29 PM

TigerC10 is correct,

There is no reason to place an image there the same color of the background. You make it harder for spiders to run through, harder on the end-user PCs to render the page, wasting bandwidth, messy code, and a whole slew of other things (to my knowledge).

The best way is to size the table properly and have your coding validated by the CSS standards.

If you are truly bent on putting images there, place another table to create a separate CSS class with those variables there. But I can tell you right now, after reviewing your code, it is extremely messy and needs a lot of cleaning up.

However it looks very sharp :)


All times are GMT. The time now is 02:01 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.02074 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (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
  • (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