Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-02-08 12:08:51
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Tables in txp
Ok i got my head around tables and how to create them, but ive got a problem.
For some reason when i create the table it ignors my css totally an just uses its own.
Font size is totally out its weird. can anyone shed some light on my problem.
Heres the code im using
“table{border:1px solid black;width:500px}.
{background:#EEEEEE}. |_. Date|_. Time|_. Team|
=. |test|test|test|
=. | test|test|test|”
and here is what the text should look like.
Last edited by ((slimey)) (2006-02-08 12:14:05)
Offline
Re: Tables in txp
Sometimes, I find wraping elements in an identified div works wonders for styling specific elements. Especially when I find that some code is hard to work out through textile.
ie.
<code>
<div id=“event-table”>
YOUR TABLE HERE
</div>
</code>
<code>
CSS
#event-table table{border:1px solid #000; width:500px; background:#EEE;}
#event-table tr{blah}
#event-table td{blah}
#event-table th{blah}
</code>
Last edited by 1beb (2006-02-08 17:18:11)
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
#3 2006-02-09 05:02:07
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: Tables in txp
Thanx haps that has done the job, its funny how the simplest answer can be the heardest to work out on your own, i always think having fresh eyes look at sumthing is the best course of action
Offline
Pages: 1