Copy link to clipboard
Copied
Hi peeps, I am new to dreamweaver so please bear with me.
I have started a web page in dreamweaver which has a top menu bar that covers the entire width of the screen in dreamweaver live view, but when I view it in Chrome it only covers around 2/3rds of the width of the screen.
What gives?
I would have thought that the live view in DW would give you a true representation of the page, so why is it the different in Chrome?
I'm not sure which one to believe.
Many thanks
If you go here Flexbox Bar Navigation Demo | CSS-Tricks and after reading the article, see the code for the various languages as per

When you open the SCSS tab, go to the compiled version as per

Copy link to clipboard
Copied
It all depends in the width of your browser, and the width of Dw's live view being the same.
Also are you specifying any width in absolute measurements, such as pixel values.
Copy link to clipboard
Copied
Hi I have set the page width to 100%.
thanks
Copy link to clipboard
Copied
danbs10 wrote
Hi I have set the page width to 100%.
thanks
The page width does not matter, your menu if you are using absolute values such as pixels, will not expand or contract, try using % values.
Copy link to clipboard
Copied
Change your Zoom settings in Chrome to 100% or Ctrl+0 *zero*.
I think Chrome boosts the zoom to 125% or 150% depending on your screen res.
Nancy
Copy link to clipboard
Copied
It is a matter of real-estate, the browser has a greater width than Live/Design view in Dreamweaver. If you give the menubar a background colour, you will see that it stretches across the whole width of the client window. However, when you shrink the browser window to the same width as Dreamweaver, you will see that the contents of the menubar will fit the full width similar to Dreamweaver.
Wide browser window

Narrow browser window

Copy link to clipboard
Copied
Hi Ben thanks for your reply. I have given the menu bar a background color and it does indeed stretch the width of the window but I still do not understand how I fix this issue.
Thanks
Copy link to clipboard
Copied
If you go here Flexbox Bar Navigation Demo | CSS-Tricks and after reading the article, see the code for the various languages as per

When you open the SCSS tab, go to the compiled version as per

Find more inspiration, events, and resources on the new Adobe Community
Explore Now