X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   margin-bottom not working on vertmenutitle (https://forum.x-cart.com/showthread.php?t=21081)

amy2203 04-12-2006 07:06 AM

margin-bottom not working on vertmenutitle
 
I'm trying to add some space after my menu title, and have tried the following in the css:

margin-bottom: 10px;

or

margin: 3px 10px;

but neither seem to work. I have also tried changing other variables in the class definition, and they change the display accordingly, so I know that the class is assigned correctly, I just can't get this to work.

Anyone any idea why?

V4.0.18

balinor 04-12-2006 07:31 AM

Try padding-bottom: 10px;

amy2203 04-12-2006 07:53 AM

thanks balinor, but that puts the space before my border-bottom, whereas I want it after. I have a coloured border top and bottom in my template, and the first line of text is just a little close for my liking.

I did make the change, and it did change so I'm convinced that the class is assigned correctly, it's just that the margin collapses and i don't know how to stop it.

I could always add a
into the menu tpl, but I was trying to keep to css as much as possible (she says whilst frantically deleting as many <table>s as possible!)

testing site: http://willowtreecrafts.amygibbs.co.uk/xcart


All times are GMT -8. The time now is 11:58 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.