Bug #16573

The Image pagecontent looks wrong in MISE

Added by Alex about 13 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2006-09-18
Due date:
% Done:

0%

TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Here is the page in question (please note that the site is in russian and deeply under construction):
http://cleaning.123chisto.ru/index.php?id=12

Number of columns for Image content element is set to 2 in BE.
When looked on in Firefox the pictures show in 2 columns, as was intended, but this is not the case for MSIE.

Here is a similar page with images of smaller size:
http://cleaning.123chisto.ru/index.php?id=7

I experimented with the HTML code and discovered that the problem disappears when width is set to 285 instead of 295 in
<DT><IMG height=221 alt="" src="before_after_files/1a.gif"
width=295 border=0>

I am enclosing the file with content of the CONSTANTS and SETUP fields
as shown in Template analyzer.

I am very new to Typo3, so it may well be some trivial issue that I am overlooking here.

I would be very grateful for any advise on the matter.

Alex
(issue imported from #M4243)

tmpl_analyzer.txt View (37 KB) Administrator Admin, 2006-09-18 10:41

History

#1 Updated by Alex about 13 years ago

I am using TYPO3 Ver. 4.0

#2 Updated by Helmut Hummel about 13 years ago

This is no problem of css-styled-content but a general problem in your site-layout. The IE is interpreting margins, paddings and borders slightly different as e.g. firefox. The table-cell for the content is too small for IE, so it wraps the content, that does not fit. So you either have to make the pictures smaller or the content table cell bigger.

#3 Updated by Alex about 13 years ago

Dear Helmut,
thank you for your response.

Width of the table cell is set to 100% in the template, and
I tryed to make pictures smaller as the first thing, but it didn't work. The problem persisted for images of any size.

It was the style for content element that caused it. I had the following
.content {
/* some styles */
text-indent:10px;
}
in the styles. Commenting the text-indent line out solved the problem.
It affected the things even though there was no text on the page.

#4 Updated by Michael Scharkow about 13 years ago

I guess this was not a TYPO3 bug then.

Also available in: Atom PDF