PDA

View Full Version : Trouble with spry menu bar in Dreamweaver


i.bamboo.m@gmail.com
11-19-2009, 09:24 PM
Hi

I noticed trouble with my site http://bibin.hio.no/dkdm/s155392. It is a school examination I have handed in (with some errors), but before I release it and buy my own webhotel, I need to fix some problems:
The most important thing for me is that the menu-bar is splitting when looking at the site from a computerscreen sized over 15" i think, or with a widescreen. The tab "kontakt" moves down exactly under the first tab "om meg" and then at some of the pages, also the text and pictures are changing position etc. I have putted "clear both" in the code for the menubar, but it seems like there is something else causing this. I created this site in dreamweaver and the spry-menubar as well, but with not the deepest knowledge on html and css, Im sure several mistakes are done. Hope someone can help me with concrete ways to solve this problem. I am not a heavy programmer, so I appreciate explanation which makes the process applicable and simple so that I do not get into a second round trouble shooting. :-)

Look forward to hearing from you!

Best Regards
Ida Linn Mly

DWcourse
11-19-2009, 11:12 PM
I suspect it's the width setting in this style:

#midtstill_meny #MenuBar1 {
width: 42.1em;
margin-right: auto;
margin-left: auto;
}

Try increasing the width a bit at a time and see if it works.

i.bamboo.m@gmail.com
11-26-2009, 12:27 AM
Hmm, but how come this is the problem? I would have thought this could happen on a smaller screen such as 10" or so as it fits lesser pixels, but Ive set a minimum width, and the menubar stays in place when you shrink the size of the window. Instead it splits on wider and larger screens. For me thats irrational, but DW is not self explainatory, at least not for me! Hehe =) Can you explain the logics for this?

But thanks, Ill test it. I was almost giving up now, so I hope it will work! =)

Regards
Ida Linn Mly