Non breaking space dissapears from the template?

About the template and stylesheet - and changing the menu
Post Reply
-tjt-
Posts: 1
Joined: Tue Sep 23, 2008 8:13 am

Non breaking space dissapears from the template?

Post by -tjt- » Tue Sep 23, 2008 8:37 am

Hi!

I tried to search, but was unable to find any information on this topic.

Sometimes designing a layout based on tables requires you to have an empty cell. Some browsers do not show these empty cells at all, so I've always used a non breaking space inside the cell to get the layout right. Like this for example: "<TD WIDTH="123" HEIGHT="123"> &nbsp; </TD>"

When you save a layout like this in CMSimple, it works ok... until you go and change something in the layout. Because when you open the template code again, CMSimple seems to delete all the non braking spaces from the code, resulting the lay-out breaking down with browsers that don't show these empty cells.

Is this a bug or is it some kind of a statement agaist the non breaking space? Does anyone have a way to go round or get rid of this problem?

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Non breaking space dissapears from the template?

Post by Connie » Tue Sep 23, 2008 5:22 pm

The most secure option is to edit the template offline and re-upload it after changing it

you have no guaranty that the configuration/edit template-function will save the non breaking space...
|---
Connie Müller-Gödecke, http://www.webdeerns.de

CMSimple-Styles.com
Posts: 342
Joined: Thu Jun 26, 2008 8:19 pm
Location: Germany
Contact:

Re: Non breaking space dissapears from the template?

Post by CMSimple-Styles.com » Tue Dec 30, 2008 1:49 pm

This way of creating a layout is also very outdated. instead of the non breaking space you could alsop define the cells width and height with css.

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

Re: Non breaking space dissapears from the template?

Post by cmb » Tue Mar 19, 2013 10:41 pm

Indeed very old thread and somewhat outdated technique, but FWIW...
-tjt- wrote:Is this a bug
Yes. See http://cmsimpleforum.com/viewtopic.php?f=29&t=5876
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply