[Typo3] Aesthetic problems
Mauro Lorenzutti
mauro.lorenzutti at webformat.com
Fri Jan 28 11:12:02 CET 2005
I have this problem too. In the external css file I override the
default styles only for the interesting DIV. For example, this is the
output of styled sheet content:
<!-- CONTENT ELEMENT, uid:7/text [begin] -->
<a name="7"></a>
<!-- Header: [begin] -->
<div class="csc-header csc-header-n2"><h1>Title</h1></div>
<!-- Header: [end] -->
<!-- Text: [begin] -->
<p class="bodytext">Text</p>
<!-- Text: [end] -->
<!-- CONTENT ELEMENT, uid:7/text [end] -->
First I include all in a new div in my template:
<div id="content">
...
</div>
After, in my css file I write this:
#content P {
margin-top: 0px;
margin-bottom: 0px;
}
In this way you can redefine only the styles you want.
If you want to change this behavior in only one content,
I don't know how to do this in this moment. Sorry
RE> Thanks but I mean the stuff that typo3 itself spits out. ie When I insert a
RE> file list, Typo3 automatically shoves in a paragraph tag above it. I don't
RE> want to alter the margins in my style sheet because that will effect all my
RE> paragraphs.
RE> -----Original Message-----
RE> From: typo3-english-bounces at lists.netfielders.de
RE> [mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Mauro
RE> Lorenzutti
RE> Sent: 28 January 2005 09:50
RE> To: TYPO3 English
RE> Subject: Re: [Typo3] Aesthetic problems
RE> Hi Emma,
RE> I use css styled content too and I control the style with an external
RE> css file which overrides the default styles. In this way I can use
RE> different css for screen and for print devices:
RE> page.includeCSS {
RE> file1 = fileadmin/style.css
RE> file1.media = screen
RE> file2 = fileadmin/print.css
RE> file2.media = print
RE> }
RE> This isn't the only way but it's my preferred one :-)
RE>> How can I aquire much more control of the styles in Typo3? I'm useing
RE> css
RE>> styled content but Typo3 seems to stick in random <p> tags all over the
RE>> place which gives me nasty spaces everwhere. The filelinks feature is
RE>> particularily bad.
RE>> Had a look at the object browser but I don't have a clue what to edit.
RE> Cordiali saluti,
RE> Mauro
RE> e-mail: mauro.lorenzutti at webformat.com
RE> ---------------------------------------------------------
RE> WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
RE> Tel +39-0427-926.389 -- Fax +39-0427-927.653
RE> info at webformat.com -- www.webformat.com
RE> ---------------------------------------------------------
RE> _______________________________________________
RE> Typo3-english mailing list
RE> Typo3-english at lists.netfielders.de
RE> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
RE> _________________________________________________________________
RE> NHS National Services Scotland Disclaimer
RE> The information contained in this message may be confidential or
RE> legally privileged and is intended for the addressee only. If you have
RE> received this message in error or there are any problems please notify the
RE> originator immediately. The unauthorised use, disclosure, copying or
RE> alteration of this message is strictly forbidden.
RE> _________________________________________________________________
RE> _______________________________________________
RE> Typo3-english mailing list
RE> Typo3-english at lists.netfielders.de
RE> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Cordiali saluti,
Mauro
e-mail: mauro.lorenzutti at webformat.com
---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
Tel +39-0427-926.389 -- Fax +39-0427-927.653
info at webformat.com -- www.webformat.com
---------------------------------------------------------
More information about the TYPO3-english
mailing list