T ; lines
random freebies.in this tutorial, i'll be teaching you how to create lines. not line that you can type and maximize to your liking, but different lines.
these lines are just examples of it. the most important things to remember in making the lines are : background color & float.
background color adds color to the line. it can't be just 'color' because it's not a text and it won't work.
float is used to make it float-- ehem. i mean, so that lines can be placed beside each other. margin is important too.
the code is : < div style = " width : 20px ; height : 200px ; background-color : #333 ; float : left ; margin : 20px 0px 0px 100px ; " > < / div >
background color adds color to the line. it can't be just 'color' because it's not a text and it won't work.
float is used to make it float-- ehem. i mean, so that lines can be placed beside each other. margin is important too.
the code is : < div style = " width : 20px ; height : 200px ; background-color : #333 ; float : left ; margin : 20px 0px 0px 100px ; " > < / div >
Comments