Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 April 22nd, 2010, 04:23 PM
Authorized User
 
Join Date: Jun 2008
Posts: 75
Thanks: 15
Thanked 0 Times in 0 Posts
Default Style Sheet File

I'm wondering is the Styles.css file that I downloaded the one that works with the Chapter 6 exercise.
 
Old April 23rd, 2010, 10:01 AM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow

Hi There,
may you please specify a little more.
Quote:
I'm wondering is the Styles.css file that I downloaded the one that works with the Chapter 6 exercise.
this is not enough to understand what you are trying to do/ask?
__________________
Jack: Founder, Developer & Owner Of JackAndGenieForever.Com
 
Old April 23rd, 2010, 10:51 AM
Authorized User
 
Join Date: Jun 2008
Posts: 75
Thanks: 15
Thanked 0 Times in 0 Posts
Default Styles.css

The following is a list of the properties that were contained in the CSS file. What do these properties have to do with the Master Page?

.itemContainer
{
width: 600px;
list-style-type: none;
}
.itemContainer li
{
height: 280px;
width: 200px;
float: left;
}
.itemContainer li img
{
width: 180px;
margin: 10px 20px 10px 0;
}
 
Old April 23rd, 2010, 11: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

Hi there,

The itemContainer classes are used to change the display of pictures in an album. They are introduced in Chapter 13, starting with page 454.

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!
 
Old April 23rd, 2010, 11:18 AM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow

hello there,
well these styles are used to set the images in the photo album section.
As Imar has used the two themes in his project, one of them are 600px wide.
So to set the images for the photo album section these styles are being used, which sets the image height and width forcefully to be 280 px and 200 px respectively. Further for the width there is padding of 10 px at top and bottom, 20 px on the right side and finally no padding for left side.

Code:
.itemContainer li img
{
width: 180px;
margin: 10px 20px 10px 0;
}
This style sheet is dedicated to images only. That you will find in chapter 13 and moreover you can have better understanding on page no. 459.

Hope this helps.

Cheers,
jack
__________________
Jack: Founder, Developer & Owner Of JackAndGenieForever.Com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to redirect XML outputted by style sheet back into same style sheet Kenneth.Dougherty XSLT 4 November 9th, 2009 04:29 PM
Style Sheet exit veera_clr XSLT 3 November 9th, 2009 07:04 AM
Chapter 2 -- Style Sheet problem. Doug Happ BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 January 10th, 2008 01:14 PM
cascading style sheet problem nikotromus ASP.NET 2.0 Professional 0 March 24th, 2006 07:49 PM
Setting the Style Sheet class jacob ASP.NET 1.0 and 1.1 Basics 4 August 20th, 2003 01:53 AM





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