Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 April 14th, 2011, 09:29 AM
Authorized User
 
Join Date: Jul 2009
Posts: 61
Thanks: 15
Thanked 1 Time in 1 Post
Default

Hi again,
adding the margin:auto didn't work, but I started playing around with margins, padding etc and finally got the desired result with:

Code:
.StaticMenuItemStyle, .StaticMenuItemStyle:visited
{
  border: medium solid #ffffff;
  padding-top: 2px;
  padding-bottom: 2px;
  font-family: Verdana;
  color: #c1272d;
  text-align: center;
  vertical-align: middle;
  height: 100px;
  width: 110px;
  background-color: #FF00FF;  
  white-space:pre-line;
}
Also, chapter 7 solved my images and page addressing issue --- I hadn't set the Virtualpath for the site to "/"

-- thanks again!
__________________
Geoff Baldwin





Similar Threads
Thread Thread Starter Forum Replies Last Post
Menu problem barakros BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 February 18th, 2010 04:41 PM
Problem with Menu Item nelly78 BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 0 January 29th, 2010 01:14 PM
problem with my menu in ie6 johnficca CSS Cascading Style Sheets 1 May 6th, 2007 07:41 PM
CSS Menu problem twc02 CSS Cascading Style Sheets 24 March 11th, 2005 11:01 AM
menu positioning problem isheikh HTML Code Clinic 27 June 5th, 2004 10:52 AM





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