getting rid of html table

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

imagine this 1 row 2 col html table1. in that table1 col 2 has another html
table2 with 3 rows and 1 col. for table1 col1 i have a picture bound to it
and the 3 rows just has text stuff. i have this inside an item template of a
datalist? is this effiecient as it can get for getting things to line up?

thanks,
rodchar
 
1 column , multi row table ? what is the point in using a table ?

text1<br/>
text2<br/>
text3

-or-

<div>text1</div>
<div>text2</div>
<div>text2</div>

-or-

<ul>
<li>text1</li>
<li>text1</li>
<li>text1</li>
</ul>

or for the whole thing with no tables :

<html>
<head>
<style type='text/css'>
div {
border:solid 1px blue;
width:100px;
height:100px;
float:left;
}
</style>
</head>
<body>
<div>left</div>
<div>
text1<br/>
text2<br/>
text3
</div>
</body>
</html>

Gerry
 
but it is ok for table1 right? because i have an image in column1 and in
column2 i have the 3 rows centered on the pic.
 
sure it is - but you can always add a background image to the left div as
well
or use an IMG tag
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top