After I save my entries, the editing box always gets rid of the indentations. The formatting is always lost every time I save a post. How do I fix this problem?
Use the appropriate HTML to indent. Can you explain exactly what you are trying to indent?
What are you using at the moment?
I’m sorry if this sounds terse, I think I got up on the wrong side of the bed this morning!
Cornell is channeling me. :)
Please remember that the editing box is not Word. It’s a fairly simple program that does what it can.
You can try forcing the spacing by using
marks and see if that works.
You may also want to try using the normal text editor instead of the rich text editor. (I have a feeling that that is what you are using.) You’ll have better control over your code if you do.
Hope this helps,
After using table workaround to indent text for some time now, I got fed up with it, started to experiment and found a beautifull way to do it. Here it goes:
Works like a charm, multiple levels too. :)
Really cool islamu thanks for sharing.
For what it’s worth (not much), using ol to indent text is terrible from a semantic markup point of view. It might be better to request some themes that have indented paragraphs coded into the CSS.
Okay you’ve got me generaldissray. As a newbie I don’t know what a “semantic markup point of view” is. I hasten to say I won’t do it but will you please explain in very simple terms what you mean. By the way is there a key or chart somewhere that telss us what all those ol – ul, abreviations actually mean? I might one day have enough courage and knowledge to actaully turn the text rich editor on and learn how to use it. Tx.
OL stands for ordered list, UL is for unordered list. So, generaldisarray is right. But it probably is not worth much, not at this time. It even validates. :)
BTW, gd, such a basic thing as indent should have been in editor from the begining.
and if you really want to try and you don’t want to break your blog (which is understandable), go break this one:
The idea of semantic markup is that all of the text is highly structured. Paragraphs are in paragraph tags, lists are in list tags, tables in table tags, etc. Using this kind of markup is advantageous for a number of reasons. For example, someone viewing your blog from a text-based browser that does not support the CSS (cascading style sheets) that present the images, fonts, layout, etc. will still see a well-structured web page, even if they don’t see any graphics. Or someone viewing your blog from a mobile phone will still be able to interpret the content. To see the structure of your blog, visit in in Firefox and select View > Page Style > No style. It won’t look pretty, but you’d know what was going on if that was all you saw.
WordPress is famous for supporting web standards, which go hand-in-hand with this kind of logical, meaningful markup. The navbars, for example, are really just nested, styled unnumbered lists. I’m willing to bet that if WordPress.com blogs weren’t so well-strucutred, the widget facility would have been much more difficult to implement.
The limitation of using semantic markup is that the themes need to support the different visual styles that people might want. Otherwise people have to mimick visual styles using improper HTML tags, which is problematic because (a) mimicked visual styles might break if the theme is changed and (b) doing so may create semantically poor HTML, potentially causing display problems in text-based or mobile browsers, screenreaders, etc.
Actually, a cool theme option would be “turn indent on or off,” which would cater to those that prefer either the American style (indented) or the European style (line breaks) betweeen paragraphs.
For 99% of people it’s a moot point, so don’t worry about it.
What about <pre>, is that semanticaly correct ?
I don’t know. I’m not technically advantaged does
<pre>mean indent? I checked the quicktags and couldn’t find it –
and there’s this –
But with any luck maybe a coder will chime in and tell us if it is or not.
It means preformatted text, that is you can write the text indented, and the text gets printed as you see it.
I thought you might respond saying that <pre> meant preview. The word preformatted never entered my mind. That’s really interesting and potentially really very useful. Have you used it here on a wordpress.com blog and did it work?
Yes it works, i used it so far one time here as my blog is very new :)
The topic ‘Indentations…’ is closed to new replies.