Previous Message
Next Message

Re: [css-d] How to replaces tables/frames with CSS?

Sent by Brad Cox on 29 January 2002 10:10


On Tuesday, January 29, 2002, at 09:30 AM, Brad Cox wrote:

> I copied css that did this, but apparently broke it from not 
> understanding the issues

Here's my current css. Passes the W3C validator but doesn't 
work. The "internal" (left) pane floats to the bottom, not the 
left.

body {
	margin: 0;
	padding: 10px;
	background-color: white;
	color: black;
	font-family: Verdana, Helvetica, sans-serif;
}
content
{
	width:default;
	padding-bottom:5px;
	float:right;
}
internal
{
	width:100px;
	padding-right:5px;
	float:left;
}
top
{
	height:10%;
	padding-bottom:5px;
	padding-top:none;
	margin-top:none;
}
bottom
{
	height:10%;
	padding-top:4em;
}
a.previous
{
	display:block;
	width:48%;
	float:left;
	font-size:0.9em;
}
a.next
{
	display:block;
	width:48%;
	float:right;
	text-align:right;
	font-size:0.9em;
}
left h3.currentsection
{
	color:#FBFBD0;
	background-color:#2F2F0B;
}
Previous Message
Next Message

Message thread: