Page 1 of 1

Backgroung static with boxes moving

PostPosted: Thu Apr 03, 2008 10:42 pm
Author: Watcher
Your phpBB Version: 2.0.23
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://www.worldofarkania.net/ReakNCrew/portal.php

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

was'nt sure if i should ask here or not, but what i wont to do is add a static back ground picture to EQ2 style, that when i scroll up and down the picture stays but the boxes move also, is there a way to make the center blocks about a 1/3 smalled left to right, with out causing problems with something else?

Re: Backgroung static with boxes moving

PostPosted: Fri Apr 04, 2008 12:06 am
Author: found it
Hi

In your template/CSS file find something like this

Code: Select all
 /* General page style. The scroll bar colours only visible in IE5.5+ */body {


use this code to get the image to stay fixed place it after the bracket

[code]     background-image ]


let me know

:mrgreen:

Re: Backgroung static with boxes moving

PostPosted: Fri Apr 04, 2008 12:08 am
Author: Helter
open your EQ2.css and replace your body tag with this

[code]  body {     font-family]

Re: Backgroung static with boxes moving

PostPosted: Fri Apr 04, 2008 10:32 pm
Author: Watcher
Thank you Helter that did the job, now i have another question , (by the way thank you to, foundit but i used helters it worked great) as for my other question look at my site an tell me how can i get my portal blocks to center on the page?

http://www.worldofarkania.net/ReakNCrew/portal.php

I set the size of the center blocks to 75% instead of 100% in the portal_body_tpl to make it skinnyer but everything is hugging the left side of the page? can you help me on this, to center the blocks in the page. thank you

Re: Backgroung static with boxes moving

PostPosted: Sat Apr 05, 2008 12:21 am
Author: Helter
lol... I just noticed Foundit beat me by 2 minutes. I did realize it took me that long to finish my post.

as for resizing your blocks one by one, your creating a tremendous amount of work when you can just make the entire page a fixed width. If you fust want more space between the block rows, look for the 10px spacers at the end of overall_header and beginning of overall_footer and increase their size

Re: Backgroung static with boxes moving

PostPosted: Sat Apr 05, 2008 12:34 am
Author: found it
"HelterSkelter";p="32561" wrote:lol... I just noticed Foundit beat me by 2 minutes. I did realize it took me that long to finish my post.



:mrgreen:

Re: Backgroung static with boxes moving

PostPosted: Sat Apr 05, 2008 4:20 am
Author: Watcher
Helter you said
as for resizing your blocks one by one, your creating a tremendous amount of work when you can just make the entire page a fixed width. If you fust want more space between the block rows, look for the 10px spacers at the end of overall_header and beginning of overall_footer and increase their size


after playing with the space on the blocks i figured out how to move them over as you can see
http://www.worldofarkania.net/ReakNCrew/portal.php

I got the idea from
http://www.phpbbireland.com/portal/portal.php there is a style called C1 i think , Michaelo had it up on this demo site for a bit but its not there now


also EQ 2 wont let you take the background off some of the blocks in the acp/im portal/block managment/ when you turn the, show border off, and turn off show background, they don't disaper to leave just the top bar on the block, i love the style of the EQ2, but its not letting me do what i would like to do, with the knolage i have to do it heheh i think i have to go through every block and figure out how to remove the, ...like metal beam's around the block's and the black backgroung

any way just wonted to say thanks and ill see if i can play with stuff and figure out what i wont to do next.....never ending work.................

Re: Backgroung static with boxes moving

PostPosted: Sat Apr 05, 2008 11:55 pm
Author: Helter
here is a working portal_page_header.tpl
you can use this code to update portal_page_tail and the rest of the layouts

Code: Select all
 <td><img></td><td>      <BEGIN><BEGIN><table>   <tr>     <td><img></td>     <td></td>     <td><img></td>   </tr>   <tr>     <td></td>     <td><table><END>  <table>     <BEGIN>     <tr>         <th>{header_blocks_row.title.TITLE}</th>     </tr>     <END>     <tr>         <td         <BEGIN>         class="row1"         <END>         >{header_blocks_row.OUTPUT}</td>     </tr></table>  <BEGIN>     <td></td>     </tr>   <tr>     <td><img></td>     <td></td>     <td><img></td>   </tr></table><END><br><END>  </td>    

Re: Backgroung static with boxes moving

PostPosted: Sun Apr 06, 2008 5:07 am
Author: Watcher
that worked for the left colom but the center and the right colom cant figure out what template to repair, when i tryed to change a couple of them it caused the right colom to move to the left hehe, ?

Re: Backgroung static with boxes moving

PostPosted: Sun Apr 06, 2008 9:47 am
Author: Helter
here is layout/portal_body.tpl

Code: Select all
 <table>   <tr>     <td><BEGIN><BEGIN><table>   <tr>      <td><img></td>    <td></td>    <td><img></td>   </tr>   <tr>    <td></td>    <td><table><END><table>    <BEGIN>    <tr>       <th>{center_blocks_row.title.TITLE}</th>    </tr>    <END>    <tr>       <td       <BEGIN>       class="row1"       <END>       >{center_blocks_row.OUTPUT}</td>    </tr></table><BEGIN>    <td></td>    </tr>   <tr>     <td><img></td>     <td></td>     <td><img></td>   </tr></table><END><br><END>     </td>     <td><img></td>     <td><BEGIN><BEGIN><table>   <tr>      <td><img></td>    <td></td>    <td><img></td>   </tr>   <tr>    <td></td>    <td><table><END><table>    <BEGIN>    <tr>       <th>{right_blocks_row.title.TITLE}</th>    </tr>    <END>    <tr>       <td       <BEGIN>       class="row1"       <END>       >{right_blocks_row.OUTPUT}</td>    </tr></table><BEGIN>    <td></td>    </tr>   <tr>     <td><img></td>     <td></td>     <td><img></td>   </tr></table><END><br><END>     </td>   </tr></table>  

Re: Backgroung static with boxes moving

PostPosted: Sun Apr 06, 2008 12:13 pm
Author: Watcher
Thank you that worked great. now ill see what the members think of the new setup hehe

Thanks again! [flash=,:33dfdo9v]http://worldofarkania.net/Downloads/smiles_icons/genie.gif[/flash:33dfdo9v]

Re: Backgroung static with boxes moving

PostPosted: Mon Apr 07, 2008 7:12 pm
Author: Watcher
After getting site to look good and i thank you for the help, i find out that if someone is useing a 24 inch monitor the site looks like this

[url=http]Click here to see[/url]

any idea on how to correct the strech on it? it looks like everything streched but the static picture i have in the back ground? and thats why it looks bad.

it looks fine on other monitors that arn't big[flash=,:kv4yo1l6]http://smilies.sofrayt.com/fsc/sobbing.gif[/flash:kv4yo1l6]

Re: Backgroung static with boxes moving

PostPosted: Mon Apr 07, 2008 8:29 pm
Author: Helter
this is for integra2, but it will also work for eq2
for the header and footer, the div tag is what you want. The rest is just there to show you where to put it

"HelterSkelter";p="32511" wrote:try this

overall_header.tpl

<div>
{QBARS}
<a></a>
<table>
<tr>
<td>


overall_footer.tpl


<div>
]</div>[/color]



integra2.css
[code]  .fixed {     width]

Re: Backgroung static with boxes moving

PostPosted: Tue Apr 08, 2008 7:51 am
Author: Watcher
ok that seems to have worked to stop the streching i had to make the back ground color to black instead of transparent so the page was not white where the page did not strech, one thing i have noticed is i cant get the center block to reduce like before, when i brought the left colom in and the right colom in, it would shrink the middle box but now it wont reduce in size? trying to get the left and the right block outer edge to be even with or in a litte to the header bar at top, probly the strech fix done it?