Can't delete old layers

I've been using Dreamweaver for years now, usually just
simple stuff. But I've just started using CSS in my latest site and
I've noticed that EVERY layer I've ever drawn on a page is retained
as a 'style' in the code. It doesn't matter whether I delete, save,
reboot, try a different site, start the page from fresh without
attaching a CSS sheet - they ALL stay in the page code.
I've even gone back to an old site I did and drew a layer,
then deleted it, and it stayed in the code as well ! I'm sure this
never used to happen as I doodle around a bit on pages when
developing, and have never struck this before.
I suspect I've switched on some odd 'mode' or something, but
can't find any info on this problem.
Here's an example page with four (deleted) layers (1,2,3,4)
still showing in the page source. I know I can go into the code and
delete them manually, but this will be much harder once the pages
build up, and surely this shouldn't be happening anyway ?
Any suggestions at all please ?

The High Frontier wrote:
> I just tried it on another machine and got the same
effect, so maybe it's just
> the first time I've noticed. Funny really.
Judging from your code, you're using Dreamweaver 8, which
creates the
style rules for a "layer" in style block in the head of the
page.
Previous versions of Dreamweaver embedded the styles in the
opening
<div> tag. Consequently, if you deleted a "layer" in an
older version of
Dreamweaver, both the <div> and the accompanying styles
were deleted. In
Dreamweaver 8, deleting the <div> does not get rid of
the styles. To do
so, you need to go into Code view. Alternatively, open the
CSS Styles
panel, click the All button, highlight the associated style
rule, and
press Delete.
In Dreamweaver CS3, there is no such thing as a "layer". What
you call a
"layer" is now called an AP (absolutely positioned) Div. The
Layers
panel has been replaced by the AP Elements panel. Basically,
they work
the same way as Dreamweaver 8, but the change isn't simply
cosmetic. The
AP Elements panel now displays *all* absolutely positioned
elements, not
just those that use the <div> tag. So, for example, you
can have an
absolutely positioned unordered list, and it's displayed in
the AP
Elements panel.
> But what's wrong with layers ? Always worked fine for
me.
There is nothing inherently wrong with "layers" - or
absolutely
positioned elements. What frequently goes wrong is when
developers fail
to understand what they are and how they work. An AP element
is
absolutely positioned. If the style rules say top:25px;
left:100px,
that's where the element will be positioned - 25px from the
top of the
page, and 100px from the left. It never moves, even if the
browser
viewport changes in size. The other feature of an AP element
is that
it's removed from the normal flow of the page. That's why a
paragraph
that comes after an AP element in the code usually floats up
to the top
of the page. Excessive use of AP elements can also result in
the
underlying code being in a totally illogical order; it may
look fine in
a browser, but comes out as gibberish in a screen reader for
the blind,
or in a text browser.
If you understand the implications and limitations of AP
elements,
there's usually no problem. However, a deeper understanding
of CSS
frequently helps you find more appropriate solutions, keeping
AP
elements for special cases where they achieve an effect that
can't
easily be done with non-positioned styles. I used "layers"
extensively
for a couple of years. Now, I rarely touch them.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • HT4847 I can not delete old icloud back up from my old phone, keep receiving an error message "this back up can not be deleted because it's in use" it is not in use that phone is long gone!

    I can not delete old icloud back up from my old phone, keep receiving an error message "this back up can not be deleted because it's in use" it is not in use that phone is long gone!

    I have the same problem here and it wont let me do another back up or delete the old one.... Please help!!!! Anyone

  • How can I delete old data in citadel

    How can I delete old data from Citadel so that HDD is not full when data is continously being logged in the database ?

    Hi there,
    I could see different possible ways to limit the database size on a LabVIEW DSC system.
    a) You could limit the lifespan of your logged data to a certain time by adjusting the option 'Days to keep historical data' in the Tag Configuration Editor>Configure>Historical... tab.
    b) You could use the Citadel Database VIs. Archive Database.vi would allow you to archive a database or a part (certain traces/tags, or certain time interval) to another location. With the archive option 'destructive', it would delete the source of the data from the original database.
    Delete Traces.vi would delete a traces from a database.
    c) The same/similar functionality you can have throught the Measurement and Automation Explorer and its Historical Data Viewer plug-in
    b) and c) are NEW features of LabVIEW DSC 6.1!
    Hope this helps
    Roland
    PS: There is a nice link about archiving Citadel on ni.com :
    http://zone.ni.com/devzone/conceptd.nsf/webmain/2F24997EAD7C53A686256B6E00686D64?opendocument&node=DZ52101_US

  • How can i delete old email addresses that are no longer in service?

    How can I delete old email addresses that are no longer in  use from my apple computer

    Yes, just open mail and click on the window menu and select previous recipients, when the window opens start edit your email addresses.

  • HT203180 How can I delete old rental movies that are still on my iPad, but no longer viewable?

    How can I delete old rental movies that are still on my iPad, but are no longer viewable because the rental has expired?

    I have a similar problem.  The default answer on the web is to open Videos on your iPad, then touch and hold the movie you wish to delete, then tap the little cross that appears. Alternatively, you can connect to iTunes, select your device in the list, scroll down to the Rentals summary and delete from there.
    I have a problem with both of these solutions!  The Video App on my iPad does not contain any video icons, just an option to browse my shared library, so I can't delete it from there... ANd in iTunes, the movie in the Rntals tab on my device summary is greyed out, so I can't do anything from there either.  But the movie is taking up 2.5 Gb....
    Can someone please offer an alternative to resetting the device entirely?!

  • When i try to delete my messages it turns my imessage off so i have to restart my phone to get it to work again, by then all my messages have come back which i deleted... how can i delete old messages i dont need anymore withou imessage going off?

    when i try to delete my messages it turns my imessage off so i have to restart my phone to get it to work again, by then all my messages have come back which i deleted... how can i delete old messages i dont need anymore withou imessage going off?

    To get rid of "pop-up ads and other crap on my computer when I am on the internet", click on Safari in the Menu bar, and select Preferences. Next select Extensions. Delete all of them. Restart Safari.
    The first step in addressing the black screen is an SMC reset.
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    Excerpt from
    http://support.apple.com/kb/ht39

  • How can I delete old movies that I already purchased, which are saved in my account? Actually I don't want them to be viewed by others who use same account, so is there any solution to delete them? Please advise. Thank you

    How can I delete old movies that I already purchased, which are saved in my account? Actually I don’t want them to be viewed by others who use same account, so is there any solution to delete them? Please advise.

    Delete Purchases = No.
    But there is this...Hiding and unhiding purchases
    iTunes Store  >   http://support.apple.com/kb/HT4919

  • Can I delete old downloads of FireFox to economise on memory ?

    I have limited memory. Can I delete old downloads?

    Hi PGWilli,
    If you are satisfied with 8.0 then you shouldn't need 4.01 at all. As long as all your bookmarks and personal information are in the newer version, go ahead and remove the older version.

  • Can I delete old backups from other devices if my new iphone 6 has a current backup with everything on my new phone?

    Can I delete old backups from other devices if my new iphone 6 has a current backup with everything on my new phone?

    Hi there dyarrell,
    You can do this if you are confident that your current device has all of the data on it that you want to keep. The method for deleting the backup will be differnt depending on the backup method. Take a look at the articles below for more information. 
    Create and delete iPhone, iPad, and iPod touch backups in iTunes
    iCloud: Remove an iOS device backup from iCloud
    -Griff W. 

  • Can't delete old pictures

    Is anyone have the same problem: I used iPhoto since a while.
    I upgrade to iPhoto 09 last month.
    Today, I am organizing my pics and I am unable to delete pictures !
    I can delete fresh pictures (I mean picture I just uploade from my camera)
    I can't delete old picture from 2-3 month...?
    I delete and the spinning icon (for waiting) kepps on turning and the iPhoto freeze...
    This problem occurs when I try to delete one our a group of picture.
    I changed nothing in the parameters.
    I haven't lock any file.

    I am having the same problem, having recently switched from 08 to 09. I can't delete photos as the machine hangs up and shows me the dreaded beach ball and (not responding) message - I have tried different ways to delete and different numbers of photos, hoping one my be the source of my problem. I have rebuilt my libraries - all things that I see being recommended on this site.
    It has hung up on me numerous times while trying to perform other tasks as well, such as batch changes or changes to dates and times, cut and pasting between events and related type tasks. Apple is getting a ton of messages from Force Quit. Any other suggestions? The only thing I haven't done is try to re-install. Getting pretty frustrating.

  • HT4847 How can I delete old backups on my iCloud so that I can just backup my latest things?

    How can i delete old backups on my iCloud so that I can jsut backup what is on my device now, and not from a year ago

    Welcome to the Apple Support Communities
    All backups made on iCloud overwrite the old one, so you have only the latest backup with your most recent files. If you have a backup of an old device, open Settings > iCloud > Storage and Backup > Manage Storage, select the backup and delete that backup

  • In apple maps, i can't delete old and wrong addresses

    On iPhone 6, in apple maps, i can't delete old and wrong addresses. How can I get it to delete addresses?

    When you open Maps touch the search bar and on the resulting screen you'll see Favorites. Touch Favorites and in that resulting screen you'll see a Clear button at the top. Then click Done to return to the map.

  • How can we delete old BPM instances

    Hi,
    I have created BPM later I have found some mistake and deletd existed BPM and I created new BPM. But still it is pointing old BPM istance at run time. But i have chacked in SXI_CHACHE transaction there the BPM is updated properly. How can i deleted old instances of BPM?
    Thanks in advance.
    Regards,
    Sudhakar.

    Yes,
    Robin is right. U forgot to implement an exception step, for example for an tranformation and the process can't stop itself. The result is very funny: U can do what u want, nothing will change ur fault until u become black or kill the workitem in TA SWWL.
    Robin has much more knowledge about BPM than about Java Proxies and is very helpful bcoz he is a bit lonly now
    Regards,
    Udo

  • HT204053 How can I delete old apple  IDs

    How can I delet old apple I'd so I only have one because it causes problems when downloading apps

    The content (music, videos, apps, games, etc) that is aquired with an Apple ID is forever tied to that ID. Apple does not transfer the content of one Apple ID to another ID and Apple does not merge Apple IDs. Unless you wish to abandon all of the content associated with an Apple ID and buy it again with another Apple ID, you should maintain the ID in order to redownload or update the content in the future.
    It is not a good idea to make numerious Apple IDs for this very reason.

  • How can I delete old itunes account out of phone

    An old defunct email address keeps showing up on to download apps, even though it has all be updated on iTunes.  How can I delete the old email ID out of my phone?

    Hello jckinkopf,
    This can be done by removing the apps that request the old Apple ID from the device, then redownloading the apps that have been removed, after verifying that the correct Apple ID is signed in on your device.
    How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
    http://support.apple.com/kb/HT5772
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311
    Cheers,
    Allen

Maybe you are looking for

  • Mail crashes while downloading mail or trying to view mail

    I am having a bit of a problem. My Mail program crashes every time I try to download mail or view a email. Here is the crash report: Process: Mail [6342] Path: /Applications/Mail.app/Contents/MacOS/Mail Identifier: com.apple.mail Version: 3.5 (929.4)

  • Yellow warning Icon

    I shot 8000 photos during a visit to New Zealand and have been rating them over the last few weeks. When I launch Aperture after a session of rating and delating photos with a yellow triangle and little pointer over them are in the viewer. When I try

  • Can I use the unlocked 3GS without a SIM card?

    I am one of the few (I guess) who refuse to pay for a data plan, but still want a capable iOS device that fits in my pocket. With no updates and aging specs, the iPod touch is not the option I hoped it would be. So, what I'm wondering, is if I buy th

  • What is the URL that Adobe Acrobat needs to contact for Activation after you enter the serial number

    What is the URL that Adobe Acrobat needs to contact for Activation after you enter the serial number? We need to allow internet access to our users for it.

  • Japanese unicdoe properties file

    I have a japanese resource bundle file in SJIS encoding (*.properties) I used native2ascii from JDK and convert SJIS to unicode. Then read japanese ( in unicode properties file ) from servlet and send to IE browser. but IE will display all "?" s On t