,
,
etc) -- not on an inline element (e.g. ).
You'd be better off using client-side scripting. Something like:
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 27 days, 12:59.]
PHP Linkifier
http://tobyinkster.co.uk/blog/2007/07/18/linkify/
Re: Changing Data Values using CSS
am 18.07.2007 22:03:59 von jmm-list-gn
sgconger@gmail.com wrote:
> I have a list of data values that are in an html 1. My List
> One. I want to be able in CSS (not change the html) to remove
> the 1. so that when it is displayed all I get is My List One. It
> seems like there should be a way to do this using CSS. Any help would
> be greatly appreciated.
>
An URL to a test case would be useful.
Is the list in an actual list element like an
? Or a pseudo-list of
some sort?
Given that you have the , I'd guess a pseudo-list. In that case
use another to control the presence of the number:
1. My List One
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Re: Changing Data Values using CSS
am 18.07.2007 22:28:34 von Mark Barratt
wrote...
> I have a list of data values that are in an html 1. My List
> One. I want to be able in CSS (not change the html) to remove
> the 1. so that when it is displayed all I get is My List One. It
> seems like there should be a way to do this using CSS. Any help would
> be greatly appreciated.
You can't actually process the html content with CSS - that's not=20
what CSS does.
You should be able to hide the beginning of each item by=20
positioning it negatively in a block, and setting the block's=20
overflow property to hidden. This would take some fiddling around=20
to work properly in all browsers, however.
--=20
Mark Barratt, angoltan=E1r budapesten
http://www.geocities.com/nyelvmark