Totally Zenned
- Join Date:
- Jul 2005
- Location:
- Hoedspruit
- Posts:
- 470
- Plugin Contributions:
- 1
Attributes display alignment
I would like my attributes drop down boxes and text to right align.
The display is untidy for left align - see here
Totally Zenned
I would like my attributes drop down boxes and text to right align.
The display is untidy for left align - see here
Totally Zenned
If adjust the dropdown's part in the css, other portion of the page will be affected.
You can set a width to the option name of the first part at the left side, and this make a clear look to the the dropdown at the right side.
.optionName {
width: 16em; /* should set a width which ssufficient for all the option names */
}
If still want the text to right align for the option name.
in the above css add the following:
text-align: right;
.
A New Starter again
Totally Zenned
I'm very new at this and don't really know what I'm doing. using Aardvark, I found this bit of code that, I think, relates to what you're talkin about:
LABEL, h4.optionName {
line-height: 1.5em;
padding: 0.2em;
}
Do I add > width: 16em;
to the above stylesheet2.css and
Totally Zenned
Cool man. Thank you. Iadded that tiny bit of coding> width: 16em;, and my whole site's a lot neater.
:thumbsup:
Totally Zenned
A very big thank you to seethrou. Aardvark and other web tools for Firefox are great. I recommend them to anyone that would like to learn and understand how their sites are put together!
Totally Zenned
Glad that can help. :smile:
A New Starter again
Tell staff why this post should be reviewed.