Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2007, 04:22 PM
Registered User
 
Join Date: Jan 2005
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>







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





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