<!--#include virtual not showing up
It's been a while since I popped onto this forum, but I've hit a wall in trying to solve this problem. My website includes a menu and a footer using SSI (the <!--#include virtual="whatever.html"--> command).
The menu shows up. The footer does not. The code lines look identical. Can someone please take a look at my HTML or CSS and tell me why? You can view the source code on the live page, HERE.
I think the includes are working fine, but the problem you're seeing may be because of your multiple doctypes, headers, body tags, etc. You can only have ONE such structure in any file, and it looks like you're including all that stuff in each of your includes. Look at "view source" of your web page to see what it's looking like...
Thanks! I didn't know that. I got rid of the extra tags in the external HTML files, but the problem is still there.
I figured it out. It seems like one position:absolute was fighting with another position:absolute, I guess. I'm still not sure why it worked, but here's what I did (in main.css). I got rid of the positioning in here:
IIRC, I added position there in the first place because the sidebar got cut off if I resized the browser window. Now it seems to work fine. Mysterious, but that's how a lot of this stuff is to me.
border:1px solid purple;
margin:0 220px 0px 0; /* alternative: set this to 0 and make onecol, twocol 42% */
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread