PDA

View Full Version : Couple of Coding Questions - help?


ChrisBaktis
07-27-2004, 01:18 AM
I have two questions I was hoping someone can help me with.

1) I cannt get my header to cover the whole top of the page - how do I remove the margains so my header fills the whole screen like on this site (mine is at www.rustysoaptraders.com)

2) On my site I review products several times a month - currently I have .php files call up my review page. The problem I have is that I have to put all these .php files in the main forums directory. As you can imagaine by the end of the year this driectory willbe very cluttered. How do I could these files so I can put these .php is a sub directory and pull them up.

example:

To pull a file now: www.rustysoaptraders.com/forums/review.php
what I want: www.rustysoaptraders.com/forums/2004reviews/review.php

Help!?

Xenon
07-27-2004, 11:35 AM
1. add a margin: 0px; padding: 0px; into the extra field of your body by editing the main css of your style.

2. just put them into the directory, and then at the beginning of your script add a: chdir('..');

Colin F
07-27-2004, 11:58 AM
1. add a margin: 0px; padding: 0px; into the extra field of your body by editing the main css of your style.

2. just put them into the directory, and then at the beginning of your script add a: chdir('..');
I'm not sure about this, but if Stefan misunderstood you number 2 doesn't work, try chdir('2004reviews'); instead of chdir('..');

:)

ChrisBaktis
07-27-2004, 11:14 PM
ok so the change directory code that you listed above should go in the .php file that im using to call the page?

Colin F
07-28-2004, 04:42 AM
yes.