Re: [native-lang] project_tools.html on staticized pages
Sophie Gautier <[email protected]>
| Newsgroups | gmane.comp.openoffice.nativelanguage |
|---|---|
| Message-ID | <[email protected]> |
Hi Christian, Christian Lohmaier wrote: > Hi Sophie, *, > > On Sat, May 14, 2005 at 07:18:53PM +0100, Sophie Gautier wrote: > >>[...] >>Christian : On this topic (or not far from it) I'm trying to change the >>FR site using css and to get rid of the right navbar. > > > Really mean the right navbar? This is what you have in your html > files... yes, I really mean the right navbar, even if it's in my html file I would like to test having it integrated at the left side. > In your case you cannot simply hide it using css since you specified the > formatting directly in the html and did not use some id or class that > can be referenced in a css-statement. Yes, this is what I want to change in fact. > > So to get rid of it either > * delete it > * add an id to the navbar-table and set "display:none" for that id > * encapsulate the navbar with a div that has an id and hide the div. > > >>For this, before >>doing something, I'm trying to understand the page you've made for the >>DE project on sc40. I'm a bit lost, I might not be a css girl ;) > > > The pages on sc40 were just copied over from the live site and then I > changed the css ID of the navbar-table (because I copied the navbar to > project_tools.html for testing) to not have two items with the same ID. ok, I understand. > > >>Do I have to add this adapted for FR on my pages instead of the usual >>header : > > > No, if you don't want have this stuff, you don't need it. (Esp. the > comments are optional as well, but it helps to identify your statements in > the final page) > > >><!-- Start de-header --> >> <link rel="stylesheet" href="styles/de.css" media="screen" >>type="text/css" /> >> <link rel="stylesheet" href="styles/de_print.css" media="print" >>type="text/css" /> >> <link rel="stylesheet" title="mit Navbar" >> href="styles/de_navbar.css" media="screen" type="text/css" /> >> >> <link rel="alternate stylesheet" title="ohne Navbar" media="screen" >>href="styles/de_nonavbar.css" type="text/css" /> >> <!-- Comment to test HELM-parsing $helmR.getServletName() --> > > > esp. this comment was for testing the staging server. Don't add this to > your html. yes, I understand it > > >> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> >> <!-- > >> Kommentare zur Seite >> $Id: index.html,v 1.6 2005/04/11 17:53:36 cloph Exp $ > > > The above gets updated by cvs automatically, so you always know who did > the last change to the file (and when). > This doesn't need to be placed inside a comment but can be a regular > text as well. yes, I know that cvs comment. > > >> < --> >><!-- End de-header --> >> >>I'm not sure to remember well, but do we have a style sheet per project >>somewhere on SC ? > > > No, this is not defined globally. You define this in the file in cvs. > (You know, nowadays you have complete html-pages in the repository, not > only the body like it was the case in the beginnings). So if you have a > <head>-section and put your link statements there, they will be > recognized by sourcecast and incorporated in the final page. So to > include your project's stylesheet add the line > > <link rel="stylesheet" href="your/style.css" type="text/css" /> > > to your html... great, thanks a lot, that was my 'missing link' to understand :) > > We have an alternate stylesheet that hides our right navbar because some > pages with large tables need some more horizontal space... > > If you don't need/use an additional stylesheet, you don't have to > specify it. ok > > I see your html-code still has this comment... > "<!--Start here. Do not add any header HTML-->" > > but this is now longer necessary - feel free to add header statements > (as a title-attribute or stylesheet information) Yes, my html code is 4 or 3 years old, it need to be update cleanly, and html is not exactly my cup of tea ;) But thanks a lot for your explanations, it will help me a lot. Kind regards Sophie -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 13/05/2005