Thanks for the reminder Jochem. :) I forget you can do that
with css... I guess avoiding span tags is an old habbit for
me.
S.Isaac Dealey wrote:
A div, yes... but the question was about a span.
Sure it can receive borders. Just use display: block and
suddenly it isn't an inline element
-Talk [EMAIL PROTECTED]
Sent: Aug 21, 2003 01:17 PM
Subject: Re: CSS guidelines
What's the difference between using a class inside a table cell tag and
using a span tag in a table cell?
Something like:
td class=myClass/td
tdspan class=myClass/span/td
Thanks.
Dave
HTC Disclaimer: The information
]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 3:10 PM
Subject: Re: CSS guidelines
Use the class in the table data cell if possible. The span is just an
extra widget without any purpose of it's own (in this case), and the span
tag can't receive certain css attributes, such as iirc
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 3:10 PM
Subject: Re: CSS guidelines
Use the class in the table data cell if possible. The
span is just an
extra widget without any purpose of it's own (in this
case
S.Isaac Dealey wrote:
A div, yes... but the question was about a span.
Sure it can receive borders. Just use display: block and
suddenly it isn't an inline element anymore :-)
Jochem
~|
Archives:
Details, details. But yes, border can be applied to all elements. :-)
-Kevin
- Original Message -
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 7:03 PM
Subject: Re: CSS guidelines
A div, yes... but the question was about a span
What's the difference between using a class inside a table cell tag and
using a span tag in a table cell?
Something like:
td class=myClass/td
tdspan class=myClass/span/td
Thanks.
Dave
HTC Disclaimer: The information contained in this message may be privileged and
confidential and
Programmer
BloodSource
Sacramento, CA
-Original Message-
From: Bosky, Dave [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 10:18 AM
To: CF-Talk
Subject: CSS guidelines
What's the difference between using a class inside a table cell tag and
using a span tag in a table cell
like td, div, or p.
-Kevin
- Original Message -
From: Bosky, Dave [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 12:17 PM
Subject: CSS guidelines
What's the difference between using a class inside a table cell tag and
using a span tag in a table cell
-
Vancouver Island ColdFusion Users Group
Founder Director
www.cfug-vancouverisland.com
- Original Message -
From: Bosky, Dave [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 10:17 AM
Subject: CSS
- Original Message -
From: Bosky, Dave [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 10:17 AM
Subject: CSS guidelines
What's the difference between using a class inside a table cell tag and
using a span tag in a table cell?
Something like:
td class
/workshop/author/dhtml/reference/objects/span.asp
Tyler Clendenin
GSL Solutions
-Original Message-
From: Bosky, Dave [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 12:18 PM
To: CF-Talk
Subject: CSS guidelines
What's the difference between using a class inside a table cell tag
Nothing really important, other than the ability to do a few extra
things to a span, like positioning. Might be useful if there was
already a css rule set for the td and you wanted to override one of
them for one particular element, or you wanted to style only some of
the contents of the td.
Also
Howdy Dave,
Thursday, August 21, 2003, 12:17:48 PM, Bosky, Dave wrote:
What's the difference between using a class inside a table cell tag and
using a span tag in a table cell?
Something like:
td class=myClass/td
tdspan class=myClass/span/td
I believe the difference is in the first case
, Dave [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 12:17 PM
Subject: CSS guidelines
What's the difference between using a class inside a table cell tag and
using a span tag in a table cell?
Something like:
td class=myClass/td
tdspan class=myClass/span/td
Well for one - in the first example your actually applying that class to
the td AND the content within.
The second - you are specifically only applying it to the content within.
hth
jay miller
Bosky, Dave wrote:
What's the difference between using a class inside a table cell tag and
using a
: Thursday, August 21, 2003 3:46 PM
Subject: Re: CSS guidelines
There are still a few lingering browsers which won't apply styles within
a td, including, I think, NS4.7 and on down. I don't know if that's
important in your context.
Hope this is useful,
James Edmunds
Kevin Graeme wrote
17 matches
Mail list logo