Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : 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
 
Old March 5th, 2013, 11:09 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Increasing the size of your header

I want to increase the size of the header and the container so that maybe I could add different stuff to it, if I change the values in the CSS file, such as

header
{
/*
Gives the header the same width as the PageWrapper. The height creates some room for the logo
that is set with the background-image.
*/
background-image: url(Images/Header.jpg);
width: 844px;
height: 86px;
}

header a
{
/*
The header a is a link nested in header. It provides a link back to the homepage.
The size of the link is the same as the header, so the entire header is clickable.
*/
width: 844px;
height: 86px;
display: block;
}
How would I make the header able to display a different image that is bigger than the image that you are using in your application? Because when I change the height property in the above rule nothing happens. Also how do I change the size of the container for the app as well?
 
Old March 6th, 2013, 10:11 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Changing the height of the header and the a element should do the trick.

Which container are you referring 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
Font size of Header Text in DetailsView Control AspNetGuy ASP.NET 3.5 Basics 3 May 22nd, 2008 04:23 PM
Increasing the imageable size when printing nilsnorden BOOK: Beginning Java 2, JDK 5 Edition 0 February 23rd, 2007 11:19 AM
Increasing a price if sqf is over standard limit mjuliao Access 1 September 14th, 2005 11:25 PM
prob.. in the increasing of sring values.. abhit_kumar JSP Basics 0 January 7th, 2005 04:49 AM
Excel VB workbook increasing in size bdancis Excel VBA 1 December 7th, 2004 04:23 PM





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