Thanks guys, I have managed to achieve it with a combination of 'white-space: nowrap;' (to ensure it does not wrap onto another line) and javascript scrollWidth.
I am looking for a rich text editor that allows you to enter/paste special characters froms sites such as Facebook. I currently use TinyMCE but this, does not compile the characters...
The $('.container-center form',window.parent.document) selects the 'form' within the div with class 'container-center' in the parent window. Exactly the same...
I am probably missing something in my code but I cannot seem to work out why this is happening. The following script works fine when using strings but as soon as I try to increment an integer in my...
Thanks qrizly, I have sorted it by using a different method. I didn't like how 'match against' only matches full words so for instance if I typed 'hel', it wouldn't find 'hello'!
I have posted this thread in the javascript forum because the Facebook Apps are made with javascript. Does anyone know anywhere on the net where I can learn very quickly how to put together a...
Very quick question. Is it possible to have too many jQuery 'live' functions at once. I have quite a few on my page and when I added one last night one of the other stopped working. I haven't touched...
I have managed to get the mainContainer to resize with the content container by setting position to relative on the 'mainContainer' and the 'wrapper', whilst also removing the height:100%.
No, that is my fault. The CSS I attached was the original CSS. I have since changed the .content div to have a style of simply 'width:100%;' and nothing else.
I apologise for the misunderstanding, I didn't mean it like that at all. I was hoping that someone might know a fix that I am not aware of or alternatively see where I have gone wrong.
Thanks aj_nsc. I am not a beginner to this code and resultantly am very aware of how all the position styles work. I didn't really explain too well what my problem is
I am trying to get my 'mainContainer' to automatically adjust its height relative to the content within it. The problem is, my 'mainContainer' has a position:absolute. Is there any way I can (without...