You'd be a fool to try IMHO. That's a simple two column CSS layout. Forget the tables.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
You guys are STILL not offering solutions to the problem.
I have done this several times using tables and the result is what I want. Its efficient and works well. CSS is an alternative, but if you know how to use Tables, then stick with what you know...
if you have used tables several times over why arent you offering a solution? Also tables shouldnt be an alternative too css, if anything it should be the otherway around. try this:
You guys are STILL not offering solutions to the problem.
The philosophical question is whether to help someone do something stupid.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><html><head><title></title><style type="text/css"><!--
body{
margin: 0;
padding: 0 20%;
font: 12px sans;
}
div.col{
width: 40%;
float: left;
background-color: #ccc;
border-left: 1px solid #000;
}
div.semi{
border-bottom: 1px solid #000;
padding: 10px;
}
--></style></head><body><div class="col"><div class="semi"><p>
Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Fusce sit amet lacus. Aliquam rhoncus, nisl vel
facilisis feugiat, purus nisi ultrices sapien, a ornare
erat justo sed mi.
</p><p>
Proin quis mi ut est convallis varius. <em style=
"color: red;">Phasellus vel massa at tellus lobortis
pretium.</em> Praesent commodo congue dolor. Mauris at
purus. Nulla facilisi. In hac habitasse platea
dictumst.
</p><p>
Vestibulum bibendum libero at magna. Sed et augue ac
metus ullamcorper rutrum. Integer ut arcu. In rhoncus
massa ac quam. Curabitur augue sapien, sodales nec,
congue nec, luctus vitae, nisl. Nunc malesuada diam ut
lectus.
</p><p>
Morbi cursus, mauris non fermentum porta, nibh eros
blandit mauris, pharetra sollicitudin erat nisl nec
neque.
</p></div><div class="semi"><p>
Sed viverra quam et mi. Fusce nisl. <strike>Maecenas
purus.</strike> Etiam adipiscing libero quis nisl. Duis
pharetra justo ac nunc. Proin sit amet felis. Nulla
aliquet. Sed ligula urna, vulputate et, placerat vel,
porttitor nec, est. *** sociis natoque penatibus et
magnis dis parturient montes, nascetur ridiculus mus.
Mauris cursus justo at felis consequat molestie.
</p><p>
Vestibulum quis tortor.
</p><p>
Aliquam tincidunt. Sed tempus molestie massa. Aenean
interdum. Curabitur commodo ullamcorper ante. Integer
vulputate nisi in nisl. In hac habitasse platea
dictumst. Pellentesque posuere. Nullam rutrum tincidunt
metus. Praesent condimentum.
</p><p>
Nam quis lacus non lorem tempus pharetra. Duis euismod
tortor vel velit. Phasellus quis velit ac ligula
bibendum porta. Proin malesuada nibh vel sem.
Pellentesque malesuada. Morbi ultrices ipsum id tortor.
Aenean tempus, lectus id congue aliquet, erat arcu
molestie nunc, vel viverra nulla magna non ipsum.
</p></div></div><div class="col"><div class="semi"><ul><li>One
</li><li>Two
</li><li>Three
</li></ul></div><div class="semi"><p>
Sed viverra quam et mi. Fusce nisl. Maecenas purus.
Etiam adipiscing libero quis nisl. Duis pharetra justo
ac nunc. Proin sit amet felis. Nulla aliquet. Sed
ligula urna, vulputate et, placerat vel, porttitor nec,
est. *** sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Mauris
cursus justo at felis consequat molestie.
</p><pre><code>Vestibulum{
quis tortor('Aliquam',$tincidunt);
}</code></pre><p>
Sed tempus molestie massa. Aenean interdum. Curabitur
commodo ullamcorper ante. Integer vulputate nisi in
nisl. In hac habitasse platea dictumst. Pellentesque
posuere. Nullam rutrum tincidunt metus. Praesent
condimentum.
</p><p>
Nam quis lacus non lorem tempus pharetra. <strong>Duis
euismod tortor vel velit.</strong> Phasellus quis velit
ac ligula bibendum porta. Proin malesuada nibh vel sem.
Pellentesque malesuada. Morbi ultrices ipsum id tortor.
Aenean tempus, lectus id congue aliquet, erat arcu
molestie nunc, vel viverra nulla magna non ipsum.
</p></div></div></body></html>
Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
(2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.
Bookmarks