Jump to content

Left align drop down attribute menu


Recommended Posts

Hello all. I'm having a CSS problem but it should be easy for people more experienced with CSS. I'm trying to left align the drop down attribute box as well as the label for it. I'm able to get the label left aligned by changing

this:

#primary_block form#buy_block label{
text-align:right
}

to this:

#primary_block form#buy_block label{
text-align:left;
}

And I know the width of the attribute menu can be changed by editing the width in the below code.

#primary_block form#buy_block label,#primary_block form#buy_block select{
display:block;
width:47%;
float:left;

However, I just can't seem to get this drop down menu left aligned. Whenever, I increase the length of the attribute menu, it just jumps down to the next line. I just want it to be a space or two in front of the label.

Any help would be greatly appreciated. Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...