An HTML Tutorial. (For Fancy Posts)
5 posters
Ultimate RolePlay :: Community :: Graphics :: Shops
Page 1 of 1
An HTML Tutorial. (For Fancy Posts)
Alright so I am posting this little tutorial as it was requested. Please know this is just really basic stuff as I am no expert here. Not even close. Honestly I know very little... So I can't promise this will be very good, or will even make sense, but I will do my best. Also not sure the best place to post this since the fancy post section is actually locked... this seemed like the best bet. But lets get started...
So in this tutorial I am going to attempt to make a simple "fancy post" for you all, and when we are done it should look something like this...
So lets get started then...
So the first part of the code we are going to need it the div... dont ask me what it stands for because I couldn't tell you. But from what I understand it sets up the base for our post... adds a field I guess you could say. We are also going to want to center it. The center code for HTML is basically the same as BBC only between the carrots rather than the brackets. So lets put it in there... Again make sure to put it between the two sideways carrots! BBC uses brackets... HTML uses the carrots.
Obviously that's not going to get us very far... we need to give it dimensions... style... make it look pretty ya know? The way we start that is by taking our first
Last edited by Fray on Fri Oct 11, 2013 1:15 pm; edited 1 time in total
So in this tutorial I am going to attempt to make a simple "fancy post" for you all, and when we are done it should look something like this...
- Spoiler:
- EmberYour text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
So lets get started then...
So the first part of the code we are going to need it the div... dont ask me what it stands for because I couldn't tell you. But from what I understand it sets up the base for our post... adds a field I guess you could say. We are also going to want to center it. The center code for HTML is basically the same as BBC only between the carrots rather than the brackets. So lets put it in there... Again make sure to put it between the two sideways carrots! BBC uses brackets... HTML uses the carrots.
- Code:
<center><div></div></center>
Obviously that's not going to get us very far... we need to give it dimensions... style... make it look pretty ya know? The way we start that is by taking our first
block and changing it to
.
First comes the dimensions... First width then height. Be sure to put the dimension px. For this example we are going to use width 450 and height 500.
Alright so now we're getting somewhere. Not much maybe but its turning into something. Lets get a background now shall we? We'll insert it right after the height.
How about a boarder now? Well, the boarder is going to be the last section in the first part of our code here... we'll take care of the color, its thickness, and the distance from the boarder to the picture and text box. We call that the padding... assuming you understood what I was trying to say. Im not fully sure I did... Anyway we are going to put a 10px boarder with 10px padding.
Next comes the picture, assuming you want/have one. The code to insert would be with the link to your picture between the quotation marks.
Alright so our next section of code will add the little name banner... For this we want to start a new block. This means a new div... Be sure to put it before the ending div and center... It wont be in the same block otherwise. Anyway obviously we only want a small section here. So we have to make our dimensions smaller. Lets go with a 20px height. We don't have to worry about the width on this. That first section of coding sets the limit on how wide it can go. So here we go... you may want to insert a space or two in the code so as to make things easier to view.
Next we would take care of font, font size, coloring, padding, and other details. Lets just start with font, size, and coloring. We're going to use Georgia, size 16, and we are going to color it white since that will show nicely on the red. Lets also put in some text so you can preview it properly.
Lets add some more details now. For one the text goes right up to the edges of the box, or just about so lets add some padding. Obviously this box isn't very big so we are only going to do 5px. You may also have noticed I put the text in all lowercase... Now I could fix that, or I could put something in the code to fix it for me. We are also going to space the letters some...
We're on the last part now... the text box. For this we want to start yet another div box and we are going to put its height at 180 so as to bring it right up to the boarder but not over. Again don't worry about width.
Basically the rest of this section includes the font, size, text aligning, text color, padding. We aren't going to put in a background. And since we aren't putting it in it will be transparent. I am sure you could put in another background if you wanted... honestly I have never done that though. I may try it at a later date...However one new thing we do want to add is overflow... so that on those particularly long posts a scroll box will automatically appear. We want to put that right after the height... We also want to add line-height, which from what I can tell has to do with spacing... So lets get to it.
Well I hope that was easy enough to follow... And made sense... If not. Well I did warn you ahead of time it probably wouldn't be very good...
- Code:
<center><div style=></div></center>
First comes the dimensions... First width then height. Be sure to put the dimension px. For this example we are going to use width 450 and height 500.
- Code:
<center><div style="width: 450px; height: 500px"></div></center>
Alright so now we're getting somewhere. Not much maybe but its turning into something. Lets get a background now shall we? We'll insert it right after the height.
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg)"></div></center>
- Spoiler:
How about a boarder now? Well, the boarder is going to be the last section in the first part of our code here... we'll take care of the color, its thickness, and the distance from the boarder to the picture and text box. We call that the padding... assuming you understood what I was trying to say. Im not fully sure I did... Anyway we are going to put a 10px boarder with 10px padding.
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"></div></center>
- Spoiler:
Next comes the picture, assuming you want/have one. The code to insert would be with the link to your picture between the quotation marks.
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"><img src="http://www.scenicreflections.com/ithumbs/Wolf%20Sleeping%20in%20Flowers%20Wallpaper__yvt2.jpeg"></div></center>
- Spoiler:
Alright so our next section of code will add the little name banner... For this we want to start a new block. This means a new div... Be sure to put it before the ending div and center... It wont be in the same block otherwise. Anyway obviously we only want a small section here. So we have to make our dimensions smaller. Lets go with a 20px height. We don't have to worry about the width on this. That first section of coding sets the limit on how wide it can go. So here we go... you may want to insert a space or two in the code so as to make things easier to view.
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"><img src="http://www.scenicreflections.com/ithumbs/Wolf%20Sleeping%20in%20Flowers%20Wallpaper__yvt2.jpeg">
<div style="height: 20px;"></div>
</div></center>
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"><img src="http://www.scenicreflections.com/ithumbs/Wolf%20Sleeping%20in%20Flowers%20Wallpaper__yvt2.jpeg">
<div style="height: 20px; background: #530000;"></div>
</div></center>
- Spoiler:
Next we would take care of font, font size, coloring, padding, and other details. Lets just start with font, size, and coloring. We're going to use Georgia, size 16, and we are going to color it white since that will show nicely on the red. Lets also put in some text so you can preview it properly.
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"><img src="http://www.scenicreflections.com/ithumbs/Wolf%20Sleeping%20in%20Flowers%20Wallpaper__yvt2.jpeg">
<div style="height: 20px; background: #530000; font-family: Georgia; font-size: 16px; color: white;>ember</div>
</div></center>
- Spoiler:
- ember
Lets add some more details now. For one the text goes right up to the edges of the box, or just about so lets add some padding. Obviously this box isn't very big so we are only going to do 5px. You may also have noticed I put the text in all lowercase... Now I could fix that, or I could put something in the code to fix it for me. We are also going to space the letters some...
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"><img src="http://www.scenicreflections.com/ithumbs/Wolf%20Sleeping%20in%20Flowers%20Wallpaper__yvt2.jpeg">
<div style="height: 20px; background: #530000; font-family: Georgia; font-size: 16px; color: white; padding-top: 5px; padding-bottom: 5px; text-transform: uppercase; letter-spacing: 5px">ember</div>
</div></center>
- Spoiler:
- ember
We're on the last part now... the text box. For this we want to start yet another div box and we are going to put its height at 180 so as to bring it right up to the boarder but not over. Again don't worry about width.
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"><img src="http://www.scenicreflections.com/ithumbs/Wolf%20Sleeping%20in%20Flowers%20Wallpaper__yvt2.jpeg">
<div style="height: 20px; background: #530000; font-family: Georgia; font-size: 16px; color: white; padding-top: 5px; padding-bottom: 5px; text-transform: uppercase; letter-spacing: 5px">Ember</div>
<div style="height: 180px;"></div>
</div></center>
Basically the rest of this section includes the font, size, text aligning, text color, padding. We aren't going to put in a background. And since we aren't putting it in it will be transparent. I am sure you could put in another background if you wanted... honestly I have never done that though. I may try it at a later date...However one new thing we do want to add is overflow... so that on those particularly long posts a scroll box will automatically appear. We want to put that right after the height... We also want to add line-height, which from what I can tell has to do with spacing... So lets get to it.
- Code:
<center><div style="width: 450px; height: 500px; background: url(http://www.derekwarden.com/Portfolio_files/Red_Background.jpg); border: #530000 10px solid; padding: 10px 10px 10px 10px"><img src="http://www.scenicreflections.com/ithumbs/Wolf%20Sleeping%20in%20Flowers%20Wallpaper__yvt2.jpeg">
<div style="height: 20px; background: #530000; font-family: Georgia; font-size: 16px; color: white; padding-top: 5px; padding-bottom: 5px; text-transform: uppercase; letter-spacing: 5px">Ember</div>
<div style="height: 180px; overflow: auto; font-family: Tahoma; font-size: 11px; line-height: 110%; color: white; text-align: justify; padding-right: 5px;">Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.</div>
</div></center>
- Spoiler:
- EmberYour text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Well I hope that was easy enough to follow... And made sense... If not. Well I did warn you ahead of time it probably wouldn't be very good...
Last edited by Fray on Fri Oct 11, 2013 1:15 pm; edited 1 time in total
Re: An HTML Tutorial. (For Fancy Posts)
YOU ARE SO AWESOME!!!!
Brute- Old Timer
- Join date : 2013-05-03
Posts : 343
Age : 24
Location : Trying to get this site back up and rollin'!!!
Personal Stats
Forum Activity: Active
RP Activity: Active
RP- Experience : ★★★★★
Re: An HTML Tutorial. (For Fancy Posts)
I second that motion, Brute. Indeed I do.
....not that I could ever make a post that fancy @-@
Great job, Fray.
....not that I could ever make a post that fancy @-@
Great job, Fray.
Tealight- Moderator
- Join date : 2013-01-27
Posts : 556
Age : 24
Personal Stats
Forum Activity: Active
RP Activity: Active
RP- Experience : ★★★★
Re: An HTML Tutorial. (For Fancy Posts)
Wow. I'm mostly just good at editing fancyposts. I'm better at the BBC version. Do you mind if I use this version? If you don't answer within a week, I will.
katy
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here. Your text here.
katy719- Newbie
- Join date : 2013-03-19
Posts : 6
Location : The U.S. of A
Re: An HTML Tutorial. (For Fancy Posts)
Haha thanks brute but I only know a tiny bit. And go ahead katy! I dont mind at all.
Re: An HTML Tutorial. (For Fancy Posts)
Well, my dad's an actual computer programmer and he has NO IDEA about this stuff!!! You're great!!! XD
Brute- Old Timer
- Join date : 2013-05-03
Posts : 343
Age : 24
Location : Trying to get this site back up and rollin'!!!
Personal Stats
Forum Activity: Active
RP Activity: Active
RP- Experience : ★★★★★
Re: An HTML Tutorial. (For Fancy Posts)
I keep trying that and mine comes out as... *insert choice word here*....
Guest- Guest
Re: An HTML Tutorial. (For Fancy Posts)
Haha Wolf... Thats only a simple one. Like I said Im not great with this stuff myself. Should see some of the ones Gaia/Selly/whatever shes called now, can make... its kinda amazing...
And thanks again Brute! Dont really think this has anything to do with computer programming though... no expert though.
And thanks again Brute! Dont really think this has anything to do with computer programming though... no expert though.
Re: An HTML Tutorial. (For Fancy Posts)
I would love to see one of hers... shall have to ask next time I see her...
Guest- Guest
Re: An HTML Tutorial. (For Fancy Posts)
You should. Ill see if I can get one to display maybe, doubt she would allow it to be used though.
Re: An HTML Tutorial. (For Fancy Posts)
So I asked and have received permission to display one of the more amazing ones. It is apparently still being worked on though I am not sure I see whats left that could possibly be done. This one may NOT be used. I am only allowed to show it.
- Preview:
- (c) SellyHeader
Not for free use.HeaderNot for free use.Not for free use.Not for free use.HeaderNot for free use.HeaderNot for free use.HeaderNot for free use.HeaderNot for free use.HeaderNot for free use.
Re: An HTML Tutorial. (For Fancy Posts)
Boy, that's advanced.
*Brutality in awe
*Brutality in awe
Brute- Old Timer
- Join date : 2013-05-03
Posts : 343
Age : 24
Location : Trying to get this site back up and rollin'!!!
Personal Stats
Forum Activity: Active
RP Activity: Active
RP- Experience : ★★★★★
Re: An HTML Tutorial. (For Fancy Posts)
Oh my gosh I love making things like that. Take me forever but I enjoy it. Could probably do something like the advanced one but only after months of work... months and months and months...
Re: An HTML Tutorial. (For Fancy Posts)
This is being moved to the Fancy Post forum which has now been reopened. |
Ultimate RolePlay :: Community :: Graphics :: Shops
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|