Got it:
  <style>
    #bordered, #bordered th, #bordered td {border: 1px solid black; 
border-collaps: collaps;}
  </style>
  <body>
<table id="bordered">

thx






Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist


T +31888663107
M +31630381220
E [email protected]<mailto:[email protected]>

Location<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>



[cid:[email protected]]<http://www.tno.nl/>

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.









From: Bohms, H.M. (Michel)
Sent: Thursday, November 30, 2017 2:02 PM
To: '[email protected]' <[email protected]>
Subject: RE: [topbraid-users] one more issue on rdf:HTML

Ok, since I do not want to that for every  tr/td I guess the class way is best.

Now have:

  <style>
    table.bordered {border: 1px solid black; border-collaps: collaps;}
  </style>
  <body>
<table class="bordered">

That goes fine for total table.

But how now to say the same style for the th/td cells WITHIN that table 
(without the global effect)

I know, question is way out of scope but if you have a tip from your 
experience……tx a lot






Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

T +31888663107
M +31630381220
E [email protected]<mailto:[email protected]>

Location<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>



[cid:[email protected]]<http://www.tno.nl/>

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.









From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Holger Knublauch
Sent: Thursday, November 30, 2017 12:13 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [topbraid-users] one more issue on rdf:HTML

Your code is declaring a global CSS style, so of course it will affect any 
other places where table, th and td are used. You need to change the code of 
your table mark-up to use CSS classes, and then define the style of these CSS 
classes as style. Or use inline styles such as <table style="border: 1px solid 
black">...

Holger
On 30/11/2017 20:03, Bohms, H.M. (Michel) wrote:
To compensate for some CSS-class info from the source- wiki-data I have to add 
some extra style info to my html table to get some visible borders of table and 
cells.
So I only add this style info:

“
<style>
table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
</style>
“
To my table rdf:HTML data.

To my surprise, the effect in EVN/EDG is not only a bordered table, but the 
whole window gets bordered 😊.

Was this to be expected?

[cid:[email protected]]
Luckily also the actual table is fine (except for the footnote handling, but 
that might be another style-issue)
[cid:[email protected]]

But still strange…..

Any explanation or workaround to only have the tables changed welcome,
Michel



Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist


T +31888663107
M +31630381220
E [email protected]<mailto:[email protected]>

Location<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b58c52869997:0x56681566be3b8c88%218m2%213d52.000788%214d4.376707>



[cid:[email protected]]<http://www.tno.nl/>

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.









--
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to