| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Being driven crazy by a "register" button ... | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Being driven crazy by a "register" button ...
Hi All!
I'm trying to get my "register" button to align properly, but it just won't sit where I want it to. I have a custom login bar, which includes 2 buttons: Code:
Which is fine. However, when I add a href tag to the register button, it jumps and moves itself onto a new line!! WHY is it doing this to me!!? Like this is perfect: Code:
Like this is wrong!: Quote:
What would cause this? Help Thanks
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Being driven crazy by a "register" button ...
XC buttons are one of the hardest thing to make work properly with other elements. The way they are designed is just ridiculous. Once you add href it changes completelly the whole button structure and uses different classes. If you change these classes it will throw off other buttons it's fun isn't it. What you can do is copy most of the css applying to it under new classes, use them for this one button and change them so the button sits properly. You can add the new classes as additional_button_class="xxxxx". Use Firebug, it's a must here
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Being driven crazy by a "register" button ...
Hi again, Steve!
Hope you're keeping well? The "additional_button_class" was a custom class, with CSS that I had copied out and adjusted - However, it seems that I somehow missed the "div.button" bit out, so I've added a float to that and it's great! Apart from in IE, where it's now on a new line! D'oh! But at least it's sitting on the right hand side! As for Firebug, it's my lifeline! I couldn't do without it!
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|