Skip to main content
Inspiring
November 23, 2020
Answered

dreamweaver does not execute commands when I use the interface

  • November 23, 2020
  • 2 replies
  • 609 views

Hi everyone! I am trying to switch to Dreamweaver from Muse. I was trying to center an H1 on the top of the screen and a footer to the bottom of the screen but it did not work using the interface. Once I found the codes on the web I checked to see if they were being applied in the CSS and I noticed that they were not there. So I manually entered them and both worked perfectly. Can anyone tell me why Dreamweaver is not writing the codes when I use the interface? Thank you, Umberto.

    This topic has been closed for replies.
    Correct answer Nancy OShea
    Yes I saw it but when I change it it does not change my background

    Open index.css file and edit code manually. 

    Change background-color to #EAEAEA.

    Save changes (Ctrl/Cmd + S). 

    Upload file to server and refresh your browser.

     

    It should look like this:

     

    The address box is getting it's red background-color another stylesheet called master_a-master.css file.

    #u80-8 {
    background-color: #ED1C24;

    }

     

    I wasn't exagerating when I said Muse code is horrible.

     

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    November 23, 2020

    When styles do not show up, it's often due to code errors.  But without knowing more about your workflow, it's impossible to guess what may be happening.

     

    1. Are you working in a defined local site folder that resides on your primary hard drive?  Site > New Site...

     

    2. Are you adding CSS to an external stylesheet file or embedding new rules between the <style> tags in your HTML document's <head> tag?

     

    3. When using the CC Designer Panel, are you saving your work often with Ctrl/Cmd+S and refreshing Live view with F5?

     

    Nancy O'Shea— Product User & Community Expert
    Inspiring
    November 24, 2020
    Hi Nancy! Thank you for trying to help me! As I was saying in my initial
    post I am trying to abandon Muse completely and switch to Dreamweaver. I
    have done a few tutorials but I believe I need to do more of them. It is
    definitely too early in the process to ask questions. I do need to learn
    more. I apologize. Please disregard my question. However I do have a couple
    questions for you. I saw in one of your threads that you advised someone to
    create websites in Dreamweaver with bootstrap because it is easier. Do you
    still think that is the way to go? Also can html and bootstrap elements,
    snippets etc be mixed when building a bootstrap based websites? My second
    question is I have a website that I built with Muse. I exported it as html
    into Dreamweaver to edit it but I found out that it is not easy. Let’s say
    I was trying to change the background color on the main page. I practically
    looked everywhere but I believe it is not there or if it is it is part of a
    webkit or else! Is there a way to override css properties? Muse does not do
    a good job at all exporting in html. The website looks perfect but the html
    is horrible. I can really use your help. Thank you, Umberto.
    Nancy OShea
    Community Expert
    Community Expert
    November 24, 2020

    What is the URL to your current website where you want to change the background?

     

    When you can manually build a basic HTML page, you're ready to use a code editor like Dreamweaver.

    See links below.  Read chapters, do code exercises and take quizzes at the end.
    - https://www.w3schools.com/html/
    - https://www.w3schools.com/css/
    - https://www.w3schools.com/js/

    Bootstrap is an HTML and CSS framework for creating responsive layouts that perform well on all devices.  Using Bootstrap's library will save you many hours of tedious manual coding.  But to get the most out of Bootstrap, you should understand code and more specifically Bootstrap's 12-box grid system and built-in classes. It's not hard, anyone who can count to 12 can learn to use Bootstrap.  But don't mix Bootstrap with Muse generated code because Muse code is horrible.

    -- https://www.w3schools.com/bootstrap4/

    -- https://getbootstrap.com/docs/4.5/getting-started/introduction/

    -- https://getbootstrap.com/docs/4.5/examples/

     

    Nancy O'Shea— Product User & Community Expert
    B i r n o u
    Legend
    November 23, 2020

    Sorry, I miss understand your UI question, but if you need using center item on code, the best way to learn is to use online tool such

    http://howtocenterincss.com/

    https://www.codegrepper.com/code-examples/html/div+center+css

    https://css-tricks.com/centering-css-complete-guide/

     

    does this help you ?

    have a pleasant day

    birnou