cancel
Showing results for 
Search instead for 
Did you mean: 

How to Align image on top without gap.

Former Member
0 Kudos

Hi All,

I am trying to align image on top of my view as you can see in this current page we have the header image with SAP logo but we have a small gap on top of it with gray background.

I would like to remove this gap, I need to place my header image excately on top without any gaps between the browser and the image on my view.

I have tried most of the image properties but could not attain this.

Points will be given.

Thanks & Regards,

Abhinav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abhinav,

I dont think it is possible, Space is comming from the Design Framework of WebDynpro, Views. If you hapen to select the ROOTUIELEMENTCONTAINER , with view open you can see that it outlines itself. There is still GAP on the top, so no matter what you place in, its gooing to be inside ROOTUIELEMENTCONTAINER... Gap will remain.

May be BSP would allow you achieve that effect , as it offers more controll to HTML displays.

Greetings

Prashant

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sarasvati,

I have tried that and as Prashant mentioned I think WebDynpro framework does not allow us to remove that gap between the browser and the image.

Yes in BSP we can handle this using HTML without any problem.

Thanks & Regards,

Abhinav

Former Member
0 Kudos

Hi Abhinav,

Set the height and width of the image in the properties of the image UI element.

Regards,

Sravanthi