Announcement

Collapse
No announcement yet.

Insert image above Navbar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jake Bunce
    replied
    Originally posted by rebelsrock06
    how would i do it where it would tile the image across the whole length of that area ?
    Like this:

    Code:
    		<else />
    			<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
    		</if>
    	</td>	
    
    	<td [color=red]style="background: url(path/to/background.gif) repeat;"[/color]>
    		IMAGE CODE HERE
    	</td>
    
    	<if condition="$bbuserinfo['userid']">
    	
    		<td class="alt2" valign="top" nowrap="nowrap">
    		<div class="smallfont">
    Change path/to/background.gif to point to the image.

    Leave a comment:


  • rebelsrock06
    replied
    how would i do it where it would tile the image across the whole length of that area ?

    Leave a comment:


  • Astovidatu
    replied
    Yep, that works. Perfekt! Thanks.

    Greets, Asto.

    Leave a comment:


  • Jake Bunce
    replied
    Originally posted by Astovidatu
    Cant I declare a cellpadding="0" just for a <td>, with CSS may be?
    Try adding this code to the code I posted before:

    Code:
    		<else />
    			<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
    		</if>
    	</td>	
    
    	<td class="alt1" [color=red]style="padding: 0px 0px 0px 0px"[/color]>
    		IMAGE CODE HERE
    	</td>
    
    	<if condition="$bbuserinfo['userid']">
    	
    		<td class="alt2" valign="top" nowrap="nowrap">
    		<div class="smallfont">

    Leave a comment:


  • Astovidatu
    replied
    Thats the table:
    Code:
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    But if I now insert "0" there, the hole thing (navbar) looks a bit weird.
    Cant I declare a cellpadding="0" just for a <td>, with CSS may be?

    Leave a comment:


  • Boxy
    replied
    It would be the cellpadding of the table not a td.

    Leave a comment:


  • Astovidatu
    replied
    Doesent look like border to me and <td cellpadding="0"> doesent work either...
    Link: www.security-board.org

    Leave a comment:


  • Jake Bunce
    replied
    That might be cell padding or it might be image border. Can you post a link?

    Leave a comment:


  • Astovidatu
    replied
    Ok, that works. Only that I have about 1-2 pixels space around the Image wich shouldnt be there. How do I remove those spaces?

    Leave a comment:


  • Jake Bunce
    replied
    You want the image to be between the location bits and welcome box?

    Try this... find this code in your navbar template and add the red code:

    Code:
    		<else />
    			<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
    		</if>
    	</td>	
    
    	[color=red]<td class="alt1">
    		IMAGE CODE HERE
    	</td>[/color]
    
    	<if condition="$bbuserinfo['userid']">
    	
    		<td class="alt2" valign="top" nowrap="nowrap">
    		<div class="smallfont">

    Leave a comment:


  • Astovidatu
    started a topic Insert image above Navbar

    Insert image above Navbar

    Hi,
    I tried to Insert an image right above the navbar next to the Welcome Text. When I do so the table just gets completly messed up. I just Inserted an <img> tag but as I said the table then gets totally messed up. Thx for help.

    I attached an image so you can see what i wanna do.
    Attached Files
    Last edited by Astovidatu; Wed 19 May '04, 5:10am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X