|
Posted by Brian Robertson on 11/19/07 23:57
I am redesigning a web page that runs to some 1800 pages consisting
mostly of tables to show data. (Hey, there may be better ways of doing
it than tables, but what the hell?) I have tried converting the original
pages from HTML formatting to CSS, but it is hard and frustrating work,
ultimately doomed to failure IMHO. I may as well start at square one
with a new layout.
So, here would be some basic code:
<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<link rel="stylesheet" type="text/css" href="style3.css">
</head>
<body>
<table border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse" width="100%" id="table1">
<tr>
<th>Section of Line</th>
<th>Opened</th>
<th>Closed</th>
<th>Notes</th>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
And here is the start of a style sheet:
body {
background-color: rgb(223,174,45);
}
table {
font-family: arial;
font-size: 12.5px;
background-color: rgb(248,239,182);
empty-cells: show;
width: 900px;
}
What I want to know is this: how can I apply particular attributes to
columns rather than rows, or can't I, or is there a next best fix?
Brian.
Navigation:
[Reply to this message]
|