Space looks like blank menu item - formatting?

General questions about CMSimple
Post Reply
amccorm
Posts: 11
Joined: Sun Oct 02, 2011 2:52 pm

Space looks like blank menu item - formatting?

Post by amccorm » Wed Dec 28, 2011 8:08 pm

I have a Blank Menu Item in my TOC sidebar where there shouldn't be one
http://www.miniaturedonkeys.ca/cms2 this is the site and you can see on the Our Herd there is a menu space before it gets to Pets for Sale it is also there when I expand the menu but do nto know how to get rid of it...any one have any suggestions? It looks like a blank H1 to be but I cannot find it in my downloaded content htm page. So it is not that...

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: Space looks like blank menu item - formatting?

Post by Gert » Wed Dec 28, 2011 8:48 pm

Hallo,

you have created a page with the Heading " " (empty space as haeding).

Log in, click the empty space and delete the "empty space heading" or overwrite the empty space with a normal word,

Gert

PS: Wow, what a sourcecode ;)

Code: Select all

<td width="553" valign="top" bgcolor="#003E28"> <h1 style="text-align: center; "><img alt="donkeys on a path" width="500" height="128" src="./images/Untitled-1.jpg">&#160;</h1> 
Gert Ebersbach | CMSimple | Templates - Plugins - Services

amccorm
Posts: 11
Joined: Sun Oct 02, 2011 2:52 pm

Re: Space looks like blank menu item - formatting?

Post by amccorm » Wed Dec 28, 2011 10:45 pm

I found the error with the code inspector...what do you mean wow source code lol...1st time using CMSimple really is there more I should do? What did I screw up lol.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Space looks like blank menu item - formatting?

Post by cmb » Thu Dec 29, 2011 1:05 am

Hi amccorm,
amccorm wrote:is there more I should do? What did I screw up
I guess Gert is refering to the <img> that was nested in a <h1>, which did otherwise contain a &nbsp; only. So the heading contains no text -- but just an image. But the reason for using a heading (<hX>) usually is to markup some text as heading. Consider a book with chapter headings, that consist only of images -- that might not result in a reasonable table of contents. And AFAIK search engines will interpret it the same way. So choose a reasonable text as heading for a page, and keep images out of the heading. If you want to have an image beside the heading, use the CSS float property.

N.B.: these "rules" are not particularly necessary for CMSimple -- IMO that's just a matter of the use of semantic markup.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: Space looks like blank menu item - formatting?

Post by Gert » Thu Dec 29, 2011 8:30 am

Hallo accorm,

as Christoph wrote, I meant the image inside <h1> ... </h1>. Perhaps you have tried to use a image for the Menu? Thats not possible with the normal Menu of CMSimple.

And I wanted to show you the reason for your problem (and help you to find it) by posting the responsible sourcecode ;)

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

amccorm
Posts: 11
Joined: Sun Oct 02, 2011 2:52 pm

Re: Space looks like blank menu item - formatting?

Post by amccorm » Thu Dec 29, 2011 11:10 am

no I had no intention of using image for a menu item lol thanks for the help though it is appreciated.

can CMSimple make use of Css3 HTML5 type layouts? Right now I am just using tables to build this site (as you can see) and the dreamweaver plugin for the code

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Space looks like blank menu item - formatting?

Post by cmb » Thu Dec 29, 2011 12:28 pm

Hi amccorm,
amccorm wrote:can CMSimple make use of Css3 HTML5 type layouts? Right now I am just using tables to build this site (as you can see) and the dreamweaver plugin for the code
CSS3 and HTML5 shouldn't be a problem for CMSimple_XH's core. If plugins produce valid HTML5 output depends on the plugins. But you can use <div> based layouts with HTML 4.x/XHTML 1.x already.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply