Forum Moderators: not2easy

Message Too Old, No Replies

Using CSS in wiki

         

stanley2

9:31 am on Aug 31, 2006 (gmt 0)

10+ Year Member



I have tried using CSS in wiki, but faced many problems. Is it impossible with wiki or I can perform some limited actions only?

Ingolemo

4:46 pm on Aug 31, 2006 (gmt 0)

10+ Year Member



Could you give a little more information such as which wiki software you're using?

stanley2

7:55 am on Sep 13, 2006 (gmt 0)

10+ Year Member



I don’t know which software it is. Actually I went to a site and tried to edit the wiki pages their. I used the code:

<span style="color: red; text-decoration: blink;">'''NEW!'''</span>

It is working fine in Mozilla Firefox, but it is not blinking in IE. What is the problem actually? I can post a link here, but that is not permitted I think. Please check your inbox.

Setek

9:00 am on Sep 13, 2006 (gmt 0)

10+ Year Member



AFAIK, blink doesn't work in IE - I was fairly sure it didn't accept the
<blink>
tags either.

Which is interesting, since blink is deprecated/removed now, isn't it?

So one wonders why a standards-compliant browser still renders it?

Bottom line: blink is not supported by IE, neither through

text-decoration
nor
<blink>
.

[edited by: Setek at 9:01 am (utc) on Sep. 13, 2006]

penders

9:25 am on Sep 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've had a similar problem trying to style things in eBay, although it is possible (in eBay), you just have to be very careful and be prepared to change things.

<span style="color: red; text-decoration: blink;">'''NEW!'''</span>

ASIDE... It may not be a good idea styling or even mentioning something as simply being 'NEW' in a document, such as a Wiki, since it's not going to be 'NEW' forever, so it would have to be edited again at some point. Perhaps, "New - Date..."?

Ingolemo

10:28 am on Sep 13, 2006 (gmt 0)

10+ Year Member



While this has no bearing on the original problem, if there is any more discussion here then it may be useful to know that the site in question is running MediaWiki.

icantthinkofone

12:50 pm on Sep 13, 2006 (gmt 0)

10+ Year Member



What software you use has no bearing on whether CSS will work. The software may make it difficult or impossible to insert the code but just because it's a wiki does not make css not work.

penders

2:06 pm on Sep 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hang on a sec...

It is working fine in Mozilla Firefox...

I think I must have misread, so the inline style IS working in Wiki (ie. it's 'red'), it's just that the 'blink' isn't working in IE, because IE doesn't support it!?

What software you use has no bearing on whether CSS will work. The software may make it difficult or impossible to insert the code but just because it's a wiki does not make css not work.

Yeah well, I think 'the software' may remove the CSS (or part of) before it is passed to the browser, so it looks like the CSS is not working, even though it may still let you enter the CSS in the first place - I think that's what the original post is all about.