Extraneoous characters appear on site...

User 2283504 Photo


Registered User
36 posts

I am a frustrated newbie who is trying to center a CC generated Menu and am struggling. I followed instructions but the menu won't center and I am getting extraneous "<>" added to my site each time I test it in a browser. it is as if the software is generating code. Does anyone have any ideas on how to solve this? I appear to be over my head.

Attached is my page and below is the menu-menu code:

/*** ESSENTIAL STYLES ***/
.menu-menu, .menu-menu * {
margin:0;
padding:0;
list-style:none;
}
.menu-menu {
margin:1px 0 0 1px; /* top right bottom left */
line-height:1.0;
}
.menu-menu ul {
position:absolute;
top:-999em;
width:200px; /* submenu item width - offest below must match */
}
.menu-menu li {
width:200px; /* Default to 'auto'. If specified, the submenu item width and offset must match */
}
.menu-menu li a {
text-align:left;
}
.menu-menu li li a {
text-align:left;
}
.menu-menu ul li {
width:100%;
}
.menu-menu li ul {
display:none;
}
.menu-menu li:hover ul {
display:block;
}
.menu-menu li li ul {
display:none;
}
.menu-menu li:hover li:hover ul {
display:block;
}
.menu-menu li:hover {
visibility:inherit; /* fixes IE7 'sticky bug' */
}
.menu-menu li {
float:left;
position:relative;
}
.menu-menu a {
display:block;
position:relative;
}
.menu-menu li:hover ul,
.menu-menu li.sfHover ul {
left:0;
top:28px; /* match top ul list item height */
z-index:2;
}
ul.menu-menu li:hover li ul,
ul.menu-menu li.sfHover li ul {
top:-999em;
}
ul.menu-menu li li:hover ul,
ul.menu-menu li li.sfHover ul {
left:200px; /* submenu offest - must match ul width above */
top:0;
}
ul.menu-menu li li:hover li ul,
ul.menu-menu li li.sfHover li ul {
top:-999em;
}
ul.menu-menu li li li:hover ul,
ul.menu-menu li li li.sfHover ul {
left:200px; /* submenu offest - must match ul width above */
top:0;
}

/*** DEMO SKIN ***/
.menu-menu {
float:left;
margin-bottom:1em;
font-family:Verdana, Arial, san-serif;
font-size:12px;
font-weight:bold; /* bold or normal */
font-style:normal; /* italic or normal */
}
.menu-menu a {
border-right:1px solid #000000;
border-top:1px solid #000000;
border-bottom:1px solid #000000;
padding:8px 30px;
text-decoration:none;
}
.menu-menu li.first a {
border-left:1px solid #000000;
}
.menu-menu a, .menu-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/
color:#FFFFFF;
}
.menu-menu a:hover, .menu-menu a:active { /* visited pseudo selector so IE6 applies text colour*/
color:#000000;
}

.menu-menu li li a {
border:1px solid #000000; border-top-width:0;
}
.menu-menu li li li.first a {
border:1px solid #000000;
}
.menu-menu li {
background:#0C2950;
}
.menu-menu li li {
background:#0C2950;
}
.menu-menu li li li {
background:#0C2950;
}
.menu-menu li:hover, .menu-menu li.sfHover,
.menu-menu a:focus, .menu-menu a:hover, .menu-menu a:active {
background:#27649C;
outline:0;
}

.menu-menu li li a, .menu-menu li li a:visited {
color:#FFFFFF;
}

.menu-menu li li a:hover, .menu-menu li li a:active, .menu-menu li li a:focus {
color: #000000;
}

/*** arrows **/
.menu-menu a.sf-with-ul {
padding-right:2.25em;
min-width:1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
position:absolute;
display:block;
right:.75em;
top:1.05em; /* IE6 only */
width:10px;
height:10px;
text-indent:-999em;
overflow:hidden;
background:url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator { /* give all except IE6 the correct values */
top:.8em;
background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
background-position:-10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.menu-menu ul .sf-sub-indicator { background-position:-10px 0; }
.menu-menu ul a > .sf-sub-indicator { background-position:0 0; }
/* apply hovers to modern browsers */
.menu-menu ul a:focus > .sf-sub-indicator,
.menu-menu ul a:hover > .sf-sub-indicator,
.menu-menu ul a:active > .sf-sub-indicator,
.menu-menu ul li:hover > a > .sf-sub-indicator,
.menu-menu ul li.sfHover > a > .sf-sub-indicator {
background-position:-10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
background:url('../images/shadow.png') no-repeat bottom right;
padding:0 8px 9px 0;
-moz-border-radius-bottomleft:17px;
-moz-border-radius-topright:17px;
-webkit-border-top-right-radius:17px;
-webkit-border-bottom-left-radius:17px;
}
.sf-shadow ul.sf-shadow-off {
background:transparent;
}
table
{
margin-left: auto;
margin-right: auto;
}

Bryon
Bryon K. Smith
User 187934 Photo


Senior Advisor
20,271 posts

A link to the webpage would be a great help.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 122279 Photo


Senior Advisor
14,649 posts

Hi Bryon,

Check out this thread, maybe it's the same problem that you have:
http://www.coffeecup.com/forums/website … post167593
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2283504 Photo


Registered User
36 posts

Inger,

Thank you very much! That worked like a charm!

Bryon
Bryon K. Smith
User 122279 Photo


Senior Advisor
14,649 posts

:) Glad I was able to help!
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.