We zijn allemaal vaandeldrager in een optocht van gekwetsten.
Verwijderd
1
2
3
4
| #standaardBox
{
border: 1px solid blue;
} |
En in je html: "voorbeeldje"
1
2
3
| <div id="standaardBox"> Hier komt dus datgene wat ik omkaderd wil hebben </div |
1
| <table width="95%" cellspacing="0" cellpadding="5" align="center" style="border: 1px solid #000000;"> |
Ennuh, je tabellen in procenten maken is vragen om moeilijkheden met diverse resoluties... maargoed, ik zeg niks
heidiulrich.nl | adventura.nl : rugzakavonturen | pathwise.nl : prepping geeks to get jobs
beter nog zo; dit in je head-sectie:
1
2
3
4
5
| <style type="text/css">
table.dunrandje {
border: 1px solid blue;
}
</style> |
met:
1
| <table class="dunrandje" width="95%" cellspacing="0" cellpadding="5" align="center"> |
De rest van de attributen hebben ook CSS-equivalenten; lijkt me een mooie huiswerk opgave voor topicstarter
Intentionally left blank
<style type="text/css">
td{
border-top:0px solid red;
border-right:1px solid red;
border-bottom:1px solid red;
border-left:0px solid red;
}
</style>
Ivm zijn cellspacing van 0 en een border van 2px.
Een duik in CSS lijkt me een goed advies.
Kijk eens of je nog ergens het gratis Topstyle-lite kunt downloaden van www.bradsoft.com
Is imo echt een aanrader om (de beginselen van) css te leren kennen.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
</tr>
<tr>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
<td>Hier komt de inhoud van je table</td>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
</tr>
<tr>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
<td hier de pixel als background height="1" width="1"><hier de pixel als img height="1" width="1"></td>
</tr>
</table> |
...Make every cut count, even if it is one frame...
...Make every cut count, even if it is one frame...
[mode=nonsubtile]Roland: Wat doet pijn?
vieze, ouwe, non-css, slecht onderhoudbare meuk-html doet pijn, denk ik
[/mode]
Hier hoef je tenslotte niets in de tabel aan te roepenDark Blue:
Ja, maar dat is maar de helft van de oplossing. Je zou het dan ook nog weer in de tabel moeten aanroepen. Dit onderstaande werkt meteen:
code:
1 <table width="95%" cellspacing="0" cellpadding="5" align="center" style="border: 1px solid #000000;">
Mja, 't lijkt me idd logischer om classes te gebruiken, want dit mag je eigenlijk niet 2x gebruiken. Een id is maar voor 1 element per pagina.X-terior:
Stylesheets eigenlijk.
code:
1 2 3 4#standaardBox { border: 1px solid blue; }
En in je html: "voorbeeldje"
code:
1 2 3 <div id="standaardBox"> Hier komt dus datgene wat ik omkaderd wil hebben </div
css:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| table.thinline {
border-collapse:collapse;
border:1px solid #000000;
width:95%;
align:center;
margin-left:auto;
margin-right:auto;
}
table.thinline td {
border-collapse:collapse;
border:1px solid #000000;
padding:5px;
} |
html:
1
2
3
4
5
6
| <table class="thinline">
<tr>
<td>Dun lijntje</td>
<td>Vind je niet?</td>
</tr>
</table> |
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
vieze, ouwe, non-css, slecht onderhoudbare meuk-html doet pijn, denk ik
[/mode]
Je haalt me de woorden uit de mond
drm: doe jij altijd andermans huiswerk?
Intentionally left blank
Ja je hebt gelijk, maar ik ben zo weinig met html bezig dat ik css al helemaal links laat liggen.
Maar zo heeft RexomniuM weer wat meer mogelijkheden en oplossingen!
...Make every cut count, even if it is one frame...
Heb er wel een handje van, ja...
edit:
note to /me : niet meer werk voor anderen doen
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
Het is gelukt
We zijn allemaal vaandeldrager in een optocht van gekwetsten.
Dat komt omdat X-terior hem al gauw weer had aangepast voordat jij het las. Het eerste wat er stond in zijn post was een stukje css, het stukje wat je dus in de header moet plaatsen. En het stond er een beetje verloren, zonder uitleg hoe je het dus in de tabel (dmv een class) weer aan moest roepen. Vandaardrm schreef op 27 augustus 2002 @ 10:51:
Hier hoef je tenslotte niets in de tabel aan te roepenIk snap je punt niet helemaal...
heidiulrich.nl | adventura.nl : rugzakavonturen | pathwise.nl : prepping geeks to get jobs
dmv een id dusDark Blue:
Het eerste wat er stond (...) zonder uitleg hoe je het dus in de tabel (dmv een class) weer aan moest roepen. Vandaar
1
2
3
4
5
| #ditiseenID {
}
.ditiseenCLASS {
} |
mgoed, never mind.
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
ik heb nu een mooi dun blauw randje om mijn table heen..
1
2
3
4
5
6
7
8
| .urenTabel {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: xx-small;
font-weight: normal;
color: #000040;
text-decoration: none;
border: 1px solid #000040;
} |
maar hoe krijg ik de lijntjes ertussen ook zo dun..? (dus elke regel.. nu is het alleen de buitenrand)?
1
2
3
4
| table.urenTabel,
table.urenTabel td {
border-collapse:collapse;
} |
Een oud topic kicken + dat dan ook nog eens niet lezen = doorn in mijn oog.
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
Dit topic is gesloten.
![]()