CSS Menu Horiz but with 2 columns

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
clarkac

CSS Menu Horiz but with 2 columns

Post by clarkac »

I'm running CMSMS 0.13 and I want to stick with the horizontal CSS menu but ... with 2 columns.  I've spent hours on this and have not figured it out yet.  To save me more hours, and to help others who want 2 columns for this menu, can someone post the template and CSS to achieve this?  Many thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Menu Horiz but with 2 columns

Post by Dr.CSS »

2 col. menu or 2 col. content?
clarkac

Re: CSS Menu Horiz but with 2 columns

Post by clarkac »

2 column content
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Menu Horiz but with 2 columns

Post by Dr.CSS »

have you looked at my Got Link at the bottom...
basicaly it's...


        {title}  {title} is the title you put in the edit page Title: box
        {content}     
     


        {content block='block1title' oneline='true'}  this will give you a second Title: box
        {content block='block1'}
     

#main{width:50%; margin:??;padding:??;}
#content2{float:right;width:45%; margin:??;padding:??;}

when you have 2 col.(boxes) the first one will want to start in the upper left corner, so you need to make it smaller than the containing 'box' and then tell the 2nd. box to float so it doesn't sit under the first box, which is where it will think it's supposed to go, the order you put your boxes in the template is important because our buddy IE will want to mess with them if you try to put the second box on the left,

does that help?
clarkac

Re: CSS Menu Horiz but with 2 columns

Post by clarkac »

Mark,

Thanks, that's what I had been doing but with odd results.  However, on a more optimistic note I found how to import themes from the forum and that is a major breakthrough as I can access all sort of stuff (especially yours!).  Thanks again... I really need to learn CSS.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Menu Horiz but with 2 columns

Post by Dr.CSS »

this is the place... HTML, CSS, PHP, XML,,,,

http://www.w3schools.com/default.asp
Locked

Return to “Layout and Design (CSS & HTML)”