Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:51, 23 August 2007.

KIC000536 - Image padding behaviour on the S40 SDK than on the real device

From Forum Nokia Wiki


Different image padding behaviour on the S40 SDK than on the real device
KIC000536
Overview
-
Reported against
Series 40 3rd Edition
Series 40 3rd Edition, FP1
Date identified
December 29, 2006
Symptoms
-
Detailed description
Create content with the Mobile Internet Toolkit and test it with the Series 40 3rd Edition SDK and the Series 40 3rd Edition, Feature Pack 1 SDK. Place two images side by side, for example:
<p>
<img src="images/test__logo.jpg"/><img src="images/test_logo.jpg"/>
</p>
There will be a space between the images.  If you want to remove the spacing between the images by adding the img tag to the CSS file and determining the following line:
img{padding: 0px 0px 0px 0px;margin: 0px 0px 0px 0px;}
the images will be seen without space between them in the emulator window.
However, when the CSS file is tested with the Nokia 6280 (5.92) and the Nokia 5300, there will be space between those two images.  There should be no space, so the images are shown correctly in the SDK but not in real devices.
How to reproduce
-
Solution
-
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZbrowsingQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX