• Resolved jamilos

    (@jamilos)


    I have some paragraphs in the middle on the webpage and a menu on top of it. So when you click on it you will go to that paragraph. (I still have to do that though)

    But my question is how can you put an image next to the paragraphs without the paragraphs losing their position?

    I tried different methods with float and such, but I think went wrong somewhere. I am not very good with HTML and CSS and I’m still learning.

    Here is a preview: https://plnkr.co/edit/wUOxCgCTLRfkvnJLVKLa?p=previeW

    The images don’t have to be exactly the same height of the paragraph.

    I hope I made it clear!!

    • This topic was modified 7 years, 6 months ago by jamilos.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Jamilos,

    In your example you link to, you have a # in front of the ID name:

    <img id="#imgheho" src="h........

    This is wrong and the ID styles are not being applied. Remove the # and you should start getting somewhere. Play with the margins and floats and you’ll get what you need.

    If you need more help, just let me know.

    Thanks

    Mark ??

    • This reply was modified 7 years, 6 months ago by Airster.
    Thread Starter jamilos

    (@jamilos)

    Thank you Mark !!

    I applied your solution, and it works perfect now !!
    Thank you for your direct answer and solution, helps me a lot.

    Cheers

    No problem – glad I could help. It had me stumped for a few minutes :/

    Don’t forget to mark the post status as Resolved though ??

    Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘paragraphs in the middle, can’t put images next to it ?’ is closed to new replies.