PHP moving side menu

This is a discussion on "PHP moving side menu" within the Web Page Design section. This forum, and the thread "PHP moving side menu are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 15th, 2005, 09:19
csa csa is offline
Up'n'Coming Member
Join Date: Nov 2005
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
PHP moving side menu

Everything was looking great until I added some php code into my html page (all I've done so far is add <?PHP ?>) and this has caused my side menu to retract. If I extend navcontainer a width: 149px; this sorts the menu out, however it knocks everything else out. How can I get around this?

Code: Select all
#navcontainer ul 
{ 
margin: 0; 
padding: 0; 
list-style-type: none; 
font-family: Arial, Helvetica, sans-serif; 
font-size: 13px; 
font-weight: bold; 
text-indent: 8px; 
margin-top: 180px; 
} 

#navcontainer li { margin: 0 0 1px 0; } 

#navcontainer a 
{ 
display: block; 
padding: 2px 2px 2px 24px; 
border: 1px solid #fff; 
width: 149px; 
background-color: #999; 
background-image: url(images/buttonback.jpg); 
} 

#navcontainer a:link, #navlist a:visited 
{ 
color: #EEE; 
text-decoration: none; 
} 

#navcontainer a:hover 
{ 
border: 1px solid #fff; 
background-color: #F60; 
background-image: url(images/buttonbackroll.jpg); 
color: #69C1B5; 
} 

#active a:link, #active a:visited, #active a:hover 
{ 
border: 1px solid #fff; 
background-color: #FF6600; 
background-image: url(images/buttonback.jpg); 
color: #fff; 
}
Reply With Quote

  #2 (permalink)  
Old Dec 15th, 2005, 13:17
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: PHP moving side menu

your php tag should not be responsible for breaking your layout...

are you using dreamweaver? as dreamweaver kindly adds a little [php] square thing where your script is. which would move your design in preview mode.

Test your site and youll find this problem *should'nt* exist
Reply With Quote
  #3 (permalink)  
Old Dec 15th, 2005, 14:04
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: PHP moving side menu

Ye that tag wont do anything to break the site.
Reply With Quote
  #4 (permalink)  
Old Dec 15th, 2005, 14:21
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: PHP moving side menu

let us now how u get on. if not, paste us the script from the page where the break is...
Reply With Quote
  #5 (permalink)  
Old Dec 15th, 2005, 15:05
csa csa is offline
Up'n'Coming Member
Join Date: Nov 2005
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP moving side menu

This is strange, When I view the site the menu moves, but when I asked someone else to look at the page it's fine on their machine. I guess from people's posts that PHP shouldn't have this effect on the page so it must be something I've done!!! I'll check on another machine. Ta
Reply With Quote
  #6 (permalink)  
Old Dec 15th, 2005, 15:07
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
post some of the code you are using and a url to look at...

also what browser are you using...
Reply With Quote
  #7 (permalink)  
Old Dec 16th, 2005, 08:32
csa csa is offline
Up'n'Coming Member
Join Date: Nov 2005
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP moving side menu

It looks fine in FF but IE throws it out. However I have decided to just add a link to another PHP page instead, not because I'm experiencing problems, just because I think it will work better.

If I experience further problems, I'll be back! Thanks
Reply With Quote
Reply

Tags
php, moving, side, menu

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
moving a menu option saltedm8 Web Page Design 6 Feb 5th, 2008 12:37
Side by side positioning josephman1988 Web Page Design 7 Oct 20th, 2007 12:49
Help with moving my css Menu PurpleKat Web Page Design 3 Sep 24th, 2006 11:46
pictures side by side thisandthat Web Page Design 3 May 16th, 2006 00:36
Client-Side VS Server Side Scripting redev2006 JavaScript Forum 1 Jul 30th, 2005 19:30


All times are GMT. The time now is 21:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43