Quantcast
Channel: Forum Pasja Informatyki - Najnowsze pytania
Viewing all articles
Browse latest Browse all 65275

Przyklejenie tekstu do góry

$
0
0

Cześć potrzebuję pomocy, a dokładniej na jednej podstronie wszystko fajnie mi idzie ale w pewnym momencie chciałbym aby tekst był troszke wyżej i nie mam pojęcia jak go tam przenieść :/

<div id="birds">
			<div id="cockatiel">
				<h1>Cockatiel Parrot</h1>
				<div id="cockatiel-image"></div>
				<div style="clear: both;"></div>
				<div id="cockatiel-about">
					<p>Size: 36 - 46 cm/ 14- 18 inches <br><br>
					Life expectancy: 12 - 30 years </p>
				</div>
				<div id="cockatiel-description">
					<p>The normal cockatiel is slate gray, reminiscent of a comon pigeon. This is the form that exists in the wilds of Australia. A yellow suffusion covers the entire bird. This yellow is especially prominent in the head and crest of the male bird. Youngsters and hens have horizontal b ars going down the tail.</p>
				</div>
				<div style="clear: both;"></div>
			</div>
#birds{
	width: 100%;
	height: 100vh;
	background-color: #303030;
	text-align: center;
}

#cockatiel h1{
	color: white;
	font-weight: 200;
	font-size: 3em;
}
#cockatiel{
	margin: auto;
	margin-left: 100px;
	margin-right: 100px;
}
#cockatiel-image{
	width: 300px;
	height: 300px;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	background: url(../img/cockatiel.jpg) no-repeat;
	background-size: cover;
	float: left;
}
#cockatiel-about{
	margin-top: 5%;
	float: left;
	color: white;
	width: 300px;
}
#cockatiel-description{
	margin-left: auto;
	margin-right: auto;
	text-align: justify;
	width: 500px;
	vertical-align: text-top;
}
#cockatiel p{
	color: white
}

Chciałbym zrobić takiego diva o szerokości 500px i wysokości którą pokażę wam na zdjęciu poniżej (jak to miałoby wyglądać) https://zapodaj.net/f69825fc453f8.png.html


Viewing all articles
Browse latest Browse all 65275


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>