close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

CSS Menu Writer menu showing behind PDF

Thread began 5/14/2010 7:31 pm by vendors341626 | Last modified 6/05/2010 1:52 pm by vendors341626 | 6686 views | 28 replies

Jason ByrnesWebAssist

on this page the menu is not placed in a div:

<body>
<ul class="level-0" id="cssmw">
<li class="parent"><a href="#">Item 1</a>
<ul class="level-1">
<li><a href="#">Sub Item 1</a></li>
<li><a href="#">Sub Item 2</a></li>
<li><a href="#">Sub Item 3</a></li>
<li><a href="#">Sub Item 4</a></li>
<li><a href="#">Sub Item 5</a></li>
<li><a href="#">Sub Item 6</a></li>
</ul>
</li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Item 3</a></li>
</ul>




Like Brian suggested, place the menu in a div and give it a high z index:

<body>
<div style="position: relative; z-index: 100;">
<ul class="level-0" id="cssmw">
<li class="parent"><a href="#">Item 1</a>
<ul class="level-1">
<li><a href="#">Sub Item 1</a></li>
<li><a href="#">Sub Item 2</a></li>
<li><a href="#">Sub Item 3</a></li>
<li><a href="#">Sub Item 4</a></li>
<li><a href="#">Sub Item 5</a></li>
<li><a href="#">Sub Item 6</a></li>
</ul>
</li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Item 3</a></li>
</ul></div>





another problem is that the div for the pdf is set to use position: absolute:

<div style="z-index:-1;position:absolute;">
<embed src="File-11.pdf#view=FitH,top&view=FitV,left&navpanes=0" width="960" height="760">
</embed>
</div>




you do not set a top or left attribute though, so it will put the embedded pdf at the "absolute" top left corner of the browser window.

when using position absolute, you are in control of where the element appears in the browser, you must specify where to put it, or it will go to the default top left corner regardless of any other element that is in the top left corner.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...