[Home]CSSOnlyStyling

UseModWiki | RecentChanges | Preferences

Description

This is a mod to take out some of the fixed formating that is in the wiki and leave it up to the CSS file. Have just started with a few obvious ones, but it would seem better if this was all controlled from a default CSS file.

If anyone has other candidates then please add them. Thanks. -- MarkButler

I know that they are already CSS classed, but it seems that the HR can be more sensibly done with the CSS control of the surrounding classes.


I have changed my mind and I now see that it is useful for non css installs so I will simply be adding:

 hr.wikilinefooter, hr.wikilineheader { display:none; };

to the sample css file. --MarkButler

The Mod

574,576d577
<   if (!&GetParam('embed', $EmbedWiki)) {
<     $fullHtml .= "<hr class=wikilinefooter>\n";
<   }
582d582
<     print "<hr class=wikilinefooter>\n"  if (!&GetParam('embed', $EmbedWiki));
1315c1315
<     $result .= &GetGotoBar($id) . "<hr class=wikilineheader>";
---
>     $result .= &GetGotoBar($id);
1453c1453
<   $html = '<hr class=wikilinefooter>' . '<div class=wikifooter>'
---
>   $html = '<div class=wikifooter>'
3288d3287
<   print "<hr class=wikilinefooter>\n";
3299c3298
<     print &WikiToHTML($oldText) . "<hr class=wikilinefooter>\n";
---
>     print &WikiToHTML($oldText);
3407d3405
<   print "<hr class=wikilinefooter>\n";
3630d3627
<   print "<hr class=wikilinefooter>\n";
3662d3658
<   print "<hr class=wikilinefooter>\n";
4422d4417
<   print "<hr class=wikilinefooter>\n";
4474d4468
<   print "<hr class=wikilinefooter>\n";

Comments


UseModWiki | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited December 8, 2003 3:40 pm by MarkButler (diff)
Search: