Ticket #427 (closed Bug: fixed)

Opened 2 years ago

Last modified 22 months ago

Bulleted lists don't align properly in Firefox

Reported by: mkoepke Owned by: martinkou
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version: SVN (FCKeditor)
Keywords: Confirmed Firefox Cc:

Description (last modified by martinkou) (diff)

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

Changed 2 years ago by fredck

  • milestone FCKeditor 2.4.3 deleted

Changed 2 years ago by fredck

  • keywords Confirmed Firefox added
  • milestone set to 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.

Changed 2 years ago by fredck

  • component changed from General to Core : Styles

Changed 22 months ago by martinkou

  • owner set to martinkou
  • status changed from new to assigned
  • description modified (diff)

Tidied up the description.

Changed 22 months ago by martinkou

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [804].

Click here for more info about our SVN system.

Changed 22 months ago by martinkou

  • status changed from closed to reopened
  • resolution fixed deleted

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

Changed 22 months ago by martinkou

  • status changed from reopened to closed
  • resolution set to fixed

Fixed with [807].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.