• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

leaves gap after inserting image.

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
add new stock n all buttons looks normal in this image.but after adding image it leaves gap.how should I remove this gap?
Screenshot_18.png
[Thumbnail for Screenshot_18.png]
add new stock n all buttons looks normal in this webpage.
Screenshot_17.png
[Thumbnail for Screenshot_17.png]
but after adding image it leaves gap.
 
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please explain all the details. Your grammar and punctuation make your post even harder to understand, but it is not at all clear what the problem is. Nor even what the picture is, a GUI, webpage or what. Start by telling us with correct spellings and punctuation what the photo shows, how you set the display out, etc.
 
sarojni agrwal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for the inconvenience, actually I am building jewellery management system project on servlet, jsp, jstl and jdbc, here, this is the front-end design of my webpage, so I used html and Css here, The buttons shows here, like "add new stock" "add new item" etc looks without gap. But as I inserted gold image on my webpage , all button scroll vertically. How to fix this?


Screenshot_18.png
[Thumbnail for Screenshot_18.png]
The buttons shows here, like "add new stock" "add new item" etc looks without gap.
Screenshot_17.png
[Thumbnail for Screenshot_17.png]
But as i inserted gold image on my webpage , all button scroll vertically.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the HTML forum.

Use the browser's Dev Tools to inspect the styling being applied to the elements to see why the gap is there.

Also, I'm not exactly sure what you mean by gap. As already asked, please be detailed about what the problem is.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You also should not be applying style in the elements. Move all styling to CSS rules, not attributes like width, height and vspace, which should no longer be used.
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this a correct way to specify the path? You should probably use path relative to web context.

<img src = "E:\jewellery 18-dec\18decjewry\jewellerynew\WebContent\images\untitled2.png" alt = "gold">
 
What? What, what, what? What what tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic