Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 2nd, 2009, 08:44 PM
Fed Fed is offline
Authorized User
 
Join Date: Oct 2009
Posts: 55
Thanks: 26
Thanked 0 Times in 0 Posts
Default CMS Display technique

Hi Imar,

Can you further elaborate on how exactly the display works for the large tabs on the main menu. I.e. how does the app display on a second row when the first row is filled up.

Can you also further elaborate on how exactly the display works for multiple entries on the same page? For example I created an item called "politics" with multiple categories. When any of these categories contain more than one "article" they display one after the other on the same page. How exactly does that work?

Just a smattering of additional info will suffice if it's not too much to ask.

Thanks
 
Old December 3rd, 2009, 09:15 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Fed,

If I am not mistaken (it's been a while since I wrote it and I don't have the book here), the menu items float. Something like this:

<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>

CSS:

ul
{
width: 200px;
}

li
{
width: 100px;
float: left;
}

Each list item (with a width of 100) floats to the next item. Since the <ul> has only room for two items, the third one is moved to the next line automatically.

Multiple items are displayed in a DataList control in the page ContentList.aspx

Do you have the book or are you just looking at the code? (Makes it easier to refer you to pages explaining things).

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Fed (December 3rd, 2009)
 
Old December 3rd, 2009, 09:57 AM
Fed Fed is offline
Authorized User
 
Join Date: Oct 2009
Posts: 55
Thanks: 26
Thanked 0 Times in 0 Posts
Default

Imar,

I have the book but I'm pretty sure that the float is not covered, but if I missed it please direct me.

Thanks,

Fed
 
Old December 3rd, 2009, 10:09 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

No, that's quite possible. The book's main focus is on ASP.NET, not on CSS techniques...


Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Most efficient overriding technique jcsdeveloper C# 4 December 7th, 2005 04:18 PM
Swiping card technique?? rajanikrishna Pro VB Databases 1 December 18th, 2003 07:36 AM
The Technique for Scrolling Without Break [email protected] Flash (all versions) 0 August 11th, 2003 06:44 AM





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