View Single Post
Old 25-02-2005, 13:20   #16
ikthius
Inactive
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,165
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
Re: CSS can you suggest?

hey guys, I have a few probs, with css again, but I will do this one at a time.

first of all

if I have a tabel and in the table data i have made the contents be justified using css, can I make a span with its own unique id to have different attributes.

e.g.
css
td {border:2px; text-align:justify;}
span#bc {font-weight:bold; text-align:center;}

<table>
<tr><td><span id="bc">heading</span><br>
I want the above heading to be centred in the table data cell but have this all justified, is it possible?
</td></tr>
</table>

or because I have the td justified the span is overridden?

ik
ikthius is offline   Reply With Quote