Skip navigation
dhint4
Currently Being Moderated

How to hide content in design view within Dreamweaver?

Mar 9, 2013 7:44 PM

Tags: #cs3 #jquery #mac #dreamweaver #javascript #spry #css #layout #html5 #cs6

How can I hide content in design view within Dreamweaver?

 

I have a tabbed content menu that uses some javascript. Everything looks great in Live view, but when I go to design view, all the content goes way beyond the div. How can I make it to where I can hide the content in that div in design view or wrap it completely inside of there? It's really hard to explain which is why I provided some pictures!

 

 

 

LIVE VIEW

http://i1293.photobucket.com/albums/b584/dhint23/ScreenShot2013-03-09at93816PM.png

 


DESIGN VIEW

http://i1293.photobucket.com/albums/b584/dhint23/ScreenShot2013-03-09at93828PM.png

 

 

Thank you in advance for all the help!

 

Dalton

 
Replies
  • Currently Being Moderated
    Mar 10, 2013 1:43 AM   in reply to dhint4

    Humm....... you want to hide it in Design View whilst working on the rest of the site?

     

    If that is the case set the menu container <div> to display: none; -

     

    <div id="menu" style="display: none;">This is the content menu</div>

     

    Then either set it to display: block; when you're ready to view it live or remove the style completely.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 10, 2013 6:22 AM   in reply to osgood_

    Do that in a DESIGN TIME STYLESHEET in DW. That will hide the stuff in Design view without having to modify any of the code.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points