Closed Bug 213870 Opened 22 years ago Closed 22 years ago

Composer Tables are not displayed correctly in Internet explorer

Categories

(SeaMonkey :: Composer, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 192217

People

(Reporter: ansum, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 With preferences set to "use css styles..." composer often adds an style="text-align: left" to the table properties. IE interprets this as equal to align="left" which means that centered tables are not aligned correctly. Is it really necessary to always add default settings ? Every browser will align to the left if nothing different is specified. The same with "margin-left:auto; and "margin-right:auto" styles. I wuld rather not have them but there is no way to switch the automatic insertion of redundant styles off. These can BTW come in conflict with HTML-elements because Composer does not seem to check the consistency/redundancy of css styles and html elements within a tag. finding an error (which is often introduced through the automativc insertion of redundant styles) can get very difficult. thanks for listening Please note: Yes, I am well aware that this is no IE Bug tracker. I really do not know who is interpreting the text-align style corrrectly: mozilla or ie. I am using mozilla as my main web editor and I have to make sure that my pages are displayed satisfactorily by all browsers. Thanks. Reproducible: Always Steps to Reproduce: 1. create a table 2. open the advanced properteis dialog, add an "align=left" element. then go to the inline styles tab and remove the "text-align:left" style 3. close dialog and open it again. result: the unwanted text-align style is back and now two redundant margin-left and margin-right styles are added on top. Actual Results: IE explorer displays the table not centered but aligned to the left. Expected Results: I would have liked to see that the redundant styles are left away. especially after I removed them manually. I think this is a major bug because it prevents me from creating cross braowser compatible web pages using mozills composer (which is otherwise my preferred tool).
Sorry, there is a typo in the steps to reproduce the bug: instead of: 2. open the advanced properteis dialog, add an "align=left" element. then go to the inline styles tab and remove the "text-align:left" style it should be: 2. open the advanced properteis dialog, add an "ALIGN=CENTER" element. then go to the inline styles tab and remove the "text-align:left" style
No difficulties removing the style attirbute and adding the html attribute from the html source edit view. When making the change from the table advanced edit dialog, my changes weren't saved correcly as reported above. Tested Mozilla 20040324 on winXP. I believe that this is a duplicate of bug 192217 *** This bug has been marked as a duplicate of 192217 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.