Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 13th, 2007, 04:22 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default HELP: CSS COLLAPSIBLE LIST ISSUES

Hi!

I have this collapsible list which expands when you clikc on the image.
The proble is ima trying to make the main text align to it self when the text grows.

For example Currently it show up like this:
+ New Room
Rooms Roomsss

Should instead look like this when the text become to line or 3 line.
+ New Room
  Rooms Roomsss

How do Make this align Below "new" .
Thanks in advance.

Below is the css and the sample code.


/*****************
START OF LEFT MENU
********************/



#leftrail {
border:0px solid #000;
color:#404040;
padding: 10px 0 0 0;

}

#leftrail ul {
list-style-type: disc;
color:#999;
}


#leftrail ul li {
margin-left:27px ; font-size:11px;
}

#leftrail ul li a{
margin-left:-1.1em ;color:#404040;
}
#leftrail .leftspace {
padding:0 0 0 3px; font-size:11px;
}

html>body #leftrail .leftspace {
padding:0 0 0 0px; font-size:11px;
}

/******************
END OF LEFT MENU
******************/

/*** HTML PART ****/


<ul id="leftrail">
<li>
<span class="leftspace">Products</span>[list]
<li><a href="#">News</a></li>
<li><a href="#">Color</a></li>
<li><a href="#">Fragrance</a></li>
<li><a href="#">Personal Care</a></li>
<li><a href="#">SkinCare</a></li>
<li><a href="#">Other</a></li>
</ul>
</li>

<li>
<span class="leftspace">CEO Corner </span>[list]
<li><a href="#">Color</a></li>
<li><a href="#">Fragrance</a></li>
<li><a href="#">Personal Care</a></li>
<li><a href="#">SkinCare</a></li>
</ul>

</li>
</ul>


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SRS2005 List report having page break issues LenexaKS Reporting Services 0 August 29th, 2008 11:48 AM
IE Issues with CSS phpuser2000 CSS Cascading Style Sheets 0 December 19th, 2007 12:13 PM
Create a Collapsible List AnithaReddyKora ASP.NET 2.0 Basics 0 December 13th, 2005 06:40 AM
List of questions from 100% CSS Beginner horseatingweeds BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 8 December 12th, 2005 04:32 PM
MultiSelect List Box and Other issues... snoopy92211 Access VBA 0 July 14th, 2004 01:27 PM



All times are GMT -4. The time now is 01:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.