PDA

View Full Version : Can I make the text aligned left



Kerry
08-22-2006, 01:25 AM
1) Script Title: AnyLink Vertical

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkvertical.htm

3) Describe problem: I'd like the text in the drop-down fields to be aligned left.

For example the first link is "Overview." The first sub link in Overview is, "What's the tutorial about?" I'd like this hyperlink to be aligned left in its field instead of the default center.

Can this be done?

Here's the test page Communication Skills Tutorial for Managers (http://www.managercoaching.com/index.htm)

Thanks,

Kerry

jscheuer1
08-22-2006, 08:34 AM
The demo page's links are left aligned. The link to your demo is not working at the moment and appears to be an unregistered domain.

Kerry
08-22-2006, 09:03 AM
Hi John,

Good catch. I had an error in the URL http://www.managercoaching.com/ It works OK now.

Can you point me to the line in the code that is supposed to cause text-align left?

I changed:

.style14 {
background: url('images/sidebarbg.jpg');
color: #000;
width: 250px;
padding: 10px 15px 10px 20px;
vertical-align: top;
font-size: 90%;
text-align: center;
}to

.style14 {
background: url('images/sidebarbg.jpg');
color: #000;
width: 250px;
padding: 10px 15px 10px 20px;
vertical-align: top;
font-size: 90%;
text-align: left;
}but that didn't do it.

Here's the other code that uses the words text-align: left but it is, as you say, defaulted to align: left

.style19 {
text-align: left;
color: #D01022;
}Suggestion?

Thanks,

Kerry

jscheuer1
08-22-2006, 09:15 AM
#dropmenudiv{
position:absolute;
background-color: #FFFFFF;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
text-align:left;
}

Kerry
08-22-2006, 07:58 PM
Thanks John, that did it.

Thank yoiu also for all the work you do to help us.

Kerry