WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Problems with the keypress, Joacim Mårtensson, July 8, 2003
     Re:Problems with the keypress, Joacim Mårtensson, July 8, 2003
         Re:Problems with the keypress, Johan Hallberg, August 5, 2003

Subject: Re:Problems with the keypress From: Johan Hallberg Date: August 5, 2003

Yes, was just about to tell you that I personally use margin 0px too ;)

From: Joacim Mårtensson
Sent: July 8, 2003
Subject: Re:Problems with the keypress

I think I found a workaround...

Just used and it worked:

p {
 margin: 0px;
}

//Jocke

From: Joacim Mårtensson
Sent: July 8, 2003
Subject: Re:Problems with the keypress

Hi there,

When you have for example a '<div>'-tag in editable mode and press the enter it creates a new paragraph in the html-code of that tag. But when you press 'shift-enter' it just adds a new line to code.

I know how to cancel the press of the 'Enter' key but the problem is that I want to cancel the 'enter' key and send the 'shift-enter' instead. I cant find how to send the shift key through javascript.

Can anybody help me? It enought if it works in IE6.






Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX