 |
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
|
|
|
|
|

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

February 18th, 2010, 01:08 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Can you also post your CSS code? Did yoou spell RightAligned correctly, including capitalization?
Cheers,
Imar
|
|

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

February 18th, 2010, 02:07 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

February 18th, 2010, 03:32 AM
|
|
Authorized User
|
|
Join Date: Feb 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

February 18th, 2010, 05:14 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
Last edited by Imar; February 25th, 2010 at 12:01 PM..
|
|

February 25th, 2010, 12:01 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

February 27th, 2010, 06:24 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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