[pmwiki-users] Changing width of '----' horizontal rule

John Rankin john.rankin at affinity.co.nz
Thu Jul 24 21:58:52 CDT 2008


>From: "kirpi at kirpi.it" <kirpi at kirpi.it>
>Subject: [pmwiki-users] Changing width of '----' horizontal rule
>To: schilkek at onid.orst.edu
>Cc: PmWiki-Users List <pmwiki-users at pmichaud.com>
>
>This works for me
>
>    >>width=50pct<<
>    ----
>    >><<
>
>Please see http://www.kirpi.it/wiki/pmwiki.php?n=Test.ShortLine
>
>Luigi
>
O-T perhaps, but I like to use the Golden Ratio for partial
width rules, either 61.8pct or 38.2pct. See
http://en.wikipedia.org/wiki/Golden_ratio

You can put this in the CSS so all rules are the desired width:
#wikitext hr { 
	border: 0;
	width: 61.8%;
	color: #e66e31;
	background-color: #e66e31;
	height: 1px;
}
This changes the colour as well; pick one you like.

JR
-- 
John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
021 RANKIN
john.rankin at affinity.co.nz
www.affinity.co.nz





More information about the pmwiki-users mailing list