Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 11:41 pm EST

Geeklog Forums

Simple Problem


Status: offline

congleal

Forum User
Full Member
Registered: 11/08/04
Posts: 179
I've been ignoring this problem for awhile... it's obviously a config issue but something I just hadn't gotten around to...
Seems silly but its annoying... when I have an indention using " " if I re-edit the story and forget to reinsert the space the text reverts back without spacing.
It's probably an html tag but I don't know the syntax to add... can anyone help...

Thanks,

Lee
Can someone help me
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I assume you're talking about "nbsp" entities? Geeklog is notoriously bad in handling HTML entities.

But for indentation, that's the wrong approach anyway. Either use the PRE tag (which keeps the original spacing) or define yourself some CSS classes for indentation in your stylesheet and use them, e.g.
Text Formatted Code
<p class="myindent">indented text here
 


"myindent" could be something like
Text Formatted Code
.myindent {
  padding-left: 2em;
}
 
which would indent text by about the width of 2 'm' characters in the current font size.

bye, Dirk
 Quote

Status: offline

congleal

Forum User
Full Member
Registered: 11/08/04
Posts: 179
That's exactly my problem... please excuse my ignorance but could you explain a bit more how to put this into affect?

Thanks,

Lee
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by congleal: please excuse my ignorance but could you explain a bit more how to put this into affect?

Add the second bit of code (".myindent { ...") to your stylesheet, then use it as per the first example.

bye, Dirk
 Quote

All times are EST. The time is now 11:41 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content