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 February 18th, 2010, 12:39 AM
Authorized User
 
Join Date: Feb 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chpter 3: Css

Hi,

I tried to type the code:
<div>
<h1>Welcome to this CSS Demo Page</h1>
<p>CSS makes it supper easy to style your pages.</p>
<p class="RightAligned">
With very litle code, you can quickly change the look of page.</p>

</div>

But the Text doesn't get Aligned, as it is shown in the output of the Book.
Please help me how to solve this.

Thanks.
 
Old February 18th, 2010, 01:08 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 you also post your CSS code? Did yoou spell RightAligned correctly, including capitalization?

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 February 18th, 2010, 01:59 AM
Authorized User
 
Join Date: Feb 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3:Css

Hi,

Thanks for your prompt reply.
I put: <style type="text/css"> </style> in Head
But no Css code was mentioned in Book for <p class="RightAligned">.
Either i didn't see the Css code for this Example or it is missed.
Thanks.
 
Old February 18th, 2010, 02: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's definitely in there. I don't have the book with me at the moment so I can't check the actual page number, but somewhere you should see something like:

Code:
 
.RightAligned
{
  text-align: right;
}
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 February 18th, 2010, 03:32 AM
Authorized User
 
Join Date: Feb 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3:Css

Hi Imar,

Thanks for your quick reply. The code has worked now.
But i'm sure that it wasn't available in the Book.

Thanks
 
Old February 18th, 2010, 05:14 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
But i'm sure that it wasn't available in the Book.
I am pretty sure it is; you just need to look a little harder... ;-)

Take another look at the TIO titled Writing Your First CSS. In step 3, you see the CSS code; .RightAligned is the last selector in the code snippet.

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!

Last edited by Imar; February 25th, 2010 at 12:01 PM..
 
Old February 25th, 2010, 12:01 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 majeedkhan,

Did you check the book? Was it in there for you as well? Maybe you're not using the English version of the book?

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 February 27th, 2010, 12:17 AM
Authorized User
 
Join Date: Feb 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Cheers,

Actually i use the (English)Soft copy of your Book. I searched to find the Css code for "RightAligned" but i couldn't. I don't know the reason. i can send the pages of that topic.
Thanks

Last edited by majeedkhan; February 27th, 2010 at 04:59 AM..
 
Old February 27th, 2010, 06:24 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yeah, I would like to take a look. If you send me an e-mail through my web site at http://imar.spaanjaars.com/Contact.aspx I'll reply so you know my e-mail address. If you then send me a copy of the book, I'll try to figure out what's wrong about it.

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 March 9th, 2010, 12:06 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Got your copy of the eBook by e-mail today.

Not sure what you were thinking when you posted this. You're using an illegal copy of my book and then come here for help when things are broken because pages are missing?

The answer can be found here: http://tinyurl.com/ybqzuuf
__________________
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
CSS - editing the css style sheet doesn't take effect immediately sayo ASP.NET 3.5 Basics 6 March 13th, 2009 02:32 AM
Paginate function with thumbnails, chpter 7 and 16 dragon_rouge Beginning PHP 0 March 10th, 2008 06:26 AM
CSS HELP:! CSS EXPANDIBLE BACKGROUND FOR TITLE phpuser2000 CSS Cascading Style Sheets 2 December 19th, 2007 12:36 AM
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
Error with Struts example -Chpter 15 -Please help PatrickWalsh JSP Basics 0 March 18th, 2004 09:54 PM





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