Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
Old February 16th, 2010, 09:46 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
Old February 18th, 2010, 02:12 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:13 AM.


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