On Mar 4, 2010, at 9:05 PM, Sjur Moshagen wrote:
> Den 4. mar. 2010 kl. 13.08 skrev david:
>
>> Sjur Moshagen wrote:
>>> Hello,
>>>
>>> I'm new to the list, so please bear with me:)
>>>
>>> I'm trying to style a set of XML source files (served directly off a
>>> Subversion repository) using only CSS. The XML is a quite simple dictionary
>>> structure, and to make the presentation of the content more
>>> dictionary-like, I have added some generated content, like comma+space in
>>> front of the non-first sibling, to separate two independent translations,
>>> or semicolon+space to separate groups of related translations.
>>>
>>> The problem is that in this case there is an extra space - not a space
>>> character, but some sort of space - in front of the generated content. This
>>> can be seen in the first entry on this page:
>>>
>>> https://victorio.uit.no/langtech/trunk/words/dicts/nobfkv/src/adv_nobfkv.xml
>>
>> Hmmm, Konqueror gives me a message saying:
>>
>> "The server certificate failed the authenticity test (victorio.uit.no)."
>>
>> Firefox essentially reports the same.
>
> Ah, yes, it is a self-signed certificate. If it is ok for you, accept it, and
> you will get the page. The page is directly off our Subversion repository,
> which is read-only for the outside world. There is no malware there to our
> knowledge.
>
So I took the risk... Now my goldfish is jumping madly around...
If I understood correctly, you are talking about a space before the second <tg>
shown below
> <tg>
> <t pos="x">justhiin</t>
> </tg>
> <tg>
> <t pos="x">juuri</t>
> </tg>
(Set a border on each tg to visualise.) Is the markup generated as above with
all line-breaks between elements (that is how my browser sees the page)?
Then the explanation is easy: the tg elements are set to 'display:inline',
white-space etc in the source code affect the spacing between individual
elements.
Maybe tg + tg {display: inline; margin-left: -.1em} ?
Philippe
---
Philippe Wittenbergh
http://l-c-n.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/