Replies

Oct 3, 2016 9 years ago
Sunna
is made of stardust
User Avatar
Althair

This is my first time creating a petprofile and trying to code it. I've read a few tutorials, but I don't entirely get it yet. I have this code at the moment:

<style> body { margin-left: 200px; background: url("http://i.imgur.com/USYQEgG.png") no-repeat top left; }

, , -ban, -ban-main, -lrc, -rrc {display:none;} , -right, , , , h2, a, {display:none;} , , body, , , {background-color:transparent;} /Moves pet minion section/ {position:absolute; top:108px; left:261px;}

/moves pet stats/ { display:none}

/Moves pet image/ {position:absolute; top:108px; left:261px;}

/Moves the spotlight link/ .pet_spotlight{position:absolute; top:420px; left:275px;}

/Moves Treasure/ {position:absolute; top:657px;left:65px;}

/Moves main description/ {position:absolute; left: 66px; top:467px;

/moves pet name/ .pet_name{position:absolute;left:322px;top:318px;}

/moves species/color text/ .pet_color_info{position:absolute; top:357px; left:290px;}

/moves owner text/ .owner{position:absolute; top:370px; left:310px;}

/moves birth date/ .pet_age_info_date{display:none }

/Moves adoption date/ .pet_wco_info_date{display:none}

/moves friends/ {display:none} .center_div { border: 1px solid gray; margin-left: auto; margin-right: auto; width: 90%; background-color: ; text-align: left; padding: 8px; } </style>

Title

Bold Italic Underlined

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero. Fusce vulputate eleifend sapien. Vestibulum purus quam, scelerisque ut, mollis sed, nonummy id, metus. Nullam accumsan lorem in dui. Cras ultricies mi eu turpis hendrerit fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In ac dui quis mi consectetuer lacinia.

</style>

For my pet Nalini.

Nalini.

As you can see it's a mess ^^'

Is there some code I'm missing that's giving me the white space? I learn by trial and error, but I don't understand this. Can someone help me please?

If I had the sp I would pay someone to code it for me and learn by experimenting with it, but unfortunately I don't..

I know I'm asking a lot, but I hope someone will help me ^^'

“Fifteen men on the Dead Man's Chest Yo-ho-ho, and a bottle of rum! Drink and the devil had done for the rest Yo-ho-ho, and a bottle of rum!” - Robert Louis Stevenson, Treasure Island

Art by unknown

Oct 4, 2016 9 years ago
Dotty
User Avatar
Pippa

Hello!

If you change your body text to this your background image should show up correctly.

body { background-image: url(http://i.imgur.com/USYQEgG.png); background-position: center; background-repeat: no-repeat; }

Similarly, if you add this code it will alter the background colour (from white, to the colour you want) html {background-color: ;}

click for user profiles

Oct 4, 2016 9 years ago
Sunna
is made of stardust
User Avatar
Althair

Yes! Thank you so much! I think I can figure the rest out. I'm reading some tutorials in my own language and that helps a lot fortunately :)

“Fifteen men on the Dead Man's Chest Yo-ho-ho, and a bottle of rum! Drink and the devil had done for the rest Yo-ho-ho, and a bottle of rum!” - Robert Louis Stevenson, Treasure Island

Art by unknown

Please log in to reply to this topic.