1
pipwax
Menu Won't Line up correctly
  • 2009/11/14 14:01

  • pipwax

  • Not too shy to talk

  • Posts: 132

  • Since: 2005/9/12


Can someone help me out and take look at my site
Sk8photos.com where I should look in the Css File?

2
ghia
Re: Menu Won't Line up correctly
  • 2009/11/14 15:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Add display:block; to #mainmenu a in /themes/sk8photos1/style.css

3
pipwax
Re: Menu Won't Line up correctly
  • 2009/11/14 15:38

  • pipwax

  • Not too shy to talk

  • Posts: 132

  • Since: 2005/9/12


Thanks! Worked like a Charm!

4
Wonderfish1
Re: Menu Won't Line up correctly

I am having this problem also, but my style.css has display: block; in it.... I have looked extensively and many report that this fixes it but not for me.

The menus are not one item per line but run on. See the menus here:

http://122.201.80.130/~timaqual/

The relevant part of style.css:

td#mainmenu a {background-color: #2E4166; display: block; margin: 4px; padding: 3px;;}
td#mainmenu a.menuTop {padding-left: 3px; color: #A5A464}
td#mainmenu a:hover {color: #FFFFFF;}
td#mainmenu a.menuMain {padding-left: 3px; color: #A5A464}
td#mainmenu a.menuSub {padding-left: 15px; color: #CCCCCC}

td#usermenu a {background-color: #2E4166; color: #A5A464; display: block; margin: 4px; padding: 3px;}
td#usermenu a:hover {color: #FFFFFF;}
td#usermenu a.highlight {background-color: #FFCCCC; }


Any help greatly appreciated. I have been trying for hours to fix this seemingly simple problem.

Thanks,
Tim

5
jcweb
Re: Menu Won't Line up correctly
  • 2010/12/15 12:16

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Try to delete the td in front of every # in the main- and usermenu.

Greets

6
Wonderfish1
Re: Menu Won't Line up correctly

No joy - it now looks like this:

#mainmenu a {background-color: #2E4166; display: block; margin: 4px; padding: 3px;;}
#mainmenu a.menuTop {padding-left: 3px; color: #A5A464}
#mainmenu a:hover {color: #FFFFFF;}
#mainmenu a.menuMain {padding-left: 3px; color: #A5A464}
#mainmenu a.menuSub {padding-left: 15px; color: #CCCCCC}

#usermenu a {background-color: #2E4166; color: #A5A464; display: block; margin: 4px; padding: 3px;}
#usermenu a:hover {color: #FFFFFF;}
#usermenu a.highlight {background-color: #FFCCCC; }

Thanks
Tim


7
Wonderfish1
Re: Menu Won't Line up correctly

Damn - I have a bad feeling that this might be something that is broken in Firefox. Could someone else confirm this for me please - it looks fine in IE.

Tim

8
jcweb
Re: Menu Won't Line up correctly
  • 2010/12/15 14:49

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Did you have a styleNN.css in your theme? If yes, look inside and or disable, clear the cache folder of xoops and your browser cache, reload and come back here

Greets


9
ghia
Re: Menu Won't Line up correctly
  • 2010/12/15 14:57

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
The relevant part of style.css:
Problem is that it is not included (see header in the HTML source).
styleNN.css is included, but does not have the CSS for the mainmenu .

10
Wonderfish1
Re: Menu Won't Line up correctly

What do you need to see to diagnose the problem?

Login

Who's Online

252 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 252


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits