Template talk:Subpages7: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>Chris Day
Line 2: Line 2:


Fixed to gray, wiki doesn't like #xxx shorthand. User:Robert W King|Robert W King]] 16:16, 9 July 2007 (CDT)
Fixed to gray, wiki doesn't like #xxx shorthand. User:Robert W King|Robert W King]] 16:16, 9 July 2007 (CDT)
::Strange it does not like the shorthand, it works fine in my browser (here we go again!) [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 16:29, 9 July 2007 (CDT)
:Also, what I couldn't figure out is how to change the background color of the tab if that particular subpage doesn't exist, and disable the wikilink.--[[User:Robert W King|Robert W King]] 16:19, 9 July 2007 (CDT)
:Also, what I couldn't figure out is how to change the background color of the tab if that particular subpage doesn't exist, and disable the wikilink.--[[User:Robert W King|Robert W King]] 16:19, 9 July 2007 (CDT)
::If you use the code used in the other subpages the text will disappear.  That might be enough. Will think about if the colours can be changed using an if statement, it should be possible. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 16:27, 9 July 2007 (CDT)
::If you use the code used in the other subpages the text will disappear.  That might be enough. Will think about if the colours can be changed using an if statement, it should be possible. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 16:27, 9 July 2007 (CDT)

Revision as of 16:29, 9 July 2007

Colors

Fixed to gray, wiki doesn't like #xxx shorthand. User:Robert W King|Robert W King]] 16:16, 9 July 2007 (CDT)

Strange it does not like the shorthand, it works fine in my browser (here we go again!) Chris Day (talk) 16:29, 9 July 2007 (CDT)
Also, what I couldn't figure out is how to change the background color of the tab if that particular subpage doesn't exist, and disable the wikilink.--Robert W King 16:19, 9 July 2007 (CDT)
If you use the code used in the other subpages the text will disappear. That might be enough. Will think about if the colours can be changed using an if statement, it should be possible. Chris Day (talk) 16:27, 9 July 2007 (CDT)

Ignore

<style type="text/css">
body{padding: 20px;background-color: #FFF;}
p{margin: 0 10px}
p{padding-bottom:1em}
div#nifty{ margin: 0 10%;background: #9BD1FA}
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;
    overflow: hidden; background: #9BD1FA}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
</style>
</head>
<body>
<div id="nifty">
<b class="rtop">
<b class="r1"></b>
<b class="r2"></b>
<b class="r3"></b>
<b class="r4"></b>
</b>
Nifty Corners
Rounded corners without images
<b class="rbottom">
<b class="r4"></b>
<b class="r3"></b>
<b class="r2"></b>
<b class="r1"></b>
</b>
</div>