Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.216
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Site Width
Site Width

4 Replies / 1959 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Standard PHPNuke

View previous topic :: View next topic


tethlah
Reputation: 0.7 Add RepSubtract Rep
Local time: 11:27 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Aug 02, 2008
Last Visit: 08 Aug 2008
Posts: 4
Points: 100 

Post Site Width Posted: Mon Aug 04, 2008 10:32 pm

Ok, im not that experianced with php. But ive been a web designer for years, in css i would simply put a div around my entire site and give it the properties (container would be the div)

#container {
width: 900px;
margin_left: auto;
margin_right: auto:
}

this would set my entire site to a width of 900px (regardless of what the inside tables are, ie 100%) and auto margin everything to center. anyone know how i would achieve this in php? basically i want my site to look like the site we are currently on, a fixed width and centered, rather than a 100% across the window.

thx
 

 
View user's profileSend private message Reply with quote

floppy
Reputation: 2087.2 Add RepSubtract Rep
votes: 22
Local time: 11:27 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.73 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 27 Jan 2012
Posts: 3313
Points: 132023 

Post Re: Site Width Posted: Tue Aug 05, 2008 3:19 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

It really depends on what theme your using and if it is setup to be 100% or not.

However, it should all still relative to css. themes/your_theme/style/style.css should contain the information.

To add such a div (which is a good idea) would mean to edit the theme header and footer. Could you provide a link for us to look at?
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote

tethlah
Reputation: 0.7 Add RepSubtract Rep
Local time: 11:27 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Aug 02, 2008
Last Visit: 08 Aug 2008
Posts: 4
Points: 100 

Post Site Width Posted: Tue Aug 05, 2008 8:35 am

so i know where the css docs are. and adding a div in the css would be easy enough, but where do i put the code in the documents for the div? i mean where do i put the div codes physically in the theme? looking through the index.php file is just getting me confused and i cant figure out where exactly to place it. it just doesnt look like normal html, and i dont really know php.
 

 
View user's profileSend private message Reply with quote


Ped
Reputation: 62.8 Add RepSubtract Rep
votes: 35
Local time: 5:27 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

2.33 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 09 Feb 2012
Posts: 4455
Points: 180884 

Post Re: Site Width Posted: Tue Aug 05, 2008 9:06 am

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

As floppy said it really depends on what theme you are using, every theme is different, and we cant tell you without know ing how the theme is coded... no point me telling you to look in a file that's not there...

You would need to place the open <div> in the themes header, and close it in the themes footer... that's all i can say without knowing what theme your using
 

 
View user's profileSend private messageSend e-mail Reply with quote

tethlah
Reputation: 0.7 Add RepSubtract Rep
Local time: 11:27 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Aug 02, 2008
Last Visit: 08 Aug 2008
Posts: 4
Points: 100 

Post Site Width Posted: Tue Aug 05, 2008 4:50 pm

ok, that makes sense, ill give it a shot
 

 
View user's profileSend private message Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Standard PHPNuke


 
4 Replies / 1959 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum