Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
problems with PureCSSmenu.com file in dreamweaver
Old 12-07-2009, 01:34 PM problems with PureCSSmenu.com file in dreamweaver
adp
Average Talker

Posts: 15
Name: joe
Trades: 0
I was able to generate a nav menu using purecssmenu.com and it created an .html file which, when opended in IE looks fine. When I open it in DW it does not look as inteneded at all - just looks like a list. I was hoping to create an include file for the nav that can go on all site pages which would expand on mouseover to reveal additional sub menu pages. Has anyone used files from purecssmenu.com before or can anyone recommend a way to create a drop down nav menu in DW which can be a separate include file?

thanks in advance for any help!
adp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-07-2009, 02:05 PM Re: problems with PureCSSmenu.com file in dreamweaver
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
When I open it in DW it does not look as inteneded at all
No one is going to browse the web with DW, so it doesn't make a bit of difference how it looks in DW's poor preview mode.

You can include ANY code in an include, so you can use what you already have.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-07-2009, 03:00 PM Re: problems with PureCSSmenu.com file in dreamweaver
adp
Average Talker

Posts: 15
Name: joe
Trades: 0
what I meant was, when I open the .html file in Dreamweaver it does not look as it does in IE. So when I insert it in the area on the site page as an include file everything kinda blows up.
adp is offline
Reply With Quote
View Public Profile
 
Old 12-08-2009, 07:07 AM Re: problems with PureCSSmenu.com file in dreamweaver
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
If it looks "right" in browsers that's all you need to care about.

Ignore DWs poor excuse for a rendering engine and use Firefox for testing the layout.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-08-2009, 12:48 PM Re: problems with PureCSSmenu.com file in dreamweaver
adp
Average Talker

Posts: 15
Name: joe
Trades: 0
hmm... here is the code from the .html Nav page generated from the PureCSSmenu.com site. When you simply open this page, it looks as it should. When I open it in DW it just appears as a list. Furthermore, and more important to me, when I click go insert it on the page as an server side include everything seems to blow up. I am sure that creating a separate drop-down menu which can be used as an include file should not be this difficult but I am stumped.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Generated by PureCSSMenu.com</title>
</head>
<body bgcolor="#FFFFFF">



<!-- Css Menu -->

<style>
ul.cssMenu ul{display:none}
ul.cssMenu li:hover>ul{display:block}
ul.cssMenu ul{position: absolute;left:-1px;top:98%;}
ul.cssMenu ul ul{position: absolute;left:98%;top:-2px;}
ul.cssMenu,ul.cssMenu ul {
margin:0px;
list-style:none;
padding:0px 2px 2px 0px;
background-color:#111155;
background-repeat:repeat;
border-color:#808080;
border-width:1px;
border-style:solid;
}
ul.cssMenu table {border-collapse:collapse}ul.cssMenu {
display:block;
zoom:1;
height:21px;
float: left;
}
ul.cssMenu ul{
width:218.4px;
}
ul.cssMenu li{
display:block;
margin:2px 0px 0px 2px;
font-size:0px;
}
ul.cssMenu a:active, ul.cssMenu a:focus {
outline-style:none;
}
ul.cssMenu a, ul.cssMenu li.dis a:hover, ul.cssMenu li.sep a:hover {
display:block;
vertical-align:middle;
background-color:#111155;
border-width:1px;
border-color:#111155;
border-style:solid;
text-align:center;
text-decoration:none;
padding:2px 5px 5px 10px;
_padding-left:0;
font:normal 11px Tahoma;
color: #ffffff;
text-decoration:none;
cursor:default;
}
ul.cssMenu span{
overflow:hidden;
}
ul.cssMenu li {
float:left;
}
ul.cssMenu ul li {
float:none;
}
ul.cssMenu ul a {
text-align:left;
white-space:nowrap;
}
ul.cssMenu li.sep{
text-align:left;
padding:0px;
line-height:0;
height:100%;
}
ul.cssMenu li.sep span{
float:none; padding-right:0;
width:3px;
height:100%;
display:inline-block;
background-color:#808080; background-image:none;}
ul.cssMenu ul li.sep span{
width:100%;
height:3px;
}
ul.cssMenu li:hover{
position:relative;
}
ul.cssMenu li:hover>a{
background-color:#c1c195;
border-color:#c1c195;
border-style:solid;
font:normal 11px Tahoma;
color: #111155;
text-decoration:none;
}
ul.cssMenu li a:hover{
position:relative;
background-color:#c1c195;
border-color:#c1c195;
border-style:solid;
font:normal 11px Tahoma;
color: #111155;
text-decoration:none;
}
ul.cssMenu li.dis a {
color: #557D4F !important;
}
ul.cssMenu img {border: none;float:left;_float:none;margin-right:2px;width:16px;
height:16px;
}
ul.cssMenu ul img {width:16px;
height:16px;
}
ul.cssMenu img.over{display:none}
ul.cssMenu li.dis a:hover img.over{display:none !important}
ul.cssMenu li.dis a:hover img.def {display:inline !important}
ul.cssMenu li:hover > a img.def {display:none}
ul.cssMenu li:hover > a img.over {display:inline}
ul.cssMenu a:hover img.over,ul.cssMenu a:hover ul img.def,ul.cssMenu a:hover a:hover img.over{display:inline}
ul.cssMenu a:hover img.def,ul.cssMenu a:hover ul img.over,ul.cssMenu a:hover a:hover img.def{display:none}
ul.cssMenu a:hover ul{display:block}
ul.cssMenu span{
display:block;
background-image:url(./images/arrv_white.gif);
background-position:right center;
background-repeat: no-repeat;
padding-right:9px;}
ul.cssMenu ul span{background-image:url(./images/arr_black.gif)}
ul.cssMenu ul li:hover > a span{ background-image:url(./images/arr_white.gif);}
ul.cssMenu table a:hover span{background-image:url(./images/arr_white.gif)}
ul.cssMenu li.cssMenui0 {
width:110px;
height:23px;
}
ul.cssMenu li a.cssMenui0{
height:100%;
background-image:url(http://purecssmenu.com/css-menu-maker/templates/vistablack/http://purecssmenu.com/css-menu-maker/templates/vistablack/images/btn3.jpg);
border-width:0px;
font:normal 11px Tahoma;
color:#fff;
}
ul.cssMenu li a.cssMenui0:hover{
background-image:url(http://purecssmenu.com/css-menu-maker/templates/vistablack/http://purecssmenu.com/css-menu-maker/templates/vistablack/images/btn4.jpg);
font:normal 11px Tahoma;
color:#eee;
}
ul.cssMenum0 {
background-color:transparent;
border-width:0px;
padding:0px 0px 0px 0px;
}
ul.cssMenum0>li>a {
padding:8px 10px 0px 10px;
}
ul.cssMenum0 a {
padding:8px 10px 0px 10px;
}
ul.cssMenum0 ul a {
padding:2px 5px 5px 10px;
}
ul.cssMenum0>li {
margin:0px 0px 0px 0px;
}
ul.cssMenum0 li {
margin:0px 0px 0px 0px;
}
ul.cssMenum0 li li {
margin:2px 0px 0px 2px;
}

</style>

<ul class="cssMenu cssMenum0">
<li class=" cssMenui0"><a class=" cssMenui0" href="##">Home</a></li>
<li class=" cssMenui0"><a class=" cssMenui0" href="/aboutus"><span>About Us</span><![if gt IE 6]></a><![endif]><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class=" cssMenum">
<li class=" cssMenui"><a class=" cssMenui" href="/firmnews">Firm News</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/ourstory">Our Story</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/outpartners">Our Partners</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/outteam">Our Team</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/ourcommitment">Our Commitment to You</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]--></li>
<li class=" cssMenui0"><a class=" cssMenui0" href="/services"><span>Services</span><![if gt IE 6]></a><![endif]><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class=" cssMenum">
<li class=" cssMenui"><a class=" cssMenui" href="/accounting">Accounting Financial Services</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/employeebenefit">Employee Benefit Plan Audits</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/taxservices">Tax Services</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/sox">SOX 404 Compliance Testing</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/litigation">Litigation Support (Forensic Accounting)</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/businessvaluations">Business Valuations</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/businessadvisory">Business Advisory Services</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/estate">Estate and Retirement Planning</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/businessdevelopment">Business Development Workshops</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/technologysupport">Technology Support</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]--></li>
<li class=" cssMenui0"><a class=" cssMenui0" href="/carrers"><span>Careers</span><![if gt IE 6]></a><![endif]><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class=" cssMenum">
<li class=" cssMenui"><a class=" cssMenui" href="/ourculture">Our Culture</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/ourexperiences">Our Experiences</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/whywelovessb">Why We Love SSB</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/faq">Frequently Asked Questions</a></li>
<li class=" cssMenui"><a class=" cssMenui" href="/careerprofiles">Career Profiles</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]--></li>
<li class=" cssMenui0"><a class=" cssMenui0" href="/contactus">Contact Us</a></li>
</ul>


<!-- (c) 2009, PureCSSMenu.com -->


<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</body>
</html>
adp is offline
Reply With Quote
View Public Profile
 
Old 12-08-2009, 02:56 PM Re: problems with PureCSSmenu.com file in dreamweaver
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The first thing I would recommend is to use a decent and updated DOCTYPE, not that loosey-goosey 4.01 Transistional Loose - go for at least HTML 4.01 Strict. You'd be surprised what the right DTD can do.

The include isn't going to work in DW locally, unless you've got it configured to access a testing server, and even then it might not work, you'd need to BROWSE to it via an HTTP request.

When you say it 'blows up' -- what's happening to it?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-08-2009, 03:28 PM Re: problems with PureCSSmenu.com file in dreamweaver
adp
Average Talker

Posts: 15
Name: joe
Trades: 0
When I say blow up this is what I mean. When I insert the NAV menu as an include file, then upload it to the server this is what it looks like. there appears to be a sequence of repeating rows below the NAV with the background image of the cell the include file is placed in.
Attached Images
File Type: jpg menuissues.jpg (56.8 KB, 4 views)
adp is offline
Reply With Quote
View Public Profile
 
Old 12-09-2009, 09:48 AM Re: problems with PureCSSmenu.com file in dreamweaver
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I think it may be the fault of that 'hack' of specifying tables for IE instead of using the CSS method. There's really no good reason to feed IE tables for a dropdown, at least not that I've found.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-09-2009, 11:42 AM Re: problems with PureCSSmenu.com file in dreamweaver
adp
Average Talker

Posts: 15
Name: joe
Trades: 0
LadynRed: first off, I have made progress.... I removed the <br> tags from the bottom of the page (which appeared to be causing the repeating background image under the NAV menu), removed the IE conditional comments and the menu looks like it should - except now the 'drop downs' don't appear to be working in IE. UGH! Everything looks and works FINE in Firefox, however. when you mouse over the middle 3 menu items it looks like something appears below them but the links do not show up. I think I am real close though. Any additional comments would be welcome. here is a link to the test page with the nav on it:

http://www.ssb-cpa.com/ssb-final/content2.asp
adp is offline
Reply With Quote
View Public Profile
 
Old 12-09-2009, 02:34 PM Re: problems with PureCSSmenu.com file in dreamweaver
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Try adding a higher z-index on the menu to bring it above the rest of the page, I think in IE it's just dropping BEHIND the rest of your layout.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to problems with PureCSSmenu.com file in dreamweaver
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.61672 seconds with 13 queries