Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #1 (permalink)  
Old July 23rd, 2006, 10:38 PM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
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


Reply With Quote
  #2 (permalink)  
Old July 24th, 2006, 01:20 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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
Reply With Quote
  #3 (permalink)  
Old July 24th, 2006, 08:57 AM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
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


Reply With Quote
  #4 (permalink)  
Old July 25th, 2006, 07:51 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



All times are GMT -4. The time now is 03:22 AM.


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