What browser are you using?
Looks fine in IE6.0
Printable View
What browser are you using?
Looks fine in IE6.0
Ok,
Read your post again! You mean like three <td> tags in a <tr>!
Well, you could use the <span> tag in place of the inner <div>s
This CSS is wrong and should be ignored by user agents that conform to the CSS spec - there's no unit specific, do you mean pixels, inches, kilometers, etc?Code:<div style="left: 125;width: 450;">
Any way, look into the CSS float attribute (float:left;) and if it works make sure you specified the (clear:both;) on the block you want to "break" the float.
And tables won't be depreciated, just used for the intended purpose, presenting tabular data like a speadsheet, rather than layout. And CSS3 will have column capabilities for layout, hopefully.
Jerry Grant said:
Will a <span> allow an embedded <br>? I guess I'll give it a try!Quote:
Read your post again! You mean like three <td> tags in a <tr>!
Well, you could use the <span> tag in place of the inner <div>s
JoshT said:
The problem with the current table spec is that you don't seem to have control over your border. It's either 3-d or nothing.Quote:
And tables won't be depreciated, just used for the intended purpose, presenting tabular data like a speadsheet, rather than layout. And CSS3 will have column capabilities for layout, hopefully.
Thanks
cudabean
I don't follow you.Quote:
Originally posted by Cudabean
The problem with the current table spec is that you don't seem to have control over your border. It's either 3-d or nothing.
[/B]
Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Untitled</title>
<style type="text/css" media="screen" title="Default">
table {
border: 20px inset;
}
th {
border : 2px dashed Blue;
}
td {
border: 5px solid Orange;
}
</style>
</head>
<body>
<table>
<tr>
<th>Header</th>
<th>Header</th>
</tr>
<tr>
<td>Cell</td>
<td>Another Cell</td>
</tr>
</table>
</body>
</html>
Uhhh....
Never-freakin'-mind.
Thanks JoshT, I'm going back to tables.
cudabean
<DIV>'s get positioned one atop another because that's how they are supposed to be. Imagine div tags like <P> tags without the space at the top & bottom. A div tag inherently forces a line break.