[opencms-dev] Interesting Behaviour: WYSIWYG editor removes empty anchors

Brian Fending fendingb at buffalolib.org
Tue Apr 6 21:44:02 CEST 2004


This is a good workaround which speaks to the limitations of HTML, not
necessarily the product.

But to be clean(er) about it, try indicating border=0...

	<a name='wobble'>
	<img src='images/blanker.gif'
	width='1' height='1' border='0'>
	</a>Text to jump to

...which will assure that nothing has any indication of a link, regardless
of stylesheet references.

/BF

-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]On Behalf Of Geoff Winkless
Sent: Tuesday, April 06, 2004 5:11 AM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Interesting Behaviour: WYSIWYG editor removes
empty anchors


06 April 2004 11:07, Mark Miller wrote:
> I get round this by using a blank gif ... eg.
>
> <a name='wobble'><img src='images/blanker.gif' width='1px'
> height='1px'></a>Text to jump to
>
> and then create my blanker.gif as a 1 x 1 gif with a transparent
> background ... keeps all agents happy.

Oh right! Is there any reason not to just put the anchor around the text
itself - does that cause more problems?

Geoff


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list