The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Right now my header image is a sinlge image and doesnt fit the page exactly. So I split my single image into my logo image and my pattern image. What I want to do is have the pattern image stretch to the size of the forums. What code would I use for this?
thanks for any help and sorry if this is in the wrong section ![]() |
#2
|
||||
|
||||
![]()
I don't see a way unless you change your image to have horizontal lines.
You could use a 3 column table with your image in the middle and continue with the background in the outside columns using the background tag. But they would need to be horizontal lines that meet up with the center image. Edit: Oh wait. Do you want to use the image on your website now? You could create a table and use the td background tag of just the background. Or better yet, separate the background image and use that as a background tag. Set the table to 100%. |
#3
|
|||
|
|||
![]()
<div class="title">
<img src="first header image.jpg" border="0" /> </div> title { background-image: url(http://www.image.com); background-repeat: repeat-x; background-position: center top; } |
#4
|
||||
|
||||
![]()
But the image is going to have to be broken into two pieces. The logo and the background.
The background needs to be a linear pattern. |
#5
|
|||
|
|||
![]()
oops, thought he already had it into peices.
|
#6
|
||||
|
||||
![]() Quote:
Is there an advantage using CSS and a div tag over a table tag? |
#7
|
|||
|
|||
![]()
no not really.
Some people are CSS nut cases, i have no preference myself. Generally i use the table myself, i have no clue why i posted CSS ![]() |
#8
|
|||
|
|||
![]() Quote:
|
#9
|
||||
|
||||
![]() Quote:
I think if you use your slanted lines background, make it wide enough to fit any screen and use it as a background in in a table cell it would work. That way when the screen width is changed, so will the background. Post the background and top image and I'll show you what I mean. I'm sure there are other ways to do it. This is the only way I know how. |
#10
|
|||
|
|||
![]()
The slanted lines will work, you need to create something like a 2px x 2px version of it, and use that as the background :lol: Its a pain.
Like 1996 said, Post your two images, and the header code you currently have and i'm sure we'll be able to help you |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|