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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.