homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

basic PHP help needed
we need to somehow define page width...

 4:33 pm on Aug 23, 2001 (gmt 0)

we are trying to use PHP classifieds [deltascripts.com...]

we hope to have all content on rendered pages fit a 90% of page width -

i see much of the main content is not displayed in a table -

how can i add one table or set page margins on sides to 90% by default - is this possible to do with css - ???

also if anybody has had great success with a classified ad script i would like to hear aboput it!!!

many thanks

here is the index page:



if (!$special_mode)
require ("link_title.php");

if (!$kid AND !$special_mode)
print("<font size='4'><p>$welcome_message</p></font>");



if (!$kid AND $latest)
require ("latest.php");





 4:52 pm on Aug 23, 2001 (gmt 0)

Assuming that config/header.inc.php contains the top portion of the page, and that config/footer.inc.php holds the bottom portion of the page, you should be able to add:

<table width="90%"><tr><td> in config/header.inc.php and add
</td></tr></table> in config/footer.inc.php and that should do it.


 5:28 pm on Aug 23, 2001 (gmt 0)

thanks for the note---

that will not help the various "content" in the miggle of the page...

how about defining 'margin" on a style sheet - how would i do this???

many thanlks


 5:39 pm on Aug 23, 2001 (gmt 0)

Check out [url="http://www.webmasterworld.com/forum21/959.htm"]this[/url] thread for setting the width and centering with CSS, again it would likely go in the header file.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved