Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Animation / Mobile
Centering page w/DHTML menu|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Working Mechanic |
I'm reworking my homepage and one of the things I wish to do is to center it. However when I do so it changes something in my DHTML menu (Xtreeme SiteXpert). The drop downs are now out of wack. You can see the effect here
http://abbahomeschool.com/index2.html vs. how it should be here http://abbahomeschool.com/index.html I don't know if this is a SS deal or something more to do with SiteXpert. Anyone have an idea here.? I might add that it's only a problem when viewed in IE. FF and Opera show the menu as it should be. I hate these kind of problems. Also a side note for Bruceee. Several months ago you tried to help me use SSI for my menu. I read everything on your page about includes and after many hours of failure I moved on. But my problem remained of course. Updating a menu across nearly a hundred pages. I really needed includes to work for me, so a couple of weeks ago I dug into it again and here is a couple of things I learned. One; most web servers, mine included, need the page extension to be .shtml. I am way past the point of being able to change extensions now. I've got myself on the first page of MSN, Yahoo and Google for my main search terms. I did not want to give that up nor did I want to use any kind of redirect scheme. After more diggin', I found the key to getting Includes to work on my pages without having to change the extension. It's easy really, just add these two lines to your .htaccess file. AddType text/html .shtml .shtm .htm .html AddHandler server-parsed .shtml .shtm .htm .html Place this line of code where you wish the Include to show. <!--#include file="menu/menu.html" --> Thats it and now I am a very happy updater! I hope this can be of some use to others faced with the same problem. Thanks |
||
|
Guru 'Power' Mechanic![]() |
Always good to get feedback on how things worked out in the end.
You might check the Xtreeme SiteXpert forums -- I saw mention there of offsets you could add in to fix various problems. Looking at your malfunctioning menus, the text seems to have jumped to the right out of the bounding boxes by about 100 pixels all the way across. Putting an x-offset of -100 might just fix it, but I hate to think what that might do in Firefox I can't offer much other help on the page centering issue except to say I think your pages would look good without being centered And if Derry is reading this: If you are ever scratching around for a new feature to add to SS, a built-in Menu System would be nice |
|||
|
VM Staff![]() |
'Built-in'!? What about 'MenuSpinner'
- Derry |
|||
|
|
Working Mechanic |
Might as well add 'FormSpinner' in there too!
|
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

