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 November 14th, 2008, 11:41 AM
Authorized User
 
Join Date: Aug 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default PhotoAlbums/default.aspx - Picture size

When I display this page, it doesn't seem like the css for the size of the pictures is being used. I assume the following item should be used, which I have defined in Styles.css:

.itemContainer li imp
{
 width: 180px;
 margin: 10px 20px 10px 0;
}

What should I look for?

 
Old November 14th, 2008, 04:26 PM
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,

Is this copied directly from your CSS file? Take a look at this:

.itemContainer li imp

It should be img (from image) instead of imp:

.itemContainer li img
{
  width: 180px;
  margin: 10px 20px 10px 0;
}

If that doesn't fix it (maybe you made a typo in this post), can you explain the problem a little more?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Paper Size (custom also) to default Printer gaurikhot .NET Framework 2.0 2 December 6th, 2008 01:50 AM
default.aspx Louisa ASP.NET 1.0 and 1.1 Basics 4 October 14th, 2005 11:55 AM
How to automatically modify picture size in table Edward King HTML Code Clinic 2 November 19th, 2003 05:28 PM
default setting change picture/ fax viewer editor mateenmohd Classic ASP Basics 0 June 14th, 2003 03:15 PM





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