View Single Post
Old 01-11-2012, 03:45 AM   #1
kevlin
Newbie
kevlin began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2011
Location: Hamburg - Germany
Device: Sony Reader PRS-T1
CSS: Styles for <cite> won't apply

Hi all togehter,

I'm a bit confused. I thought with CSS it is possible to define precise styles for every kind of paragraph.

I'm using the CSS below. When I mark a section with the cite-tag it won't apply completely. Strangely it shows the paragraph in bold letters and with the correct letter-spacing.

But on the other hand (and that's the strange thing): The paragraph with the cite-tag is shown with an indent - like the p-section is defined.

Besides the CSS there are no other CSS-definitions inside the XHTML-file.

Anyone an idea where this behavior might come from?

Code:
p {text-indent: 1.8em;
   margin-left: 0;
   margin-right: 0;
   margin-top: 0;
   margin-bottom: 0.2em;
   text-align: justify;
   font-family: serif;}

cite {text-align: center;
      text-indent: 0.0em;
      font-family: serif;
      font-size: medium;
      font-style: normal;
      font-weight: bold;
      letter-spacing: 0.3em}
kevlin is offline   Reply With Quote