HighDots Forums  

Re: Column borders

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Column borders in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lennyboy
 
Posts: n/a

Default Re: Column borders - 11-07-2005 , 02:56 AM






Hi thanks for your reply. Yes the url is
http://www.kent-squash.co.uk/Superleague/superleague%20fixtures.html

It's gonna sound weird but i know nothing about CSS, could I just create the
table in CSS without changing the set up of the site or would I have to do
something different. It sounds like i'm going to have to learn this CSS, do you
know of any basic tutorials?

Thanks again.


Reply With Quote
  #2  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Column borders - 11-07-2005 , 08:14 AM






..oO(Lennyboy)

Quote:
Hi thanks for your reply. Yes the url is
http://www.kent-squash.co.uk/Superleague/superleague%20fixtures.html
The table looks OK, but the code ... it's really bloated with tons of
unnecessary ('div', 'p', 'span'), deprecated ('font') and inappropriate
('blockquote') elements and attributes.

A clean start could look like this:

<table>
<thead>
<tr>
<th>Date</th><th>Home Team</th><th>Away Team</th>
<th>Results</th><th>Points</th><th>More Info</th>
</tr>
</thead>
<tbody>
<tr class="colored">
<td>13-Oct-05</td>
<td>PARK LANGLEY</td>
<td>MAIDSTONE</td>
</tr><tr>
<td></td>
<td>BIGGIN HILL</td>
<td>BEXLEY</td>
</tr><tr class="colored">
<td></td>
<td>WHITSTABLE</td>
<td>RODMERSHAM A</td>
</tr>
....
</tbody>
</table>

The rest can be done with CSS.

Quote:
It's gonna sound weird but i know nothing about CSS, could I just create the
table in CSS
No, tables belong to HTML. You can use CSS to style it.

Quote:
without changing the set up of the site or would I have to do
something different.
You would have to clean-up the code.

Quote:
It sounds like i'm going to have to learn this CSS
Definitely.

Quote:
do you
know of any basic tutorials?
Google?

Micha


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.