It's not random at all, it's being centered. I don't see any .css for the main menu, so I suspect it's being told to center by something else. I think you may be missing the .css for the menu.
DrDOS is right.. btw, you may want to unclutter all that mess you have up in your html. May want to learn some ways to write list.
__________________ Notice: If you post a problem and it gets fixed, please remember to go back and place it as solved. ;)
I always recommend the HEAD First series of books for learning a new coding language. ^_^
It's not random at all, it's being centered. I don't see any .css for the main menu, so I suspect it's being told to center by something else. I think you may be missing the .css for the menu.
So am I correct in saying that I need to write a CSS element for menu_menu?
Cook, that wouldn't work either.. because you have several Unordered list in that one section. If you want all those in one unordered list you need to put then like this.
I cleaned this up a little bit. I'll let you clean up the rest. The first thing I advise you to do is get rid of all those span tags. Any particular reason you are using them?
__________________ Notice: If you post a problem and it gets fixed, please remember to go back and place it as solved. ;)
I always recommend the HEAD First series of books for learning a new coding language. ^_^
Last edited by Chris Hick; 11-08-2010 at 09:31 PM..
I'm not really skilled with Joomla, but I have seen hard coded content in joomla before. Correct me if I am wrong, anyone.
__________________ Notice: If you post a problem and it gets fixed, please remember to go back and place it as solved. ;)
I always recommend the HEAD First series of books for learning a new coding language. ^_^
I am working in Joomla so surely this would not work? as the menus are supposed to be dynamic and not hard coded.
Not sure what you mean here. Dynamic means coded on the fly or coding thats created from calling other data or functions. Most navigations menus are hard coded. If you have a menu thats the same for mutliple pages, then it would be hard coded.
Now as someone earlier suggested, it looks like a multi level list, but the list items are being centered somewhere. Either by an external stylesheet, or by embedded or internal styles.
Teedoff, they are being affected by one of his internal styles.
Btw, if you are wanting those indented for the purpose of having them under the villa details section, why not create a vertical menu that when you hoover over Villa details it shows what is under it? It would certainly be more pleasing to the eyes.
__________________ Notice: If you post a problem and it gets fixed, please remember to go back and place it as solved. ;)
I always recommend the HEAD First series of books for learning a new coding language. ^_^
Last edited by Chris Hick; 11-08-2010 at 11:00 PM..
Teedoff, they are being affected by one of his internal styles.
Btw, if you are wanting those indented for the purpose of having them under the villa details section, why not create a vertical menu that when you hoover over Villa details it shows what is under it? It would certainly be more pleasing to the eyes.
lol yes I know...but I'm not seeing anything that specifies centering his list items.
I looked at it again and think I may see the problem, right after the body tag is a div that has align="center". Take that out and see if it fixes that problem. It may cause problems elsewhere but that can be fixed by telling what ever content you want to be centered. That depreciated markup isn't valid for that doctype anyway.
DrDOS is that not what I said earlier? lolXD as far as the markup
__________________ Notice: If you post a problem and it gets fixed, please remember to go back and place it as solved. ;)
I always recommend the HEAD First series of books for learning a new coding language. ^_^
Tee, I thought it would take you sooner to realize that ;] Lol I'm just picking
__________________ Notice: If you post a problem and it gets fixed, please remember to go back and place it as solved. ;)
I always recommend the HEAD First series of books for learning a new coding language. ^_^