Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 03-07-2016, 10:45 AM   #1
Join Date: Feb 2016
Posts: 5
Default Menu bar fails to sit inside div tag

as the heading says - in design view in DW CS6 the menu bar kind of hangs in the general area of where the div tag containeris supposed to be but you can only see a single thin blue line which I think is the div tag.
in browser preview it jumps up and sits at the top of the page obscuring the header div. I want it toi sit below the header div obviuosly

the menu breaks correctly as you resize the browser and finally collapses to a mobile typ drop down menu which is working as I want it to

how can I get that menu bar to sit where it is supposed to?

here's the link to the demo

any ideas on this infuriating behavior would be very warmly received thank you in advance
old_picker is offline   Reply With Quote
Old 03-07-2016, 11:43 PM   #2
edbr's Avatar
Join Date: Aug 2005
Location: Bali
Posts: 11,204

you have your menu as a n absolute positioned div. thats ok but if it is not in a parent div (relativle positioned for example) it will take its reference point from the whole page so to speak.
so position it the amount of points down from the top ,same as your header, or float a content dive avter the header (relative) and put your page elements in that
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 03-08-2016, 12:37 AM   #3
Join Date: Feb 2016
Posts: 5

ok that tip was a good one - i changed the navbar "wrapper" div positioning to relative and now it functions almost perfectly.

when the browser is resized to mobile the green show menu panel is still slipping up a little under the header div

no big deal but would be nice if it stayed solid

thank you for your illuminating responses
old_picker is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:08 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com