<style type="text/css">
<!--
.my_style {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000033;
}
-->
</style>

DIV vs SPAN

DIV’s cause a new line.  To change the stule of text min line use SPAN

Using Div’s Without A Style

<div style=”margin-top: 10px;”>

‘.’ or ‘#

# is for ID

You use ‘#somename’ when its an <div id=”somename”

ID’s can be useful to suround an area so that you can use this in the stylesheet:

#navlnks .page_item, #navlnks .page_item a { 

. is for Class

You use ‘.some_name’ when its <div class=”some_name”

Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published. Required fields are marked *