From: Marjorie R. <mro...@ma...> - 2002-12-11 04:45:00
|
I'm realizing that the only thing that my edit of Portland.css accomplished was to make the words at the top small. I've never worked with multiple stylesheets like this before, and I admit, that after an hour of searching, I'm still stymied. I want the top line (wiki | About Wiki) fairly large (as it was), and the body/CONTENT small. (I think the current large font looks awful.) I did find an unsatisfactory solution by going into body.tmpl and surrounding the CONTENT section with a <font size = -2> tag. The problem with this is that the spacing (and the bullets) are still the +2 size. Doesn't look good. (I deleted that.) Feels dumb to be so bogged down by this, but bogged I am... Margie ---------- Original Message ---------------------------------- From: "Marjorie Roswell" <mro...@ma...> Reply-To: <mro...@ma...> Date: Tue, 10 Dec 2002 23:06:02 -0500 >I edited portland.css to have this style, copied from the <p> code at >http://www.alertnet.org/thenews/newsdesk/N10167436 > >body { >font-family: verdana, sans-serif; >font-size: 8pt; >text-decoration: none; >color : black; >} > > >But my fonts are still huge on my actual www.rawfoodwiki.org. > >What's making the font so big? I've looked in body.tmpl, and it just refers to CONTENT. I've grepped a bunch of directories for CONTENT, but haven't been successful in tracking down where the large size font is coming into play. > >Any clues appreciated. |
From: Marjorie R. <mro...@ma...> - 2002-12-11 16:03:15
|
That 'almost' worked a charm. Definitely helps a lot. But the "wiki home | about wiki | search" at the top of the page (rawfoodwiki.org) is also affected by that, and it looks a little odd. I guess I can make the search button smaller in body.tmpl to compensate. But isn't there _something_ that is making the text unnaturally large somewhere along the way, to begin with? I am familiar with css by the way. It's just these multiple stylesheets, combined with the templates and themes, combined with the fact that some Portland templates apparently still access the /default directory, combined with the gadzillions of php code files that has me not too certain of what has priority, what overrides what, etc. I am VERY appreciative of the help of this group. Thanks! Appreciatively, Margie ---------- Original Message ---------------------------------- From: "Ted Vinke" <te...@jo...> Date: Wed, 11 Dec 2002 10:39:26 +0100 >Hi, > >try > >body, table { >font-family: verdana, sans-serif; >font-size: 8pt; >text-decoration: none; >color : black; >} > >and see if it makes any difference. > >Regards, Ted > >-----Oorspronkelijk bericht----- >Van: php...@li... >[mailto:php...@li...]Namens Marjorie Roswell >Verzonden: woensdag 11 december 2002 5:06 >Aan: php...@li... >Onderwerp: [Phpwiki-talk] Another dumb "can't-track-it-down" question: >why huge fonts > > >I edited portland.css to have this style, copied from the <p> code at >http://www.alertnet.org/thenews/newsdesk/N10167436 > >body { >font-family: verdana, sans-serif; >font-size: 8pt; >text-decoration: none; >color : black; >} > > >But my fonts are still huge on my actual www.rawfoodwiki.org. > >What's making the font so big? I've looked in body.tmpl, and it just refers >to CONTENT. I've grepped a bunch of directories for CONTENT, but haven't >been successful in tracking down where the large size font is coming into >play. > >Any clues appreciated. > > >------------------------------------------------------- >This sf.net email is sponsored by: >With Great Power, Comes Great Responsibility >Learn to use your power at OSDN's High Performance Computing Channel >http://hpc.devchannel.org/ >_______________________________________________ >Phpwiki-talk mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > > >------------------------------------------------------- >This sf.net email is sponsored by: >With Great Power, Comes Great Responsibility >Learn to use your power at OSDN's High Performance Computing Channel >http://hpc.devchannel.org/ >_______________________________________________ >Phpwiki-talk mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > |
From: Carsten K. <car...@us...> - 2002-12-11 05:35:03
|
Hi, PhpWiki uses css almost exclusively to define the page appearance, so you need to look at editing the style sheet file http://www.rawfoodwiki.org/themes/Portland/portland.css. A good online authoritative reference for CSS can be found at: http://www.w3.org/TR/REC-CSS2/ Note that how a page appears in a browser will be unpredictable if there is a mixture of html styles AND css styles, it will depend on the individual browser. PhpWiki out of the box is set to use XHTML which is similar to HTML 4. If you decide to forgo css and only work with the older HTML tags like <font size=...> it would be a good idea to adjust head.tmpl to reflect the html code you use to help out the browser trying to render the page. (For your setup I would copy wiki/themes/default/templates/head.tmpl into wiki/themes/Portland/templates/head.tmpl and edit the copy.) html 4 reference: http://www.w3.org/TR/html4/ Carsten On Tuesday, December 10, 2002, at 11:44 pm, Marjorie Roswell wrote: > I did find an unsatisfactory solution by going into body.tmpl and > surrounding the CONTENT section with a <font size = -2> tag. The > problem with this is that the spacing (and the bullets) are still the > +2 size. Doesn't look good. (I deleted that.) |