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

You are currently viewing the ASP.NET 2.0 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 July 23rd, 2006, 10:38 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unwanted z-index in html markup using VWD

Anyone?

Seems like such a simple thing. I'm using VWD Express and find that the z-index option in all asp.control's style attribute is un-necessary. I edit it out (60 + pages) and after a short period of testing and development the z-index is back in every one of them!!! Very annoying. Anyone find a way to prevent the z-index from being generated in the first place, or a way to keep it from reappearing after being removed?

Thanks.

VV


 
Old July 24th, 2006, 01:20 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I have never seen the behavior you describe....

Are you using Absolute Positioning? Did you configure VWD to do this through Tools | Options | HTML Designer | CSS Positioning?

If so, that may be the cause of it....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old July 24th, 2006, 08:57 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar:

Yes to both questions.

I tried the other css options but found the absolute one the best option.

Including the z-option parameter is pretty much ignored in the help files. (I'm using the VB and VWD filters.) I would switch to something other than absolute positioning but I'm still heavily laying out the UI and being able to simply drag controls around is very nice -- wouldn't want to give that up. And I'm not using tables for the placement of controls.

I can live with the z-option in there. What's disconcerting is that after manually removing it, it reappears. It'd be nice if there was an option to include/exclude the z-option when one chooses absolute positioning.

Thanks for your help.

VV


 
Old July 25th, 2006, 07:51 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Right, that explains it. Personally, I never use absolute positioning in VWD. It was a nightmare in 2003 so I never used it much in 2005. I also don't need it for the sites we design here.

I guess 2005 is either trying to be helpful, or needs the Z-index to be able to normally present the design view of the page...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
drag-and-drop from toolbox to Markup View Rex777 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 5 September 22nd, 2008 01:54 PM
Moving markup to different position Pankaj C XSLT 4 February 18th, 2008 06:00 AM
Markup Text to XML ROCXY XSLT 4 October 18th, 2007 05:04 AM
any markup language to XML bcogney XSLT 10 April 16th, 2007 08:39 AM
how to disable toobars for index.html ? Michael8 Javascript How-To 0 November 24th, 2006 01:27 PM





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