Cannot get the DIV tag to render.  Need help...

Hello world.

I use 4 DW and I really hope that I can only make my question clear enouogh to get a resolution.  I work in my main content area, which I tagged as < Div ID = "main content > in my source code."  I am eager to reduce the width of this particular DIV, but when I go in the CSS Styles Panel and go to the width, nothing happens.

I have a CSS rule incorporated in my source code for the body which reads:

{body

height: 1024px;

Width: 1280px;

Auto margin: 0

}

The style that I'm trying to my main content area is:

{happy #main

Width: 600px

}

Basically, I want to make it a little smaller so I can apply vertical menu on the right side.  As I said, when I try to apply it, nothing happens.

Help is definitely appreciated.  Thank you!

Space in your css code is causeing the problem...

#main content

Could define an element called html 'content' in an element with id = hand.

Unless you had something like

your content here

In your html code, it cannot display anything. is not an html tag, so this won't work.

If you changed it to

#main.content

Your html code would look like...

your content here

And your width should show correctly now.

Tags: Dreamweaver

Similar Questions

  • I have a problem, try to uninstall the ask toolbar. get the error message: cannot access the VB script... need help please

    I have a problem, try to uninstall the ask toolbar. get the error message: unable to access the VB script... need help

    Hello

    How do you try to uninstall the toolbar?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Try the steps in the following Microsoft article and check if it helps.

    How to fix script errors in Internet Explorer on Windows computers:

    http://support.Microsoft.com/kb/308260

    Correction of errors in Internet Explorer: http://support.microsoft.com/kb/822521

    Method 2:

    Try to uninstall the toolbar, programs and features and check if it helps.

    Uninstall or change a program:

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Hope the information is useful.

  • I can't get the cfupdate tag to work.  Help, please.

    Hello, I am trying to get a file action to work so that my form can be updated.

    Update SQL works but cfupdate won't. WHY? I can't understand it, and I feel I have tried EVERYTHING. ANY SUGGESTIONS out there? My database is MICROsoft access.

    more details-

    It works:

    < cfquery datasource = "crcsignup" >
    UPDATE signuppractice
    SET Field1 ='#FORM. Field1 #'
    WHERE ID = #FORM.ID #.
    < / cfquery >

    If I replace with the cfupdate, it does not work:

    < cfupdate datasource = "crcsignup" tablename = "signuppractice" >

    and the error message is:

    The website cannot display the page
    HTTP 500
    The most likely causes:
    The site is in maintenance.
    The site has a programming error.

    What you can try:
    Refresh the page.

    Return to the previous page.

    More information

    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem that prevented the display of the Web page.

    For more information about HTTP errors, see Help.

    If you do not need this column for something else, get rid of it. On your form page, do not give your button names.

  • Hi I have a new monitor but when I turn it on it turns on but then disappears and the middle of it, he says display something cannot get the video mode so u can help me change

    Hello

    My name is Karen, I just got a new monitor used, but when you turn it on, it turns on, but then you can't see something that he disappeared and in the middle of the screen it says u can not display this video mode, your help would be great thanks.

    Hi Karen,.

    Welcome to the Microsoft community. According to the description, you are not able to get the display on the monitor.

    ·         What is the full error message?

    I'll help you with this problem. I suggest you follow the steps in the article.

    Troubleshoot monitor and video card

    I hope this helps. Let us know if you need help with Windows related issues. We will be happy to help you.

  • I need to re-download my cs6 after my book mac crashed and I can't find my package to get the serial number. I need help, I'm just in the middle of editing a photoshoot... ugh!

    I need to re-download my cs6 after my book mac crashed and I can't find my package to get the serial number. Need help please, I'm in the middle of editing a photoshoot... ugh.

    You can download it here: download Creative Suite 6 applications

    If you registered with Adobe, the serial number is the Adobe ID and the password that will be used.

    Otherwise, it will work as a giving fully functional 30-day trial you time to find the package.

    Gene

  • Cannot install the winodws updates! Really need help! ___Error code: "WindowsUpdate_80242014" "WindowsUpdate_dt000" _

    Hello! I'm not very good in English but I'll give a try!

    Yesterday when I tried to install som updates failed.

    They have the status 'pending' instead of 'done '.

    Windows Update can't find them if I find them again.

    I tried to install this update manually, and they said "this update is already installed"

    Error code: "WindowsUpdate_80242014" "WindowsUpdate_dt000"

    Please help me!

    I got a blue screen yesterday, maybe because this wherent updates installed correctly?

    Hi Molphyr,

    Let us know the edition of Windows that is installed on your computer and the error message you received on the blue screen.

    Meanwhile, try to reset the windows component update and check if it works.
    For more information about resetting the windows components Update, click here

    I hope that helps!

    Kind regards
    Abdelouahab

    Microsoft Answers Support Engineer

  • I have lost the icon creative cloud, CC Desktop uninstaller, trashed adobe application manager, then reinstalled Adobe manager, I get the A12E5 error message.  Need help on how to solve this problem. Thank you

    I lost my creative cloud icon.  So I went to CC Desktop Uninstaller, uninstalled then trashed Adobe Application Manager.  I then reinstalled Adobe Manager.  Now, I get an error message (A12E5).  How can I fix? IM using Mac El Capitan 10.11.2

    Thanks, Deb

    I just uninstall all creative Cloud apps then reinstalled. Everything seems to work fine now.

    Thank you for everything that you have entered.

  • RH9: How can I get a CSS class or id defined style applies to Word or PDF output using the &lt; div &gt; tags?

    HR I wrote the following:

    This is the code-behind:

    The 'DivNote' CSS id is defined:

    However, when I generate the printed output, I get this:

    OutputImage_DivNote.jpg

    The style of the Note disappeared.

    I created a class = "Note"...:

    .. .and applied to the div tag with similar results, but with some of the style through:

    OutputImage_classNote.jpg

    The output HTML (.chm) seems, like the display of the preview (Ctrl + W).

    Your help is appreciated gracefully.

    Steve Roehrig

    In RoboHelp you map to a Word template or simply by selecting a CSS?

    I assume that you are by selecting a CSS and that the solution might be to map to a Word template, where you can map the. Note the style.

    Mapping to take word longer to set up the first time, but once done, you may be easier to get the desired results.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Hide the div tags in the media queries

    Hello

    I ran into a bit of a problem trying to get some div tags appear on some devices. I thought that if a div has been set to hidden then it does not appear. I pasted my code below.

    The theory behind my design is to have a different fixed background on the desktop image, Tablet and phone. So I inserted a transparent image on top to control how image is seen on each window.

    "What I try to achieve is when the site is displayed on a desktop ' #large-ipad" is hidden and the ' #-wide image' is seen. "" And then once the site reaches the correct display window i.e. an ipad ' #large-ipad ' becomes visible and the ' #-wide image "is hidden. Then a third image will swap when it is read on a mobile device, but I have not to this article yet.

    When it is viewed on a desktop computer I think it is still showing the image sheets before the roll content.

    This is just a test at the minute, so there is no content and background images are set on my computer. If you don't know what I'm after, please ask and I will try to rephrase my description.

    @media only screen and (min-width: 481px) {}

    {.gridContainer}

    Width: 100%;

    padding-left: 0%;

    padding-right: 0%;

    margin: auto;

    background-attachment: fixed;

    background-image: url(images/bg-ipad.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    -webkit-background-size: cover;

    -moz-background-size: cover;

    -o-background-size: cover;

    background-size: cover;

    }

    {#LayoutDiv1}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 20px;

    padding-bottom: 20px;

    }

    {# image - wide

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    visibility: hidden;

    }

    {#body - text

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 300px;

    padding-bottom: 300px;

    }

    {#large-ipad}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    }

    }

    / * Desktop layout: 769px for a max of 1920px.  Inherits the styles of: Mobile and tablet. */

    @media only screen and (min-width: 769px) {}

    {.gridContainer}

    Width: 100%;

    Max-width: 1920px;

    padding-left: 0%;

    padding-right: 0%;

    margin: auto;

    background-attachment: fixed;

    background-image: url(images/bg-image.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    -webkit-background-size: cover;

    -moz-background-size: cover;

    -o-background-size: cover;

    background-size: cover;

    }

    {#LayoutDiv1}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    height: 70px;

    z-index: 1000;

    background-color: #FFF;

    position: fixed;

    Top: 0px;

    }

    {# image - wide

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    position: static;

    z-index: 0;

    }

    {#body - text

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 300px;

    padding-bottom: 300px;

    }

    {#large-ipad}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    visibility: hidden;

    overflow: hidden;

    }

    }

    Any help would be massively appreciated I really want the effect I'm after.

    Kind regards

    Alex

    Hi all

    Think I have asked this question a little prematurely. I thought it, just needed to change the None display: display: none;

    Sorry to take your time to read above.

    See you soon,.

    Alex

  • Cannot get the file to be imported.

    I tried the method of JoseIbarra - I did as suggested but cannot get the file to be imported in the services file. He never asked me if I wanted to add the information in the registry, so it is still on the office. Don't know what to do from here.

    Please stick to the initial conversation.

    Is this you speak of course (*first conversation*):
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/how-do-i-get-print-spooler-back-into-my-Windows-XP/ed014329-1bd3-458d-9C93-bbb306fc731f

    You also made this one:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/print-spooler/c4610093-a96f-4476-B263-eecf5b8fc339

    (but please do not reply to this one...)

    And this one:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/continuation-of-print-spooler-problem/0e885d7b-3e64-42ee-A248-9d9f2a8e26c5

    (Even once - keep the * first conversation * going.)  Written on it.  Show how this conversation continues spreading around.)

    BTW - my suggestion has not changed.  I still think that you get just around issues that still exist, probably, by fixing the little things you need at a given time.

    Backup important files/folders (for you) (including documents, photos, music, Favorites, Internet favorites, files installable application, serial numbers, product keys, spreadsheets, you saved to the desktop email, etc.) and wipe the disc completely - I'd even a zero writing on the disc (formatting) before installing the operating system from the original installation media.  Then install your applications and restore your files.

    As to what they were asked to do... Always seems that you saved the file as a *. TXT file and not a *. REG or there is much more wrong with your machine (see my suggestion above.)

    Visit this web page to look at the photo on the left (a first) to see the screenshot of the possible is the desktop icons and let us know if it looks like the left or right of each photo version (answer here or in the longer conversation.)  * Ignore the first part of the file name - as you might have named something else than "addspooler."

    To check if you saved incorrectly or if there is something wrong with your system (or two) - right click on the file you saved and choose 'Properties' from the menu you get.  Under the 'Général' tab, she said, "file Type: registration entries (.reg)" and "opens with: Registry Editor" or something similar?  Visit this web page to look at the picture on the right (second) to see the screenshot of the possible look at the windows of the property and let us know if it looks like the left or right of each photo version (answer here or in the longer conversation.)  * Ignore the first part of the file name - as you might have named something else than "addspooler."

  • cannot get the keyboard to select windows xp when I have only four seconds to select is stuck on windows xp professional and cannot get the keyboard to use arrows to select

    cannot get the keyboard works when reebooting said cd I need driver sata when reebooting he gives four seconds to schrol up to windows xp but the line is highlighted on a windows xp profesional bellows and can't seem to choose windows xp on its own keyboard wont respond but lights from F1 or f2 f3 until f12 choose please help

    A few old machines will not recognize a USB keyboard/mouse until after Windows starts.  Look at the back of your computer and see if you have a PS/2 (round) connector for a keyboard and a mouse.  If you do, then you will need to use a keyboard with a round PS/2 connector or a USB-to-PS/2 adapter and plug the PS/2 connector on the back of your computer so that it recognizes the keyboard until Windows starts on your keyboard.

    The SATA driver applies to your hard drive.  A CD of start-up/installation of Windows XP does not recognize a SATA hard drive.  If you install Windows, you will need to hit F6 at the right time and insert a floppy with the SATA driver on this subject.

    HTH,
    JW

  • I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.

    Original title: new printer

    I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.  The printer works fine when printing from a laptop or ipad!

    Start by going here--> http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?UseCookie=yes&oid=232591&prodoid=63099059&infoType=Downloads&platform=nodetect

    If the web page has not correctly detected your operating system, select it by using the drop-down list.  Rather than using the "Combo package" recommended but huge, expand the "Drivers" section and download driver printer v2.32 to a location that you will remember later.

    • Click on the ORB start and go into devices and printers.
    • Select (click) the icon of your Epson printer.
    • Once you have selected the printer, a button labeled "Print server properties" will appear in the toolbar.  Click on this button.
    • Click the "Drivers" tab on the print server properties dialog box.
    • Select the Epson printer in the list of installed printer drivers, and then click 'remove '.
    • In the context menu, select "Remove driver and driver package" and click OK
    • Click Yes, and then delete
    • Once the removal process is complete, restart the computer (probably not really necessary, but can't hurt)
    • Install the driver and the software using the file that you downloaded earlier

    At this point, your printer should work fine.  However, if you want the ability to print by emailing a file to your printer, you may need to install both 'Remote Printer Driver v1.65' in the category 'Pilot' and "v1.30 utility Configuration of printer Epson Connect" in the "Utilities" category

  • Disorder by selecting the Div tags

    Hello

    Im trying to create a website portfolio for me but I'm having trouble with the selection of some div tags, I added to my page.

    As you can see here the top right divtag is selected/clicked on illustrated by give it a blue box around it. It allows me to add a rollover image to which is what I try to do with home' 'info' and 'contact' buttons shown above right. However when I click on or around the div tags that hold these buttons I can't "select" them so that the blue box appears around the edge and therefore impossible to add the rollover image.

    This is the encoding of the page, if it helps (I) normally work in the design window, I have not been taught in the coding

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < style type = "text/css" >

    {#wrapper}

    float: none;

    Width: 1500px;

    margin: auto;

    }

    {#p1}

    float: left;

    height: 350px;

    Width: 490px;

    margin left: 15px;

    top of the margin: 15px;

    background-image: url(images/testp1.jpg);

    }

    {#p4}

    float: left;

    height: 350px;

    Width: 490px;

    top of the margin: 15px;

    margin left: 15px;

    background-image: url(images/testp2.jpg);

    }

    {#p5}

    Clear: none;

    float: left;

    height: 350px;

    Width: 490px;

    top of the margin: 15px;

    margin left: 15px;

    background-image: url(images/testp3.jpg);

    }

    {#p6}

    float: left;

    height: 350px;

    Width: 490px;

    top of the margin: 15px;

    background-image: url(images/testp1.jpg);

    }

    {#p2}

    background-color: #333;

    float: left;

    height: 350px;

    Width: 490px;

    top of the margin: 15px;

    background-image: url(images/testp2.jpg);

    }

    {#p3}

    background-color: #999;

    float: left;

    height: 350px;

    Width: 490px;

    right margin: 15px;

    top of the margin: 15px;

    background-image: url(images/testp3.jpg);

    }

    {#p7}

    float: left;

    height: 350px;

    Width: 490px;

    top of the margin: 15px;

    margin left: 15px;

    background-image: url(images/testp3.jpg);

    }

    {#p8}

    float: left;

    height: 350px;

    Width: 490px;

    top of the margin: 15px;

    margin left: 15px;

    background-image: url(images/testp1.jpg);

    }

    {#p9}

    float: left;

    height: 350px;

    Width: 490px;

    top of the margin: 15px;

    background-image: url (images/Logo1 - Tile.jpg);

    }

    {#home-btn}

    background-color: #999;

    float: left;

    height: 30px;

    Width: 30px;

    margin-top:-715px;

    margin left: 15px;

    background-image: url(images/home.jpg);

    }

    {#contact-btn}

    float: left;

    height: 30px;

    Width: 30px;

    margin-top:-625px;

    margin left: 15px;

    background-color: #FF6;

    background-image: url(images/contact.jpg);

    }

    {body

    left margin: 0px;

    margin-top: 0px;

    margin-right: 0px;

    margin-bottom: 0px;

    }

    {#info-btn}

    background-color: #09F;

    float: left;

    height: 30px;

    Width: 30px;

    margin left: 15px;

    margin-top:-670px;

    background-image: url(images/info.jpg);

    }

    < / style >

    < / head >

    < body >

    < div id = 'wrapper' >

    < div id = "p9" > < / div >

    < div id = "p8" > < / div >

    < div id = "p7" > < / div >

    < div id = 'p6' > < / div >

    < div id = "p5" > < / div >

    < div id = "p4" > < / div >

    < div id = 'p3' > < / div >

    < div id = "p2" > < / div >

    < div id = "p1" > < / div >

    < / div >

    < div id = "contact-btn" > < / div >

    < div id = "info-btn" > < / div >

    < div id = "Home-btn" > < / div >

    < / body >

    < / html >

    Any ideas?

    Cheers, Ryan

    I normally work in the design window that I've not been taught in the coding

    You will learn about code regardless if you make the effort. Start with these links:

    http://w3schools.com/

    http://www.csstutorial.NET/

    DW assumes that you have knowledge of HTML & CSS code.

    If you cannot or will not work with the code, you use the wrong tool.

    For the non-codeurs, Adobe offers 2 other options: Adobe Muse & portfolio

    Nancy O.

  • Cannot get the "&lt; FEFF &gt;" string in the selected text [indesign CS6]

    Hello world!

    I can't get the string to the selected text. The selected text contains several xml tags.

    In adobe indesign cc version of 2014, the selected text is bring the string «< FEFF >» tags

    In indesign adobe cs6 version cannot get the string "< FEFF >. they do ""-empty space.

    Screen Shot 2015-09-23 at 6.01.25 PM.png

    Are the above-selected text contains several xml tags.

    but I get content using script code can't get the string.

    Screen Shot 2015-09-23 at 6.02.51 PM.png

    the script gives the result, xml tags are converted to "". ""  I expect "< FEFF >.

    I expect the output is: "< FEFF > Applescript < FEFF > < FEFF > selected text < FEFF > < FEFF > < FEFF >."

    Please help me...

    Thank you

    John Peter.

    the script gives the result, xml tags are converted to "". ""  I expect to ''.

    The xml tags are not converted to "" but "\uFEFF" (zero-width space non-bec), it is the character used to represent the tags in a text frame. Looks like the apple script converts a hexadecimal representation unicode values.

  • Problem with the text in the div tag

    Hey there,

    the question that I have is that every time that I add text to a div tag and press 'enter' to start on another paragraph, the text on the first paragraph right guard moved down to about a paragraph. It happens in Dreamweaver and the browser when available is presented as a preview. I have included a few pictures below, please advise.

    First added text, which seems fine:

    Screen shot 2013-10-09 at AM 09.27.43.png

    But when I try to type the text after pressing "enter".

    Screen shot 2013-10-09 at AM 09.28.20.png

    I want the text to align to the top instead of from a paragraph down. Something like this (made in InDesign):

    Screen shot 2013-10-09 at AM 09.28.42.png

    I will include the code as well. When I select the div tag, it's what is highlighted in the code pane:

    < div id = "about6" >

    < p > Hey there < /p >

    < p > Hey there 2 < /p >

    < p > Hey there 3 < /p >

    < p > Hey there 4 < /p >

    < / div >

    A screenshot of the of type parameters for this div:

    Screen shot 2013-10-09 at AM 09.42.39.png

    Any help would be appreciated. Thank you.

    Paragraphs, titles etc. have legacy browser style rules.

    We can remove the style by adding rules to the top of the stylesheet

    * {

    padding: 0;

    margin: 0;

    }

    Even better is to include a CSS reset set of rules such as found here http://meyerweb.com/eric/tools/css/reset/

    By the way, please note that the use of identifiers will limit your fun by using style rules. You should not use ID unless needing a single login. In your case, I would use a class.

    Heights of adjustment are also going to strangle the natural flow of your document, especially if you intend to start on the drawings of fluid

    I hope this helps.

Maybe you are looking for