ActionsDev
2 replies to this thread. Most Recent
Gray Owl
9 Apr 2009, 7:00 am
[Pro] Centered CSS Menu's in HTML Box
How do you get a CSS Menu Action to sit in the centre of an HTML box?
Have got a HTML box 780px by 22px and have applied the CSS Action to it. Made my list with hyperlinks added, published the page and have looked at in Safari and it works.
My problem is that the menu sits to the left of the box. How do I get the menu centered??
Regards
Lee
One Man with out his Harley
DeltaDave
9 Apr 2009, 11:00 pmIf you draw a new HTML box and set its width to be 100% then copy and paste your CSS menu box into it. Select the CSS menu box and in the inspector set margin:custom - type Auto into the Left and Right boxes (leave top and bottom blank) OK it and have a look.
David
Glasgow, Scotland
iMac 27 Snow and Pro 5.4.2
Gray Owl
10 Apr 2009, 12:04 amOn 9 Apr 2009, 11:00 pm, DeltaDave wrote:
If you draw a new HTML box and set its width to be 100% then copy and paste your CSS menu box into it. Select the CSS menu box and in the inspector set margin:custom - type Auto into the Left and Right boxes (leave top and bottom blank) OK it and have a look.
David
Hi David
Thanks for that. It looks a lot better than it did. The only other thing I’ve got to get sorted is the spacing between the menu headings.
It seems that using the CSS Menu action, doesn’t give you the freedom to make equal spacing between the menu headings but that’s another problem??
Once again, thanks.
Regards
Lee
One Man with out his Harley
