Hi everyone , I've just started to learn html , and I want to change the position of the images that I insert in my page , how can I do this ??

<img src="networking.jpg" width="200" height="300" />

Recommended Answers

how about this:

<style type=text/css>
.imgpos {
	position: absolute;
	top: 50px;
	left: 150px;
}
</style>
</head>
<body width="auto">
	<span class="imgpos">
		<img src="../networking.png">
	</span>
</body>
</html>
Jump to Post

All 2 Replies

how about this:

<style type=text/css>
.imgpos {
	position: absolute;
	top: 50px;
	left: 150px;
}
</style>
</head>
<body width="auto">
	<span class="imgpos">
		<img src="../networking.png">
	</span>
</body>
</html>

thanx a lot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.