vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Forum Block

[F] Forum Block - Posted By Vanquish (scott1707) on 24th Jan 08 at 2:09am
A forum block that consists of a background from the banner down past the boards and then a copyright image.

eg.G101

Like that.

Re: Forum Block - Posted By Marc (cr0w) on 24th Jan 08 at 3:12am
Very bottom of main header:
Code:
 
  1. <div style="width: 750px;background: url(BACKGROUND URL)">
  2. <div style="width: 100%;background: url(BANNER URL)">­</div>
 


Very top of main footer:
Code:
 
  1. <div style="width: 100%;background: url(FOOTER IMG URL)">­</div>
  2. </div>
 



Just change the "750px" in the first div to however big your banner/background block is, and then replace the porper areas with your images. {Smile}

Re: Forum Block - Posted By Vanquish (scott1707) on 24th Jan 08 at 1:02pm
Thanks Marc ...
Although it aligns the main section of the forum left {Unsure}

Re: Forum Block - Posted By Ross (admin) on 24th Jan 08 at 1:15pm
Code:
 
  1. <div style="text-align: center;">
  2. <div style="width: 750px;background: url(BACKGROUND URL); margin: auto; text-align: left;">
  3. <div style="width: 100%;background: url(BANNER URL)">­</div>
 


Code:
 
  1. <div style="width: 100%;background: url(FOOTER IMG URL)">­</div>
  2. </div>
 


You could give that a try. It should center it.

Re: Forum Block - Posted By Marc (cr0w) on 24th Jan 08 at 5:40pm
Knew I forgot something. {Tongue Out}