Posted by jobs on 05/25/07 15:35
sorry for the noob question.
I know I can position a div tag in hmtl as such..
<div id=ccc style="align:bottom;position:absolute;left:1px;width:
200px;height:300px;border: ghostwhite thin ridge;float-right">
hello
</div>
is there any way to do all of this in css?
I tried this with no luck. I know the css is taking some effect
because i set background-color in the body entry and it worked.
<div id="ccc">
hello
</div>
css:
#ccc
{
position:absolute;
left:200px;
top:400px;
width:200px;
height:300px;
border: ghostwhite thin ridge;
color: red;
background-color:blue;
}
FYI, i doing all of this in asp.net 2.0.
Another question, when should I use DIV and when should I use SPAN?
Thank you for any help or information!
[Back to original message]
|