Re: Problems with class attributes (Was: Choice does not work under link?)
LiuCougar <[email protected]> Mon, 13 Dec 2004 19:53:53 +0000
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 13 Dec 2004 20:20:55 +0100, Christian Stocker <[email protected]> wrote: > > > On 13.12.2004 20:04 Uhr, LiuCougar wrote: > > thanks for your info. Hope it can get sorted out soon. > > The main problem here is, that we translate internally for example > > <link href="foobar"> > to > <span class="link" href="foobar"> > > The original class attribute gets lost ;) The idea was to make it easy > to write your css for those elements: > > .link { whatever you want here} > > But now, we have to keep track of already existing class attributes... > (and you have to adjust your css then) > > one solution is to translate it to > > <span class="link" href="foobar" __bxe_class="originalClass"> > > and then you have to adjust your maybe original CSS to > > .originalClass, *[__bxe_class="originalClass"] {...} > > whereever you want some class dependent styles If I do not specify any classes, than I do not need to modify my existing css file, am I right? > Would that be an ok solution? It only matters for you, if you need > different styles for different classes.. Otherwise you don't have to > adjust anything. I think this solution is reasonable, as long as it does not require me to modify exsting css file if I do not specify class. Regards, -- "People's characters are strengthened through struggle against difficulties; they are weakened by comfort." - Old Chinese adage -- bx-editor-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users