On 13/12/13 10:58, Coughlan, Barry wrote:
Hmmm,

If you want to use the Bootstrap table styles, you could just copy the classes from CSS and change 
the tags to "table" instead of ".tablestriped" etc.

Barry

Hmmm indeed.

That's probably the best way forward

        Andy

________________________________________
From: Andy Seaborne [[email protected]]
Sent: 12 December 2013 09:39
To: [email protected]
Subject: Re: Web site CSS

Hi Barry,

Yes, that helps ... closer ... but :-) ...

Here's the original table:

| RDFFormat or Lang |                         |
|-------------------|-------------------------|
| TURTLE            | Turtle, pretty printed  |
| TTL               | Same                    |
| NTRIPLES          | N-triples               |
| TRIG              | TriG, pretty printed    |
| NQUADS            |                         |
| RDFXML            | RDF/XML, pretty printed |

No <table>.

The starting point is markdown (IIRC python markdown), and it generates
plain <table> elements.  This is using Apache's CMS and the markdown is
done as an async process to generate static HTML, which isn't terribly
surprising.

(Dave has pointed out that Google autocompletes on
"css assign class<> to element" to which the top hit is "No, that isn't
possible with pure CSS"[1])

         Andy


[1]
http://stackoverflow.com/questions/8008110/assigning-classes-to-elements-through-css

On 11/12/13 23:48, Coughlan, Barry wrote:
Hi Andy,

Bootstrap has built-in classes that you can add to the tables, e.g. <table class="table 
table-striped">.

See here for demo's of the styles: http://getbootstrap.com/css/#tables

Hope that helps,
Barry
________________________________________
From: Andy Seaborne [[email protected]]
Sent: 11 December 2013 22:50
To: [email protected]
Subject: Re: Web site CSS

On 11/12/13 19:16, Samuel Croset wrote:
Andy,

Could you provide example links to the buggy pages? I can have a look at
it; I suspect it comes from the markup (HTML vs markdown). In principles no
extra CSS files should be added to what exists already.

Samuel, hi there,

See the tables:

http://jena.apache.org/documentation/io/rdf-output.html#rdfxml

http://jena.staging.apache.org/documentation/io/rdf-output.html#rdfxml

and other ones on that page.

The tables are <table> without any style/class etc and come from the
markdown.

If there is a better/correct way to do this, please do tell me - I'm
merely blundering around in CSS.

I put

    <link href="/css/jena.css" rel="stylesheet" type="text/css">

into skeleton.html.  There was an old (prev design?) jena.css that was
not being used anywhere.

          Andy



On Wed, Dec 11, 2013 at 8:48 AM, Andy Seaborne <[email protected]> wrote:

There is no local styling on web pages - in particular tables don't have
boarders and shading which makes some pages.

I put in a /css/jena.css and added some table stuff.  Theer are more
commits that really needed because to adding to the skeleton but from now
on experimenting in firebug and then commiting to see what the whole site
looks like on staging worked for me.

Does anyone have any other styling they thing needs doing?

       Andy





Reply via email to