[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 06-25-2006, 03:09 AM   #1 (permalink)
Account Closed
 
vichousefc's Avatar
 
Join Date: Jun 2005
Location: England
Posts: 344
165.00 NP$ (Donate)

vichousefc is on a distinguished road


phpbb template mod

Hi,

I have a forum

http://www.stevengerrard.net - I have had one of the members of this site make a logo for me which is on the forum at the top.

the logo size is 979 (W) X 100 (H)

The forum currently is at 100% size of browser but I want the forum to be the same width of the logo?

What file do I need to mod? and what line?

Newbie to forums.

Thanks
vichousefc is offline  
Old 06-25-2006, 09:00 AM   #2 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
overall_header.tpl is the file you need to edit.

find the following line:-

PHP Code:
<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
and change the width value to what you want that should sort it out for you.
Peter is offline  
Old 06-25-2006, 09:25 AM   #3 (permalink)
Account Closed
 
B33R's Avatar
 
Join Date: Mar 2006
Location: UK
Posts: 1,962
0.00 NP$ (Donate)

B33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud of

Cancer
I would advise against making the width 979.

Anyone using an 800x600 screen size will not be able to see the side of your page and will have a horizontal scroll bar.
B33R is offline  
Old 06-25-2006, 10:37 AM   #4 (permalink)
NamePros Regular
 
Join Date: Aug 2003
Location: Chicago Burbs
Posts: 943
83.46 NP$ (Donate)

cyberoptik is a glorious beacon of lightcyberoptik is a glorious beacon of lightcyberoptik is a glorious beacon of lightcyberoptik is a glorious beacon of lightcyberoptik is a glorious beacon of light


The logo is already at a width of 979 so making the template the same width doesn't matter.
cyberoptik is offline  
Old 06-25-2006, 11:22 AM   #5 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
yes it does, change the size of the page and you will see that the logo gets hidden.
Peter is offline  
Old 06-25-2006, 12:07 PM   #6 (permalink)
Account Closed
 
B33R's Avatar
 
Join Date: Mar 2006
Location: UK
Posts: 1,962
0.00 NP$ (Donate)

B33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud of

Cancer
Currently the logo is resizing down to the 800 size when your screen is that size, because it's a background image and not just an image on the page.

Making the whole page 979 will leave about 200px of page hidden when viewing with an 800x600 screen size.
B33R is offline  
Old 06-25-2006, 12:24 PM   #7 (permalink)
Resistance is Futile
 
Borghunter's Avatar
 
Join Date: Apr 2006
Location: Calgary, Canada
Posts: 1,092
601.80 NP$ (Donate)

Borghunter is a name known to allBorghunter is a name known to allBorghunter is a name known to allBorghunter is a name known to allBorghunter is a name known to allBorghunter is a name known to all

Wildlife
I don;t know how your header looks, but if possible I would split the header in a place that is commun across the banner and use it as a background so that it can resize on different monitor, http://www.vsig.info, my site does that with the header, have a look at the source.
__________________
████ Watch FREE Domain Names Videos by Gurus ████
The Best Check Page Rank
Borghunter is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 05:29 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85