Opened 18 years ago
Closed 17 years ago
#374 closed Bug (fixed)
sourceArea has right margin
Reported by: | Paul Moers | Owned by: | Hallvord R. M. Steen (Opera Software) |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | Opera Compatibility |
Component: | General | Version: | FCKeditor 2.4.2 |
Keywords: | Cc: |
Description
In source view, the content area has a right margin
Change History (9)
comment:1 Changed 18 years ago by
Keywords: | margin right source view Opera removed |
---|
comment:2 Changed 18 years ago by
comment:3 Changed 18 years ago by
Owner: | set to Hallvord R. M. Steen (Opera Software) |
---|---|
Status: | new → assigned |
comment:4 Changed 17 years ago by
Hallvord, do you still confirm it?
It seams there is no margin with build 9494. There is instead another issue: the scrollbar for the source textarea is out of the editor, cropped at the right, becoming just partially visible.
comment:5 Changed 17 years ago by
It's the same issue - if you remove padding on TEXTAREA it works fine. A small demo on sample01 would be:
javascript:void( FCKeditor1_Frame.document.getElementsByTagName('textarea')[0].style.padding='0px' );
comment:6 Changed 17 years ago by
The textarea padding is set at fck_editor.css , for the ".Source" class. It is used to give a small space (5px) between the text and the textarea borders. If is working well with FF, IE and Safari.
It would be ok to not have that margin, impacting the poor Opera users only. Is there any CSS trick suggestion to hide that entry to Opera, or it must be really done by code?
comment:7 Changed 17 years ago by
Priority: | Normal → High |
---|
This one is causing a terrible user experience.
comment:8 Changed 17 years ago by
How about this:
[CSS browser selector http://rafael.adm.br/css_browser_selector/]
There's a little JavaScript involved, but I can see it being very useful in many other cases.
comment:9 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'm happy to say that the first Opera Beta (build 9608) seams to have completely fixed this issue!
This is reported as Opera bug 262091. Setting padding on the textarea shrinks it.