Clan Adverts

DarkForge Gaming

www.clan-themes.co.uk :: View topic - Site Width

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Site Width

4 Replies / 445 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » Standard Nuke 7.6 And Above

View previous topic :: View next topic


tethlah
Reputation: 0.7
Local time: 5:20 PM


Status: Offline
0.03 posts per day
Medals: 0

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

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: 1794.6
votes: 10
Local time: 5:20 PM
Location: Jackson Mississippi
usa.gif

Status: Offline
2.77 posts per day
Medals: 1 (View more...)
Dedicated User (Amount: 1)
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 01 Dec 2008
Posts: 2074
Points: 4343 

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

Shop Purchases:
Clan Roster 2.0

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?
 

 
View user's profileSend private messageVisit poster's website Reply with quote

tethlah
Reputation: 0.7
Local time: 5:20 PM


Status: Offline
0.03 posts per day
Medals: 0

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

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: 336.9
votes: 17
Local time: 11:20 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15745 

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

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-mailVisit poster's website Reply with quote

tethlah
Reputation: 0.7
Local time: 5:20 PM


Status: Offline
0.03 posts per day
Medals: 0

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

View user's profileSend private message Reply with quote
Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » Standard Nuke 7.6 And Above


 
4 Replies / 445 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