私は2つを別のものに並べたい(私は3つ持っている)これは私のコードです:
<div class=Mheader >
<div class=theader>
Meine Route !
</div>
<div class=imgcss>
<img src="Images/Route1.png" width=600 height=100 />
</div>
しかし、画像は常にテキストの下に表示されます。この問題を解決するにはどうすればよいですか? 私のCSSは:
.Mheader
{
font-family: 'Trebuchet MS';
font-size: larger;
font-weight: bold;
font-style: italic;
text-transform: capitalize;
color: #FFFFFF;
background-color: #008800;
width: auto;
height: 100px;
}
.theader
{
font-family: 'Franklin Gothic Demi';
font-size: xx-large;
font-weight: bold;
font-style: italic;
line-height: normal;
width: 250px;
text-align: left;
height: 100px;
}
.imgcss
{
text-align: right;
width: 600px;
}