Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 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 Display Modes
  #1 (permalink)  
Old April 8th, 2010, 06:45 PM
Friend of Wrox
 
Join Date: Mar 2010
Posts: 100
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.
Reply With Quote
  #2 (permalink)  
Old April 9th, 2010, 12:53 PM
Imar's Avatar
Wrox Author
Points: 71,804, Level: 100
Points: 71,804, Level: 100 Points: 71,804, Level: 100 Points: 71,804, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,052
Thanks: 80
Thanked 1,581 Times in 1,558 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!
Reply With Quote
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: 100
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.
Reply With Quote
Reply


Thread Tools
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
HUGE TIMESAVER - CH. 2 SESSIONS - tks001 Beginning PHP 0 February 19th, 2006 12: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



All times are GMT -4. The time now is 06:36 PM.


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