Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-01-2012, 12:29 AM   PM User | #1
jj72ny
New to the CF scene

 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
jj72ny is an unknown quantity at this point
include problem

i have a include page at the top of each of my pages ( thanks DanInMa for your help on that) now i am having a small problem the include page loads perfectly how ever it has a dropdown menu at the bottom that is working however it drops down below where the page beging is there a spacing or something i need to use i have tryed <p > on the page thinking it would extend the page lower but didn't work any ideas?
jj72ny is offline   Reply With Quote
Old 11-01-2012, 02:23 AM   PM User | #2
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
sounds liike and html and/or css issue. can you show the source code of of a page from browser ( after its been processed by php)
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 11-02-2012, 12:51 AM   PM User | #3
jj72ny
New to the CF scene

 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
jj72ny is an unknown quantity at this point
this is the websight i have been working on i have not edited much yet because i was trying to get this to work first
http://jjshed.site11.com/test.html
jj72ny is offline   Reply With Quote
Old 11-02-2012, 12:53 AM   PM User | #4
jj72ny
New to the CF scene

 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
jj72ny is an unknown quantity at this point
as you can see the menu is droping below where the include page stops
got the menu from dynamic drive
jj72ny is offline   Reply With Quote
Old 11-02-2012, 02:03 AM   PM User | #5
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
Quote:
Originally Posted by jj72ny View Post
as you can see the menu is droping below where the include page stops
got the menu from dynamic drive
Not sure what you mean exactly, looks fine to me. There is a problem with your code though, you have 2 <body> and </html> tags

Code:
</div>
   </body>
</html>
<p>
<p>
<p>
<p>
<p>
 <h1>this is test html</h1>
 <p>Some text.</p>
 
</body>
 </html>
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 11-04-2012, 01:38 PM   PM User | #6
jj72ny
New to the CF scene

 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
jj72ny is an unknown quantity at this point
after removing the </body> and </html> from the include page and the <html><body> from the target page it worked perfectly
thanks yet agin
jj72ny is offline   Reply With Quote
Old 11-06-2012, 04:16 PM   PM User | #7
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
awesome! glad it worked out for ya . Always remember when using includes the content of the included file is added directly to the page as if it was there the whole time
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 04:50 PM.


Advertisement
Log in to turn off these ads.