Hey guys. Usually lurk around here but I've found myself in a predicament.
I am having some css display problems myself which I haven't been able to solve (well, partially). I'm trying to get a table-like display without using tables (see picture) like this:
I've been able to get one of those blocks successfully done using some css but if I try to have more than one this is what i get:
Here's the referenced code (messy, but it's just test coding right now)
Any help would be greatly appreciated. Is there any way to do the stuff using CSS in the first picture without resorting to tables?
I am having some css display problems myself which I haven't been able to solve (well, partially). I'm trying to get a table-like display without using tables (see picture) like this:
I've been able to get one of those blocks successfully done using some css but if I try to have more than one this is what i get:
Here's the referenced code (messy, but it's just test coding right now)
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
<link rel="stylesheet" type="text/css" href="css.css" />
<style type="text/css" >
<!--
span.left {
float: left;
text-align: left;
color: #000000;
}
span.right {
float: right;
text-align: justify;
font-weight: normal;
font-family: verdana;
font-size: 12px;
color: #000000;
width: 440px;
}
-->
</style>
</head>
<body>
<div style="width: 500px">
<span class="left">
051217
</span>
<span class="right">
<a href="/">Link 1</a>: Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br />
</span>
</div>
<div style="width: 500px">
<span class="left">
051217
</span>
<span class="right">
<a href="/">Link 1</a>: Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br />
</span>
</div>
</body>
</html>
Any help would be greatly appreciated. Is there any way to do the stuff using CSS in the first picture without resorting to tables?