You are not logged in.
Pages: 1
I need my button menu bar to be 650px, but I need the content inside the editor to be 585px because that is the exact width it will end up on and our users will be submitting images and tables where its important to have formatting precise.
Is there a way to achieve this? Ideally with a border around the edge so users can see the widths.
Thanks for all the help here guys!
Will
------- my xinha wishlist ------
1. ie paragraphs fixed
2. search/replace in source mode
3. div drop downs for dialogs instead of popup windows
Offline
i don't know if i did understand you corrctly.. but why do you not set editor.width to 585px?
Niko
Offline
I want the editor to be larger then the content area for two reasons. 1. to fit all the icons on less rows, 2. if i set the editor width then I have to worry about the scroll bar, which I couldnt seem to get the same width on ie and ff, so the content ended up not being exactly at the width of the editor...
Is it not possible to control the content area seperately?
Thanks
Offline
I think you'll need to play with the width of the iframe in htmlarea.js making it smaller than the editor width.
Offline
Adam, that was it, thanks!
Offline
You could also limit the width using CSS (and you could add your border too)
rift design studio
[url]http://www.riftdesign.com[/url]
Offline
The reason I didn't suggest CSS is that anything within the body of the editor window is editable, so users could have deleted the box. The next 'block' up from that is the iframe, which is really what needed re-sizing, though it might need some CSS on the body to stop scrolling.
Offline
The reason I didn't suggest CSS is that anything within the body of the editor window is editable, so users could have deleted the box. The next 'block' up from that is the iframe, which is really what needed re-sizing, though it might need some CSS on the body to stop scrolling.
I was suggesting that your import a css file / define a class for the content of the frame (which cannot be changed in the editor)
rift design studio
[url]http://www.riftdesign.com[/url]
Offline
Is there a way to control the iframe outside of htmlarea.js ?
Offline
you can access the iframe through
editor._iframe
Niko
Offline
Pages: 1