Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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
  #1 (permalink)  
Old April 8th, 2010, 06:45 PM
Friend of Wrox
 
Join Date: Mar 2010
Posts: 99
Thanks: 21
Thanked 6 Times in 4 Posts
Default Huge space between Header and Menu

Hello,

Sorry for posting a new thread for this small issue ive encountered but in the page 223. You show an exemple of the DarkGrey theme. (Ive still posted it as a new thread since there might some poeple wonder too)

But in your image showed in the book there an huge space between "Header Goes here" and "Menu Goes here".. just wondered what make this happen ? cause on my own browser there no such space.

Thanks.
  #2 (permalink)  
Old April 9th, 2010, 12:53 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Rushino,

The height of the header is determined by this CSS selector:

Code:
 
#Header a
{
  /*
  The #Header a is nested in the #Header. It provides a link to the homepage,
  and sets the header image background.
  */
  background-image: url(Images/Header.jpg);
  background-repeat: no-repeat;
  width: 944px;
  height: 138px;
  display: block; 
}
You find this code in DarkGrey.css that you added in step 9 on page 222. For the header to get its size, you need an <a /> element in the #Header div. You added this anchor element earlier. The code example of step 6 on page 204 shows you how it should look like.

Hope this helps,

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!
The Following User Says Thank You to Imar For This Useful Post:
Rushino (April 9th, 2010)
  #3 (permalink)  
Old April 9th, 2010, 04:11 PM
Friend of Wrox
 
Join Date: Mar 2010
Posts: 99
Thanks: 21
Thanked 6 Times in 4 Posts
Default

Alright thanks. I found the error... actually i didn't have the <a> html tag. I forgot the write it at the beginning of the chapter cause ive copied / past code from some other source i don't remember, i think it was the masterpage.


Similar Threads
Thread Thread Starter Forum Replies Last Post
HUGE TIMESAVER - CH. 2 SESSIONS - tks001 Beginning PHP 0 February 19th, 2006 01:25 PM
HUGE Log Files - Help?!? MAtkins SQL Server 2000 4 August 30th, 2005 03:13 PM
Loading huge text files zoostar Java GUI 0 June 13th, 2005 04:08 PM
Huge problem with access 2003 andy45 Access 10 May 24th, 2005 10:08 AM
Help with reading huge XML file hitesh_kapadia ASP.NET 1.x and 2.0 Application Design 0 August 6th, 2004 02:54 PM





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