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 16th, 2010, 06:08 AM
Authorized User
 
Join Date: Feb 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Post Image fixing

Hi,

I have used Image for Master Page of my web page, but the problem is that whenever i maximize the browser the Image doesn't maximise with Browser page and remains static. Please kindly tell me the solution. Thanks
 
Old February 16th, 2010, 09:46 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,

Is this related to the book somehow? If so, can you please post chapter or page number references? If it isn't related you're better off posting in a more general ASP.NET or CSS category. Makes it easier for you to attract more readers, and easier for readers of this category to find what they came here for.

That said, can you show us the code you're using? This is not something supported by CSS 2 out of the box, so you need to use some CSS tricks. "I feel lucky" for "CSS stretch background image" on Google brings this up, but I am sure there are many other ways to do it (JavaScript comes to mind): http://webdesign.about.com/od/css3/f/blfaqbgsize.htm

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

Hi,
Thanks for your kind reply, Actually this is a site which i m practicing on that.
I just wrote this code: <body background="Images/naturalbgr.jpg"> and nothing more. i want that this image should not have fix size, if Browser window is maximize it should be maximized if minimized the Image should be Minimized. I m new to Web Programming and need your kind help.
Thanks.

Quote:
Originally Posted by Imar View Post
Hi there,

Is this related to the book somehow? If so, can you please post chapter or page number references? If it isn't related you're better off posting in a more general ASP.NET or CSS category. Makes it easier for you to attract more readers, and easier for readers of this category to find what they came here for.

That said, can you show us the code you're using? This is not something supported by CSS 2 out of the box, so you need to use some CSS tricks. "I feel lucky" for "CSS stretch background image" on Google brings this up, but I am sure there are many other ways to do it (JavaScript comes to mind): http://webdesign.about.com/od/css3/f/blfaqbgsize.htm

Cheers,

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

Quote:
I just wrote this code: <body background="Images/naturalbgr.jpg"> and nothing more.
It doesn't do that automatically; you'll need to do some work to accomplish this. Did you try out the stuff suggested in the article I linked to?

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
Fixing An Overbloated MDB - HELP!! dpm39560 Access 4 October 14th, 2014 05:59 AM
Fixing the 'blank' screen problem cannontrodder BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 July 10th, 2007 04:05 PM
Urgent...need help fixing this error! riki_gill ASP.NET 1.x and 2.0 Application Design 0 October 27th, 2006 08:23 AM
HELP! FIXING MY QUERY dstein4d Access 2 January 21st, 2006 03:24 AM
Fixing header, and first column of table. rupen CSS Cascading Style Sheets 5 October 21st, 2005 08:33 AM





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