[thelist] CSS Question

Burhan Khalid burhankh at hotmail.com
Thu Dec 13 09:14:16 CST 2001


Good Morning All :

With the following style definition :

[snip]
.content {
	position:relative;
	width:auto;
	min-width:120px;
	margin:64px 210px 20px 170px;
	border:1px solid black;
	background-color:white;
	padding:10px;
	z-index:3;
}
div.row span.left {
  float: left;
  text-align: left;
  color: #000;

  }

div.row span.right {
  float: right;
  text-align: right;
  font-weight: bold;
  color: #000;
}
[snip]

Why does this not produce the desired result?

<div class="content">
<div class="row"><span class="left">Left Align</span>
<span class="right">Right Align</span>
[ ... ]
</div>

Is is true that you can't have a class within a class? Any 
help/direction/insight would be appreciated.
Regards,
Burhan Khalid

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





More information about the thelist mailing list