I would like my attributes drop down boxes and text to right align.
The display is untidy for left align - see here
I would like my attributes drop down boxes and text to right align.
The display is untidy for left align - see here
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.
If still want the text to right align for the option name..optionName {
width: 16em; /* should set a width which ssufficient for all the option names */
}
in the above css add the following:
.text-align: right;
A New Starter again
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:
Do I addLABEL, h4.optionName {
line-height: 1.5em;
padding: 0.2em;
}to the above stylesheet2.css andwidth: 16em;
- adjust the value to suit
- add values for each drop down box?
Cool man. Thank you. Iadded that tiny bit of coding, and my whole site's a lot neater.width: 16em;
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!
Glad that can help.
A New Starter again
Bookmarks