|
-
Aug 24th, 2004, 11:20 PM
#1
Thread Starter
Fanatic Member
[solved] 2 divs acting as 2 tds
i need help converting something like this to div
Code:
<table>
<td></td>
<td></td>
</table>
cause if i have to use div on this, it could minimize coding. just two of them while 3 pairs of tag on table thing.
Last edited by brown monkey; Aug 26th, 2004 at 05:41 AM.
-
Aug 26th, 2004, 05:37 AM
#2
In the style part
Code:
.lcol {
width: 200px;
border: solid 1px #f0f;
}
.rcol {
width: 200px;
border: solid 1px #0ff;
}
.fleft { float: left; }
In the body
Code:
<div class='lcol fleft'>Left Div</div><div class='rcol fleft'>Right Div</div>
Should give you an idea. Best to use firefox to view your pages first, and then in ie.
You'll need to read up on fixs for ie, and CSS.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Aug 26th, 2004, 05:40 AM
#3
Thread Starter
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|