List Info

Thread: Color in a table using CSS




Color in a table using CSS
country flaguser name
United States
2007-10-15 10:25:35
I'm trying to create my first formtiddler and would like to
set the
colors / colours of some cells

+----------+--------------+
 | Name:| ________ |
+----------+--------------+

Trying to get field names in white on blue

Not sure what's wrong with this: http://tiddl
ywiki.pastebin.com/m45f15a46

Any suggestions?

Thanks if you can help
Paul

Note: I stuck in displayArea after browsing here but it
makes no
difference. Not sure any of this is working!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Color in a table using CSS
user name
2007-10-15 18:10:57
What's with the head and body tags?  Did you actually have
those in
your tiddler, or is that just for testing in a separate html
file?

;Daniel

On 16/10/2007, PJO <ponolangmail.com> wrote:
>
> I'm trying to create my first formtiddler and would
like to set the
> colors / colours of some cells
>
> +----------+--------------+
>  | Name:| ________ |
> +----------+--------------+
>
> Trying to get field names in white on blue
>
> Not sure what's wrong with this: http://tiddl
ywiki.pastebin.com/m45f15a46
>
> Any suggestions?
>
> Thanks if you can help
> Paul
>
> Note: I stuck in displayArea after browsing here but it
makes no
> difference. Not sure any of this is working!
>
>
> >
>


-- 
Daniel Baird
"In teh beginnin Invisible Man was invisible, and he
maded the skiez
and da earths, but he did not eated it." -- Genesis
1:1,
lolcatbible.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Color in a table using CSS
country flaguser name
United States
2007-10-15 19:24:46
Hmm. I started with some stuff I cut and pasted from an
online table
generator... <gulp>. Does this matter?? I'll see...

On Oct 16, 12:10 am, "Daniel Baird"
<danielba...gmail.com> wrote:
> What's with the head and body tags?  Did you actually
have those in
> your tiddler, or is that just for testing in a separate
html file?
>
> ;Daniel
>
> On 16/10/2007, PJO <pono...gmail.com> wrote:
>
>
>
>
>
> > I'm trying to create my first formtiddler and
would like to set the
> > colors / colours of some cells
>
> > +----------+--------------+
> >  | Name:| ________ |
> > +----------+--------------+
>
> > Trying to get field names in white on blue
>
> > Not sure what's wrong with this:http://tiddl
ywiki.pastebin.com/m45f15a46
>
> > Any suggestions?
>
> > Thanks if you can help
> > Paul
>
> > Note: I stuck in displayArea after browsing here
but it makes no
> > difference. Not sure any of this is working!
>
> --
> Daniel Baird
> "In teh beginnin Invisible Man was invisible, and
he maded the skiez
> and da earths, but he did not eated it." --
Genesis 1:1,
> lolcatbible.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Color in a table using CSS
user name
2007-10-15 19:34:17
On 16/10/2007, PJO <ponolangmail.com> wrote:
>
> Hmm. I started with some stuff I cut and pasted from an
online table
> generator... <gulp>. Does this matter?? I'll
see...
>

Grab everything inside the <style> tags, and put that
into your
StyleSheet tiddler (without the style tags themselves).

Then grab everything from inside the body tag, and put that
into a
tiddler, but wrapped in html tags.  Like this:

<html>
<span class= [etc etc]
</span>
</html>

That should show up more-or-less how you expect.

You could use TW markup if you wanted though.. just wrap
your table in
a classed-div like this:
{{creditcard{
..table goes here...
}}}

Then you can target it in CSS specifiers with .creditcard.

Cheers
;Daniel

> On Oct 16, 12:10 am, "Daniel Baird"
<danielba...gmail.com> wrote:
> > What's with the head and body tags?  Did you
actually have those in
> > your tiddler, or is that just for testing in a
separate html file?
> >
> > ;Daniel
> >
> > On 16/10/2007, PJO <pono...gmail.com> wrote:
> >
> >
> >
> >
> >
> > > I'm trying to create my first formtiddler and
would like to set the
> > > colors / colours of some cells
> >
> > > +----------+--------------+
> > >  | Name:| ________ |
> > > +----------+--------------+
> >
> > > Trying to get field names in white on blue
> >
> > > Not sure what's wrong with this:http://tiddl
ywiki.pastebin.com/m45f15a46
> >
> > > Any suggestions?
> >
> > > Thanks if you can help
> > > Paul
> >
> > > Note: I stuck in displayArea after browsing
here but it makes no
> > > difference. Not sure any of this is working!
> >
> > --
> > Daniel Baird
> > "In teh beginnin Invisible Man was invisible,
and he maded the skiez
> > and da earths, but he did not eated it." --
Genesis 1:1,
> > lolcatbible.com
>
>
> >
>


-- 
Daniel Baird
"In teh beginnin Invisible Man was invisible, and he
maded the skiez
and da earths, but he did not eated it." -- Genesis
1:1,
lolcatbible.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Color in a table using CSS
country flaguser name
Germany
2007-10-16 09:28:46
> wrap your table in a classed-div like this:
> {{creditcard{
> ..table goes here...
> }}}

Not sure if this helps here, but there's a way to assign
custom CSS 
classes to tables directly:
     |MyCustomClass|k
     |foo|bar|baz|
     |MyTableCaption|c

(cf. http://www.tiddlywiki.org/wiki/Tables#Custom_CSS_Classes
)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Color in a table using CSS
user name
2007-10-16 18:18:57
On 17/10/2007, FND <Ace_NoOnegmx.net> wrote:
> Not sure if this helps here, but there's a way to
assign custom CSS
> classes to tables directly:
>      |MyCustomClass|k
>      |foo|bar|baz|
>      |MyTableCaption|c
>
> (cf. http://www.tiddlywiki.org/wiki/Tables#Custom_CSS_Classes
)

Good point, that's even better.  I seem to have an aversion
to table
markup -- I think it's a habit built by MediaWiki 


-- 
Daniel Baird
"In teh beginnin Invisible Man was invisible, and he
maded the skiez
and da earths, but he did not eated it." -- Genesis
1:1,
lolcatbible.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )