🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.golive.windows
2 messages
2 total messages Started by VanHoveln_Kelly Wed, 11 Feb 2009 22:39
template with php script, white space around background, locking layers
#165
Author: VanHoveln_Kelly
Date: Wed, 11 Feb 2009 22:39
10 lines
2273 bytes
two questions for 2 sites:
1.) first site <http://www.beckervanhoveln.com>
I can't get my background to line up correctly; there is a giant white border around the whole thing. With the amount of extra space around the background on all sides, I think it may be an issue with the illustrator file I am importing, but I can't see any way to fix it there, either. All the margins that I can find to change relating to that background are set to 0. Any ideas on what could be causing this? The image in Illustrator is 14" wide, so it's plenty wide enough to cover the whole page.

2.) site <http://sai.theclothesgallery.com>
I inserted php scripts into a page (in the editable paragraph region) and it is messing up the alignment of the page. Compare what you get on the home page with what you get when you click the "client login" button. Also, wondering where the extra body area came from on page <http://sai.theclothesgallery.com/protected_downloads_zdr/validuser.php>.

On both sites I am using wrapper and body tags, as directed in the tutorial by Nate (great one, thanks!). On my old site, <http://www.theclothesgallery.com>, everything works fine, but on the new ones I am just out of my mind. I've spent 10 hours over the last 2 days doing research and trying to manipulate code, to no avail. Thanks to anyone who can help.

Finally, is there a way to lock a layer inside or on top of another layer. for example, the layer the body text is in on site <http://sai.theclothesgallery.com> is on top of the layer that holds the page's images (which is an imported illustrator file with slices). Is there a way to lock that layer to the first one so it doesn't move if I make changes?
Re: template with php script, white space around background, locking layers
#169
Author: LenHewitt
Date: Thu, 12 Feb 2009 17:17
18 lines
1477 bytes
Kelly,

1. The image itself has a white border. You will need to crop that image 
in an image editor such as Photoshop.

2. Looking at the source of the page you have two <head> sections and 
two opening <body> toags but only one closing </body> tag. The PHP 
script is probably creating the additional sections, but without seeing 
the script it is impossible to say for certain.

2a. You probably have a space or blank line before the opening <?php> 
tag. This prevents PHP from sending further header information.

"Warning: Cannot modify header information - headers already sent by 
(output started at 
/home/thecvan8/public_html/sai/protected_downloads_zdr/validuser.php:15) 
in /home/thecvan8/public_html/sai/protected_downloads_zdr/validuser.php 
on line 101"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads