Tags:
create new tag
view all tags
Question

I have modified my template file to include a link to a CSS stylesheet. Everything comes up beautifully except for the very first line of the body. It fails to take up a base style. If you inspect the page's html source you can see the end of the header fields, the first line of text, and then the rest of the body.

It fails because I don't get a HTML "p" but nothing at all. The line of text is outside all HTML markers apart from "body".

  • TWiki version: Dec 01, 2000
  • Web server: Apache 1.3.14
  • Server OS: Linux Redhat 6

-- DavidCBuchan - 15 Feb 2001

Answer

Include the "body" tag in your css definitions! In the HTML-Header add:

<style type="text/css">
body{font-family:Helvetica,Arial}
</style>
This way, all text inside the "body" will be rendered accordingly to your stylesheet.

-- DanielKabs - 21 Feb 2001

SupportStatus:
AnsweredQuestions
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2001-02-21 - DanielKabs
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.