Copied and pasted a div tag but cannot rename it on style sheet. any  ideas?

Hello,
I am new to Dreamweaver so after paying someone to basically build be a template, I tried to midify it a little by copying and pasing a div tag to a lower section of my page.
Probe is, its entitled "content-box-top" ... If I make adjust the width or height etc it also changes it to div tage at the top of my page in which I duplicated from.
That all makes sense. So I tried to rename my dupoicate div tag "content-box-bottom". But it doenst appear in the style sheet so I can't make my modifications.
What am I doing wrong and how could this be accomplished? Thanks to all who can help.
JIMM

First off, <div id="names"> need to be unique on a page (used only once)... so a <div> id name cannot be reused on the same page..
Second, just because you rename a <div> does not automatically add/change anything in your CSS.
If you want 2 <div>s to be identical, then assign them each the same class="wearethesame"... or whatever class you want to create.
http://www.w3schools.com/css/css_id_class.asp
or in your CSS file, just copy/paste the CSS for the first #div and rename the pasted version to the same name as the second <div>. This will work just fine.. but it's not an automatic function.
Best wishes,
Adninjastrator

Similar Messages

  • My macbook won't let me copy and paste things like weblinks or even sentences on MS word. Any idea why?

    My Macbook pro just won't let me copy and paste or cut and paste anything. I have tried weblinks, MS word/powerpoint. It doesn't let me do it on any program at all.
    I have tried the cmd + c, cmd + v keys as well as copying and pasting from the edit option in bar at the top of the screen.
    Can some one help me please.
    Thanks.

    Reset PRAM.  http://support.apple.com/kb/PH4405
    Reset SMC.     http://support.apple.com/kb/HT3964

  • How to copy and paste the graphics from illustrator to MS word. What I tried is exporting in png with highest resolution and then inserting in to word. This loses a bit of resolution in comparison to direct copy and paste as EMF.  But if I do a copy and p

    How to copy and paste the graphics from illustrator to MS word. What I tried is exporting in png with highest resolution and then inserting in to word. This loses a bit of resolution in comparison to direct copy and paste as EMF.  But if I do a copy and paste, and then take a print of the document, all the graphs and text is printed upside down, flipped back.

    Use the Pencil Tool
    alex
    adrian stock wrote:
    > How to copy and paste a single pixel
    >
    > I want to copy a single pixel and then paste it in the
    position of
    > another pixel in the same image.
    >
    > (This is in effect changing the colour of the target
    pixel, isn't it.
    > But in my case copying an existing pixel seems simpler
    than selecting a
    > colour from the swatch or using the colour picker.)
    >
    > What is the most efficient way of doing this?
    >
    > I tried to select one pixel with the marquee tool. Then
    copied it with
    > control-C, but then how do I select the target pixel and
    paste with
    > control-V?
    >
    > Thanks for your help.
    >
    > Adrian
    >

  • I cant copy and paste images with firefox but i can with MS explorer why and how is this?

    i cant copy and paste images with firefox but i can with MS explorer why and how is this? i can only copy text but not images is ther a way i can copy images with firefox and how??

    I was having this issue with MS Live email. The old Microsoft shortcuts work. For copy press ctrl+c. For paste press ctrl+v. Here is a webpage that lists all Firefox shortcuts. http://www.mouserunner.com/FF_Shortcuts1Printable.html

  • I synced iTunes from my computer to a new iPad. All of my purchases appear and are listed as downloaded, but none of the will play. Any ideas?

    I synced iTunes from my computer to a new iPad. My purchased music appears as normal in the list and is designated as downloaded, but none of it will play.  Any ideas of what I can do?

    try resetting the device by holding down the home and sleep key, past the red power down slider and until you see the silver apple. Let it reboot and see if that helps.
    Also, try finding a free app, any free app, download it on your ipad then see if that gets your others to work.You can delete the free app if it works (or if it doesn't for that matter)

  • I have just recieved a brand new ipod touch 8GB, it wont turn on and it wont either charge or recognise connection through ITunes. I have tried the hold down home and the power button together but no luck. Its absolutely dead, any ideas please ????

    I have just received a brand new IPOD Touch ,it will not turn on, i have connected it to my cmputer, it does not show that its charging and is not recognised in Itunes. I have tried the holding down the power and home buttons which also didnt work. Any Ideas Please ????

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar    

  • Reset ipad1 to factory settings but cannot update to ios 5?  any ideas please

    Reset ipad 1 to factory settings and want to update to ios5 but doesn't appear possible?  Can anyone help please?

    If your iPad is currently on iOS 4 then you can only update by connecting it to your computer's iTunes ; if it's on iOS 5+ then you can either update to 5.1.1 via your computer's iTunes or directly on it via Settings > General > Software Update (that option only shows on iOS 5+)
    Updating iOS : Update the iOS software on your iPhone, iPad, and iPod touch - Apple Support

  • Copy-and-paste has gone AWOL!

    I suddenly cannot copy-and-paste text from one application to another (from Appleworks Word Processor to a new empty AOL email, for ex.) using either mouse or keyboard. I also cannot drag any icons on the desktop. I could do all of these a few days ago. But I can copy-and-paste text from one Appleworks WP file to another. Appreciate any ideas.
    Bob at:
    [email protected]

    I received an email suggesting a solution, which did solve my problem. Here's what I did:
    1. I trashed two files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    2. To be sure I had the correct files, I used "FIND" from the FILE menu and searched for each file name.
    3. Since I could not DRAG files, I selected "MOVE TO TRASH" from the FILE menu.
    4. I emptied the TRASH and re-started the computer.
    All is now OK. I can once again COPY-AND-PASTE between applications, and DRAG icons and files on the desktop.
    Thanks for the help!!
    Bob

  • Cannot copy and paste from webmail in Firefox but can in Safari! Why?

    Last months (? after upgrade) I cannot copy and paste from my webmails but can with Safari. Any help with this? Infuriating.

    Select view source and copy/paste from there.
    PZ

  • Copy and paste web page

    Hi,this is my first post. When using Internet Explorer on the PC I can copy and paste anything I highlight but in Safari on my Mac it only copies the text so when i paste into Word I only get the text. Is there a way of setting Safari up so that it copies the images as well.
    Thanks David

    You cannot make any changes to how Safari handles copy/paste behavior. But perhaps you can make use of screenshots or printing an entire web page to PDF.
    If you wanted to send somebody a small portion of a screen with images, text, etc., you could hit Command-Shift-4 then use the mouse to select an area of the screen that you want to capture. After you've done this, you'll see "Picture 1" on your Desktop which you can easily email to somebody else (just drag "Picture 1" from the Desktop onto the Mail icon in your Dock).
    If you want to capture the entire web page to send to somebody, try Command-P to bring up the print dialog, then in the lower-left you'll see options for PDF - choose "Save as PDF". Once again, you'll be able to send the result file by email.
    I use both of these techniques on a regular basis. One of the things that's especially nice about them is their ability to capture what you see exactly. Unlike Internet Explorer copy/paste, which might not look the same once you put it into an email, or the receiver's email client might not display the message as you saw it. None of this happens when you send a fixed image - what you see is what the receiver will see.
    Kaan

  • Copy and Paste Images from Photoshop

    I can INSERT psd, jpg, (any) image files into Dreamweaver. I
    can COPY text from Word or Internet. I can COPY images off of
    Internet...
    ...but I can NOT copy from Photoshop (jpg or psd) into
    Dreamweaver. Simply does not copy. Paste is not an option. Grayed
    out. Hmmm. Any ideas?

    @Michael Fesser
    I expect that upon entering Ctrl+V or Paste at an insertion
    point in Dreamweaver, to be greeted with the "Optimize for Web
    & Devices" dialogue box, after which I input the appropriate
    settings (a jpg, gif, or png file is created), the image would
    appear in the document just as though I inserted it via myriad
    other conventional methods.
    I'm taking the Lynda tutorial (Dreamweaver CS4 Essentials)
    and following along EXACTLY, and am unable to recreate the copy and
    paste from Photoshop.
    Also, see this Adobe Dreamweaver Help & Support Tutorial
    http://www.adobe.com/designcenter/dreamweaver/articles/lrvid4043_dw.html
    Go down about halfway to: Cutting and Pasting from Photoshop
    into Dreamweaver
    I cannot recreate what is shown here either.
    @toastieo
    Yes, the Save For Web is how I've done things all along. Now
    I'm taunted with the prospect of doing a quick edit and insert with
    copy & paste, and it doesn't work for me! I guess I can live
    without it, but I would have rather been blissful in my ignorance
    of the possibility!
    Zyg

  • How do I copy and paste an image form the internet to Keynote. I have done this successfully in the past by selecting copy and then paste by using the right click function and now am unable to do so. I am thinking it is an outdate OS problem...not sure.

    How do I copy and paste an image from the internet to Keynote. I have done so successfully in the paste by using the copy and paste right click functions but am unable to do so now. That was about a year ago that I attempted that I was able to do this. Thank you for your help.

    Some images are copy-protected.
    If all else fails, you can make a screen shot of the image: 
    With the image visible in your browser, press CMD-Shift-4 and your cursor will change to crosshairs.
    Position the cross hairs at one of the corners of what you want to copy and drag to the opposite corner, then release the mouse. An copy of the image will be saved to your desktop.
    You can now edit and use this image.
    Be sure to respect copyrights.
    Message was edited by: bwfromspring hill

  • How to cut, copy and paste a tree node in JTree?????

    Hi, Java GUI guru. Thank you for your help in advance.
    I am working on a File Explorer project with JTree. There are cut, copy and paste item menus in my menu bar. I need three EventAction methods or classes to implements the three tasks. I tried to use Clipboard to copy and paste tree node. But I can not copy any tree node from my tree.
    Are there any body has sample source code about cut, copy, and paste for tree? If possible, would you mind send me your sample source code to [email protected]
    I would appreciate you very very much for your help!!!!
    X.G.

    Hi, Paul Clapham:
    Thank you for your quick answer.
    I store the node in a DefaultMutableTreeNode variable, and assign it to another DefaultMutableTreeNode variable. I set up two classes (CopyNode and PasteNode). Here they are as follows:
    //CopyNode class
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    public class CopyNode implements ActionListener{
    private TreeList jtree;
    String treeNodeName;
    TreePath currentSelection;
    DefaultMutableTreeNode currentNode;
    public CopyNode(TreeList t){
    jtree = t;
    public void actionPerformed(ActionEvent e){
    currentSelection = jtree.tree.getSelectionPath();
    if(currentSelection != null){
    currentNode = (DefaultMutableTreeNode)(currentSelection.getLastPathComponent());
    treeNodeName = currentNode.toString();
    //PasteNode class
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    public class PasteNode extends DefaultMutableTreeNode{
    private TreeList jtree;
    CopyNode copyNode;
    public PasteNode(TreeList t){
    jtree = t;
    copyNode = new CopyNode(t);
    public DefaultMutableTreeNode addObject(Object child){
    DefaultMutableTreeNode parentNode = null;
    TreePath parentPath = jtree.tree.getSelectionPath();
    if(parentPath == null){
    parentNode = jtree.root;
    else{
    parentNode = (DefaultMutableTreeNode)parentPath.getLastPathComponent();
    return addObject(parentNode, child, true);
    public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent, Object child, boolean shouldBeVisible){
    DefaultMutableTreeNode childNode = copyNode.currentNode;
    if(parent == null){
    parent = jtree.root;
    jtree.treemodel.insertNodeInto(childNode, parent, parent.getChildCount());
    if(shouldBeVisible){
    jtree.tree.scrollPathToVisible(new TreePath(childNode.getPath()));
    return childNode;
    I used these two classes objects in "actionPerformed(ActionEvent e)" methods in my tree:
    //invoke copyNode
    copyItem = new JMenuItem("Copy");
    copyItem.addActionListener(copyNode);
    //invoke pasteNode
    pasteItem = new JMenuItem("Paste");
    pasteItem.addActionListener(
    new ActionListener(){
    public void actionPerformed(ActionEvent e){
    pasteName.addObject(copyName.treeNodeName);
    When I run the drive code, making a copy some node from my tree list, I got bunch of error messages.
    Can you figour out what is wrong in my two classes? If you have sample code, would you mind mail me for reference.
    Thank you very much in advance.
    X.G.

  • Unable to copy and paste a phote from my photo library to another photo album

    iphoto 6.0.6 unable to copy and paste a photo from my main library album to another photo album.  why does the copy and paste function not work for these albums.  I have tried to drag it and drop it into the album, but nothing works.  it this a bug?  When I created the album several years ago, I was able to copy and paste photos into it, but now when I try to copy and paste nothing happens.  Again I ask, is this a bug?

    Try also posting here:
    iPhoto for Mac

  • Copy and Paste from TextEdit to Word

    I have been told that I can simplify images in Word easily by copying into TextEdit, and then back into Word. I can copy and paste into TextEdit easily, but am unable to select, copy, and paste a graphic from TextEdit into Word. Is there some key I"m not pressing? Or some other trick?

    Hi
    I have got a similar problem.
    I use Firefox 3 (latest) and I can not copy text and images from a webpage to MS Office 08. I get only plain text. I tried all combination of Browser and office Suites. Always the same problem. I get plain text. Only one combination works fine. Safari and Apple iWorks. But I bought MS Office, because I need the compatibility to Windows. What a kind of problem is that with the clipboard?
    Please Apple, me and many other people need a solution for that problem. Are the Devs of the other browser and office suits so stupid?

Maybe you are looking for

  • How can I see how many songs in my playlists?

    Is there a way to see the total number of songs in my playlists?

  • AdvancedDatagrid but simple sorting?

    Hi, I sue the AdvancedDatagrid because of the nice grouping function for columns. I would like to enable sorting but don't like the new way of sorting multiple columns. 1. Is there a way to enable sorting by just 1 column like in the normal datagrid?

  • Run-as role not active for filters

    Hi, I have a servlet which has a security role assigned. Accessing a secured datasource from inside the servlet works fine. Additionally I have a filter configured for that servlet where I also need to access the secured datasource. <filter> <filter-

  • Sort sequence

    Hello, I have an internal table and am trying to sort the table by three fields. The internal table contains some 400 records and all the three fields that are used in the sort have same values for all the 400 records. I am expecting that the interna

  • Is possible block a download url?

    If we generated a url string, i. e.: http://www.mydomain.com:8080//fulfillment/URLLink.acsm?action=enterorder&ordersource=ABC&o rderid=12345&resid=urn%3Auuid%3A12345678-1234-1234-1234-123456789012&dateval=1803879543&gb lver=4&auth=xxxxxxxxxxxxxxxxxxx