MDN

Go Back   Mambo - Forums Closed for posting > Mambo 4.5.5 - Stable > General Questions

Reply
 
Thread Tools Search this Thread Display Modes
Old May 31st, 2005, 05:41   #1
wolf
 
Join Date: Oct 2003
Location: Sydney, Australia
Posts: 124
wolf is on a distinguished road
Default Right Alignment of modules (menus)

Hi there
I have been trying to right align the menu at the top for the last couple of hours without success. The site is: http://farmbis.3w.com.au/
After reading some other posts my aim has been to change the following CSS:
a.mainlevel:link, a.mainlevel:visited {color: #000066;
text-decoration: underline;
font-weight: bold;
}
by adding text-align: right;
and plenty of other entries. The menu is simple a horizental list of links. The only thing I can get to work, however it changes the menu to a vertial list is from another post is by adding display: block;

Anyone have a answer of how to make the menu align right?
Any help would be appreciated.
__________________
Have a great day
Wolf
http://www.web-control.com.au
Mambo Training Specialist in Australia
wolf is offline   Reply With Quote
Old May 31st, 2005, 06:12   #2
hazman
 
hazman's Avatar
 
Join Date: Dec 2004
Location: Israel
Posts: 6,212
hazman is on a distinguished road
Default

Hi, can you post your template's index.php
hazman is offline   Reply With Quote
Old May 31st, 2005, 07:34   #3
camos
 
Join Date: Jan 2004
Posts: 1,367
camos is on a distinguished road
Default

The menu does align right in Firefox but not in IE6.
Remove the <span> wrapping the the menu table, it is invalid for a span to contain a table, div or a paragraph for that matter. Beside the menu there are a number of instances where this occurs, they should all be corrected.

By default all modules including the menu use the moduletable class. To make the menu unique in the menu module manager use a suffix EG: _topmenu. In template_css.css create moduletable_topmenu by cloning moduletable and renaming. Set the alignment here to right.

I think that should get both browsers on the same track.

Also noticed an extra <title></title> just before the </head> that should be removed.

Cheers
camos is offline   Reply With Quote
Old May 31st, 2005, 09:02   #4
hazman
 
hazman's Avatar
 
Join Date: Dec 2004
Location: Israel
Posts: 6,212
hazman is on a distinguished road
Default

Quote:
Originally Posted by camos
The menu does align right in Firefox but not in IE6.
Remove the <span> wrapping the the menu table, it is invalid for a span to contain a table, div or a paragraph for that matter. Beside the menu there are a number of instances where this occurs, they should all be corrected.

By default all modules including the menu use the moduletable class. To make the menu unique in the menu module manager use a suffix EG: _topmenu. In template_css.css create moduletable_topmenu by cloning moduletable and renaming. Set the alignment here to right.

I think that should get both browsers on the same track.

Also noticed an extra <title></title> just before the </head> that should be removed.

Cheers
This is what I was thinking. This is a good explanation Camos.

This is why I wanted the index.php - to just give him a corrected table, it's a bit out of order.
hazman is offline   Reply With Quote
Old June 1st, 2005, 08:50   #5
camos
 
Join Date: Jan 2004
Posts: 1,367
camos is on a distinguished road
Default

Usually when something is not working right, it isn't necessary to look at the template index.php. Viewing the source is generally sufficient to indicate what is happening, although if parts are missing seeing the template is helpful.

Cheers
camos is offline   Reply With Quote
Old June 1st, 2005, 09:51   #6
hazman
 
hazman's Avatar
 
Join Date: Dec 2004
Location: Israel
Posts: 6,212
hazman is on a distinguished road
Default

Well I rather look at the template's index.php anytime than waste my time searching the source. The index.php is clear, clean and you can see what's wrong in a New York Minute.
hazman is offline   Reply With Quote
Old June 5th, 2005, 13:21   #7
camos
 
Join Date: Jan 2004
Posts: 1,367
camos is on a distinguished road
Default

What you say is true but sometimes the broken table is not from the template but part of the content of a module or even an article. Using the Firefox Web tools with it's find feature to view source is the most efficient.

Cheers
camos is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
location for modules / menus millarch Administration Questions 1 July 18th, 2005 01:32
Categories, Modules and Menus - Consitancy Issue. Duality Administration Questions 5 May 23rd, 2005 15:14
How to wrap content and not show menus and modules? charlestonjazz General Questions 14 March 2nd, 2005 21:31
Alignment in modules? araouf Templates 0 February 9th, 2005 21:56
Expand menus while in that module, not in other modules karz10 General Questions 2 November 21st, 2004 17:21


All times are GMT -7. The time now is 04:41.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.