Difference between revisions of "HTML table formatting/borders1"

From Conservapedia
Jump to navigation Jump to search
(fixing)
(testing 1 2 3)
Line 3: Line 3:
 
{{!}}style="border-bottom:1px #AAA solid;"{{!}}
 
{{!}}style="border-bottom:1px #AAA solid;"{{!}}
 
<{{{1}}}>
 
<{{{1}}}>
 +
<TR><TD>blue</TD><TD>skies</TD><TR>
 +
<TR><TD>pink</TD><TD>hearts</TD><TR>
 +
<TR><TD>green</TD><TD>clover</TD><TR>
 +
</table><noinclude>
 +
 +
{| style="margin:1em 1em 1em 0; background:#F9F9F9; border:1px; border:1px #AAA solid; border-collapse:collapse"
 +
!colspan="4" style=" border:1px #AAA solid; background:#F2F2F2;"|Various Tables and Borders<sup>[[#Note|[1]]]</sup>
 +
|-
 +
!style=" border:1px #AAA solid; background:#F2F2F2;"|Code
 +
!style=" border:1px #AAA solid; background:#F2F2F2;"|Result
 +
!style=" border:1px #AAA solid; background:#F2F2F2;"|Code
 +
!style=" border:1px #AAA solid; background:#F2F2F2;"|Result
 +
|-
 +
{{:HTML table formatting/borders1|1=table border='3px'}}
 +
|style="border-right:1px #AAA solid; border-left:1px #AAA solid; border-bottom:1px #AAA solid;"|<code><nowiki><table frame=box rules=all border=2></nowiki></code>
 +
|style="border-bottom:1px #AAA solid;"|
 +
<table frame=box rules=all border=2>
 
<TR><TD>blue</TD><TD>skies</TD><TR>
 
<TR><TD>blue</TD><TD>skies</TD><TR>
 
<TR><TD>pink</TD><TD>hearts</TD><TR>
 
<TR><TD>pink</TD><TD>hearts</TD><TR>
 
<TR><TD>green</TD><TD>clover</TD><TR>
 
<TR><TD>green</TD><TD>clover</TD><TR>
 
</table>
 
</table>
 +
|-
 +
|style="border-right:1px #AAA solid;"|<code><nowiki><table style="border: 1px solid blue"></nowiki></code>
 +
|<table style="border: 1px solid blue">
 +
<TR><TD>blue</TD><TD>skies</TD><TR>
 +
<TR><TD>pink</TD><TD>hearts</TD><TR>
 +
<TR><TD>green</TD><TD>clover</TD><TR>
 +
</table>
 +
|style="border-right:1px #AAA solid; border-left:1px #AAA solid;"|<code><nowiki><</nowiki>table style="border-top:1px solid blue;<br/> border-bottom: 3px solid maroon; <br/>border-right:none; <br/>border-left: 1px double black"<nowiki>></nowiki>
 +
|<table style="border-top: 1px solid blue; border-bottom: 3px solid maroon; border-right:none; border-left: 1px double black;">
 +
<TR><TD>blue</TD><TD>skies</TD><TR>
 +
<TR><TD>pink</TD><TD>hearts</TD><TR>
 +
<TR><TD>green</TD><TD>clover</TD><TR>
 +
</table>
 +
|}

Revision as of 19:38, August 23, 2007

|style="border-right:1px #AAA solid; border-bottom:1px #AAA solid; border-left:1px #AAA solid"|<{{{1}}}>

|style="border-bottom:1px #AAA solid;"| <{{{1}}}>

blueskies pinkhearts greenclover

Various Tables and Borders[1]
Code Result Code Result
<table border='3px'>
blueskies
pinkhearts
greenclover
<table frame=box rules=all border=2>
blueskies
pinkhearts
greenclover
<table style="border: 1px solid blue">
blueskies
pinkhearts
greenclover
<table style="border-top:1px solid blue;
border-bottom: 3px solid maroon;
border-right:none;
border-left: 1px double black">
blueskies
pinkhearts
greenclover