Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to CSS - can't find last row in table

Status
Not open for further replies.

doodler22

Technical User
Oct 16, 2006
167
0
0
US
I'm taking a class in Dreamweaver CS3 and I'm building my first site using CSS and tables. (Forgive me if I'm awkward using the terms).

I've added a table with 4 rows, 1 column. I want to go to the last row and make it 100% so that it pushes the other 3 rows to the top. I'm insering images, like a nav bar, in the other 3 rows. I can't figure out how to find the last row. I'm used to working in InDesign and Dreamweaver has me so confused! What have I done wrong? Thanks!

<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td height="100%"><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100%" class="tablebackground"><table width="995" height="339" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/topbar.jpg" width="993" height="160"></td>
</tr>
<tr>
<td><a href--THIS IS MY ROLLOVERS></a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td height="100">&nbsp;</td>
</tr>
</table>
 
What you're doing is not tabular data, so it should not be in a table. If you're working on a CSS based site, why are you using so many tables? And coming from InDesign, shouldn't you be more used to blocks of information rather than designing with tables?

Honestly, due to the mess of your nested tables, I have no idea what you're doing. I'd scrap everything and do it with divs (header, navigation, main).

[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
What sort of backwards class teaches using tables for layout these days?

I'd ask for your money back, or them to teach modern coding, not stuff that we did 10 years ago.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
--I'd scrap everything and do it with divs (header, navigation, main).--

I wish I knew what a div was...the instructor doesn't even want to go into them. It's very, very frustrating.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top