View Full Version : why is this include broken?
02-13-2005, 09:29 AM
I can't see what the problem is...
02-13-2005, 10:06 AM
I'm not sure what I'm supposed to be seeing but you've got two <head>'s and two <body>'s
02-13-2005, 10:08 AM
it's always something stupid...
02-13-2005, 10:12 AM
hmmm, still broken actually.
It drops the right menu below and far to the right
02-13-2005, 10:32 AM
margin:12px 0px 0px 0px;
02-13-2005, 10:35 AM
that is the part of the CSS for that part of the page, yes.
02-13-2005, 10:46 AM
I use tables so the positioning is a little new to me. You placed the includes below the table so it would be presented there unless dictated by your style sheet. If you're not using the style sheet to position the includes wouldn't you just place it above the table?
Forgive my css newbieness.
02-13-2005, 12:02 PM
actually the include puts the table into the page. It's pulled from sm-cont.php
02-17-2005, 05:46 PM
That code doesnt look right. The include placement needs to be within the table structure doesnt it? Sorry I use tables also and rarely use div's
02-17-2005, 06:07 PM
That, the <div> placed in the css or in the html above the includes.... or?
02-17-2005, 06:14 PM
D, you confused me man ;)
02-17-2005, 07:07 PM
[QUOTE=jlknauff]D, you confused me man ;)[/QUOTE]It's a hobby (smiley here).
What I meant was it would seem as the code for the second nav would have to appear before the includes table either in the css file or in the html (and it didn't appear so to me either way).
Personally, I'd just do the site map in tables as you're using them anyway.
I'm assuming you tried just placing the code for the second nav above the includes for the table?
02-18-2005, 09:20 AM
Here's the problem.
The include is in the same place in the code as the center column is in the rest of the pages, so it *should* appear in the center and the other nav should appear next to it just like the remainder of the site.
The idea of the include is so that as I add new content to a rapidly growing site I can update one file and the pages that have a site map on them will not have to be changed. Granted, there are only 4 or 5 pages with a site map but still...it's the principle now :p
02-18-2005, 10:23 AM
J, if we strip out some of the extra stuff, things are more clear and we get this...
<h2>Info for Men</h2>
</div> [extra div end]
You'll see that the div starts and ends aren't matching up, due to the extra div end that occurs before the secondnav div starts.
I think if you remove the one I marked in the code above, you'll get what you want...
02-18-2005, 12:12 PM
I'll have to take another look when I get home but if I remember correctly, taking out the extra div screwed something up-I don't know why. I'll see what I can find tonight.
vBulletin v3.0.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.