Project

General

Profile

Bug #4075

CSS positioning problem with default.css and @import method

Added by Hubert Borderiou over 7 years ago. Updated almost 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
28/11/2011
Due date:
% Done:

80%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi,

testing another feature, I saw a bug in CSS.
Images are displed in the wrong block if CSS file is called by @import instead of link.

See attached with FF 8.0
Same with IE 8
Same in chrome 11

See attached for the HTML code with the chamilo default.css.


Files

import-link.png (107 KB) import-link.png Hubert Borderiou, 28/11/2011 17:04
default.zip (2.55 KB) default.zip Hubert Borderiou, 28/11/2011 17:04

Associated revisions

Revision 89aedf31 (diff)
Added by Julio Montoya almost 7 years ago

Removing @import using <link> tag see #4075

History

#1

Updated by Laurent Opprecht about 7 years ago

Cheers Hubert,
Wondering whether there is something we can do about it?
I would be tempted this is related to css definition possibly the order of definition that changes?

#2

Updated by Laurent Opprecht about 7 years ago

  • Status changed from New to Needs more info
  • Assignee set to Hubert Borderiou
#3

Updated by Hubert Borderiou about 7 years ago

The bug occured if we add the stylesheet with @import
May be we could replace

<style type="text/css" media="screen, projection">
@import "http://chamilodev-simsu.grenet.fr/main/css/chamilo/default.css";
</style>

with

<link href="http://chamilodev-simsu.grenet.fr/main/css/chamilo/default.css" rel="stylesheet" type="text/css"/>

#4

Updated by Yannick Warnier almost 7 years ago

  • Target version set to 1.9.4
#5

Updated by Julio Montoya almost 7 years ago

  • Status changed from Needs more info to Needs testing
  • Assignee deleted (Hubert Borderiou)
  • Target version changed from 1.9.4 to 1.9.2
  • % Done changed from 0 to 80

I sent a fix for this task

#6

Updated by Julio Montoya almost 7 years ago

  • Status changed from Needs testing to Bug resolved

Also available in: Atom PDF