I'm trying to create a CSS or Milonic based rollover appearance of a border appearing at the top and the bottom but NOT the left or right as I already have a border around the menu.
Is there a way to accomplish this with onborder or with custom CSS?
Thanks!
how to create onborder w/ only top & bottom borders [solved]
- nwilcox
- Mega Advanced
- Posts: 269
- Joined: Sat Aug 20, 2005 6:14 am
- Location: Indianapolis, IN
- Contact:
how to create onborder w/ only top & bottom borders [solved]
Last edited by nwilcox on Fri Aug 21, 2009 8:21 pm, edited 1 time in total.
Hi,
You need to use css to create that kind of border. The css property you use is border, and code it just like you would for any border on a page.
If it is to be the same in both the mouse off and on state then you'd only need one class, if you want it different, then you need two classes.
You'd call it using the menu property offclass=""; onclass="";
Here's a basic css demo, the first page is an explanation then there's a link to a few examples.
http://support.milonic.com/beginners/css_styling/
Ruth
You need to use css to create that kind of border. The css property you use is border, and code it just like you would for any border on a page.
If it is to be the same in both the mouse off and on state then you'd only need one class, if you want it different, then you need two classes.
You'd call it using the menu property offclass=""; onclass="";
Here's a basic css demo, the first page is an explanation then there's a link to a few examples.
http://support.milonic.com/beginners/css_styling/
Ruth
- nwilcox
- Mega Advanced
- Posts: 269
- Joined: Sat Aug 20, 2005 6:14 am
- Location: Indianapolis, IN
- Contact:
well that worked... sort of
well that sort of worked... now the link style has also be overwritten with my CSS styles
I have the text set at normal (not bold) and no text decoration (no underline)
both of these elements are setting for default a tags in my css so
any ideas?
thanks!
I have the text set at normal (not bold) and no text decoration (no underline)
both of these elements are setting for default a tags in my css so
any ideas?
thanks!

I noticed that about using css, suddenly you have to specify the text-decoration and the fontstyle in the css if you are calling any kind of on or off class using css. You don't have to do anything else, it will take it from the menu_data file, but not that text-decoration or fontstyle.
Ruth