Forums / Templates, Stylesheets, Page Layout / Attributes display alignment

Attributes display alignment

Locked

Started by parafanaylya on 8 Jul 2006, 6:40 AM · Views: 2,724

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
8 Jul 2006, 9:39 AM
#2
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Attributes display alignment

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

8 Jul 2006, 4:50 PM
#3
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Attributes display alignment

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

  1. adjust the value to suit
  • add values for each drop down box?
8 Jul 2006, 5:37 PM
#5
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Attributes display alignment

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!

8 Jul 2006, 6:07 PM
#6
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Attributes display alignment

Glad that can help. :smile:

A New Starter again