on 01-17-2006 3:45 PM
Hi ,
I am trying to display image in wd project, but it always has white strip at its borders (top, bottom, left, right). i just cant get the image to align to the top, that there will be no spacing between the wd iview and the other iviews on that page.
When I open the image with photo editor the picture look fine and i don't see the white margins.
It's like there is strange container to the wd content that makes the margins , because when display image with jsp i cant see that anoyying white margin at the top ( for example there is no space between the masthead picture to the start of the IE content)
of course the border of the image is 0, there are no padding in the layout nor in the iview parameters.
does anyone know how to get rid of that space above the image.
thanks,
Roni.
I doubt that this border is produced by the Web Dynpro image itself. Which layout has the container of the image?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
By default the image UI element is displayed without borders
see the link
http://help.sap.com/saphelp_nw04/helpdata/en/5c/1b76bc3da0504e8b535cf3e154eaa7/frameset.htm
Regards
Rohit
Ofer,
The problem then is with WD stylesheet.
After rendering to HTML (for HTML browser client), WD links style sheets. They are not redefine padding / margin for <body> HTML element, and by default all browsers apply ~10pt margin.
Correct way is to re-define WD CSS using Theme editor.
For simpler but rather "hacky" approach contact me via e-mail: vsilaev AT gmail DOT com
Valery Silaev
EPAM Systems
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.