+ 2
Html set heading to middle next to a picture
Hello, i'm sorry for my bad english... I want to set a heading into the middle of the display but i can set it only in the middle of the screen because in the left corner there is a picture and if i want to set the heading with align=center into the middle the heading is only in the middle of the right end of the picture and of the screen... i hope its understandable and thank you for answers <div style="float:left; width=600px; height=152px;"> <img src="bilder/logo.jpg" height="54px" width="214px" hspace="0" vspace="0"/> </div> <p> <h1 align="center" style="margin-top:15px; margin-bottom:20px;"><u>Heading</u></h1> </p>
5 Respuestas
+ 5
add your code in your question
+ 5
Do you need both elements (h1 and img - where img is in the left corner and h1 is in the center of webpage) in same line ?
then https://code.sololearn.com/W290ZSxvx13I
Otherwise comment
+ 2
can you send your code
+ 1
💬Y.K.💬 I need it nearly like you have showed but on your code the Heading is in the center of the right end of the picture an of the right end of the display.
But yes it should be in the same line
0
<a href="mailto:barney@earthman.com?subject=About%20your%20bouncy%20ball&body=Hey%20Barney,%0D%0A%0D%0AIs%20your%20bouncy%20ball%20still%20for%20sale?">Email jahl Today!</a>