NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page Php include menu problems

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 03-24-2005, 08:36 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Mar 2005
Posts: 3
bigmac is an unknown quantity at this point
 



Php include menu problems


Hi,
I am currently in the process of putting together a new web site. This is only my second attempt and I'm playing around with php to allow for extra features. One of the things I'm trying to do is use 'include' php for a side menu on every page. I've got it working, but I have one major problem, hopefully it will be something simple.
The home page is http://www.new.peugeot406coupe.com I'm happy with the menu there, but go to http://www.new.peugeot406coupe.com/ebay and the text in the menu is dragged down to half way.
The way I've got this set up is, I have a template with two tables and also 'include' command to put the banner at the top. In the left table I simply have the 'include' command for the menu, the right table is an editable region to allow me to add text.
????: NamePros.com http://www.namepros.com/web-design-discussion/77465-php-include-menu-problems.html
How do I get the menu text to stay at the top, rather than get dragged down with the content of the right table?
bigmac is offline  
Old 03-24-2005, 11:56 AM   #2 (permalink)
NamePros Regular
Join Date: Sep 2004
Location: Earth
Posts: 439
joeorgasmic has a spectacular aura aboutjoeorgasmic has a spectacular aura about
 



go to that cell and type in valign="top".

that should fix it
__________________
For sale: G5FX.COM, ZOOBL.COM, BREWTASTIC.COM
joeorgasmic is offline  
Old 03-24-2005, 12:52 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: Mar 2005
Posts: 3
bigmac is an unknown quantity at this point
 



Thanks, sorry for being really dim, but where do I need to put that. Ive tried all different places around the code for the table but all i get is text that says <valign="top"> in highlighted yellow.
I'm using macromedia mx 2004 BTW, in case that makes any difference?
Sorry about this, but I have never done anything with code before.
bigmac is offline  
Old 03-24-2005, 01:05 PM   #4 (permalink)
NamePros Regular
Join Date: Feb 2004
Location: Student @ UConn
Posts: 411
gamex has a spectacular aura aboutgamex has a spectacular aura about
 



I havent looked at your code yet, but the valign=top would either go in the <tr> or <td> tag as follows, not as its own tag:

<tr valign="top"> or <td valign="top">

From what I can tell, I think you would want <td valign="top">

Joe
__________________
Joe
gamex is offline  
Old 03-24-2005, 11:29 PM THREAD STARTER               #5 (permalink)
New Member
Join Date: Mar 2005
Posts: 3
bigmac is an unknown quantity at this point
 



Works a treat, thankyou for your help.
bigmac is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Getting started with PHP (The Basics) deadserious Webmaster Tutorials 60 11-17-2007 11:35 AM
Googlism - What does google think of you? deadserious The Break Room 55 12-15-2005 09:09 AM
PHP Include Shop GHOwner For Sale / Advertising Board 0 10-18-2004 05:13 PM
Tutorial: Using PHP require() & include() Dave S Webmaster Tutorials 5 03-22-2004 12:40 AM

 
All times are GMT -7. The time now is 07:21 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger