Opened 10 years ago

Closed 10 years ago

#427 closed Bug (fixed)

Bulleted lists don't align properly in Firefox

Reported by: Mike Koepke Owned by: Martin Kou
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Firefox Cc:

Description (last modified by Martin Kou)

Centering and right justifying a bulleted list doesn't behave properly in Firefox. IE7 worked correctly.

Using the test site:

  1. Create a simple bulleted list. Hit UL on toolbar
  2. Enter line 1, enter, line 2, enter, line 3, line 4
  3. Highlight the list and hit Center Justify. Line x test is justified but bullets remain left justified.
  4. Source created:
    <ul>
        <li>
        <div align="center">Line 1</div>
        </li>
        <li>
        <div align="center">Line 2</div>
        </li>
        <li>
        <div align="center">Line 3</div>
        </li>
        <li>
        <div align="center">Line 4</div>
        </li>
    </ul>
    
  5. Repeating to right justify. Text is correctly right justified but bullets stay left justified.

Note: Make sure that the browser cache is cleared before trying to reproduce.

Change History (7)

comment:1 Changed 10 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.4.3

comment:2 Changed 10 years ago by Frederico Caldeira Knabben

Keywords: Confirmed Firefox added
Milestone: FCKeditor 2.5

Confirmed with FF2. Ok with IE6.

Both browsers (IE and FF) produce the same HTML in this case. The problem here is the way FF renders that HTML, which differs from IE. So, this is, for now, a browser compatibility issue.

The solution for it would be making <li style="text-align:center"> instead.

Let's see if the new Styles System will help us solving this issue.

comment:3 Changed 10 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Styles

comment:4 Changed 10 years ago by Martin Kou

Description: modified (diff)
Owner: set to Martin Kou
Status: newassigned

Tidied up the description.

comment:5 Changed 10 years ago by Martin Kou

Resolution: fixed
Status: assignedclosed

Fixed with [804].

Click here for more info about our SVN system.

comment:6 Changed 10 years ago by Martin Kou

Resolution: fixed
Status: closedreopened

The justify commands don't work when multiple blocks are selected after [804], reopening ticket.

comment:7 Changed 10 years ago by Martin Kou

Resolution: fixed
Status: reopenedclosed

Fixed with [807].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy