Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix 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 May 8th, 2012, 10:06 PM
Authorized User
 
Join Date: Aug 2010
Posts: 50
Thanks: 7
Thanked 0 Times in 0 Posts
Default photo gallery (chapter 8)

I wanted to incorporate a photo gallery similar to the one in chapter 8. I have a question about the CSS. I have a CSS that I have for the site, but with tiny carousel it has a its own css. How can I maintain my CSS style and include the tiny carousel css?
 
Old May 9th, 2012, 09:02 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,

Can't you just include both CSS files into your layout file?

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 May 9th, 2012, 09:48 AM
Authorized User
 
Join Date: Aug 2010
Posts: 50
Thanks: 7
Thanked 0 Times in 0 Posts
Default

I didn't know you could do that. I thought one would try and overwrite the other. I'll try that.

Thanks.
 
Old May 9th, 2012, 10:07 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It depends on the code these files contain. If they contain exclusive selectors, you're OK. If the same selectors are present in both files, they do indeed overwrite each other.... The one you link to last then wins...

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
How to create Photo Gallery with admin Panel ? Abhishek Kumar ASP.NET 4 General Discussion 1 September 26th, 2011 03:26 AM
Reg. Photo gallery with admin panel. Abhishek Kumar ASP.NET 4 General Discussion 1 September 23rd, 2011 11:33 AM
Help: photo gallery from C# to VB.net? eureka VB.NET 2002/2003 Basics 0 September 4th, 2004 04:04 AM
photo gallery module eureka VBScript 1 September 3rd, 2004 07:03 PM





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