Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
aligning may table or division on the same row ???
Old 08-07-2006, 11:46 PM aligning may table or division on the same row ???
Novice Talker

Posts: 7
Name: d
Trades: 0
Hi all
I m looking for a way to put many block ( div or even tables ) in either a bigger div or a bigger table in the same row without having to use position:absolute or so,this is the code that I ve used ;<html>
<head>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<body>
<font color=red>testing mutiple divs in a single one</font>


<!--
<div class=bigdiv> here inside
<div class=smalldiv> the small div text</div>&nbsp;
<div class=smalldiv> the small div text</div>&nbsp;
<div class=smalldiv> the small div text</div>
</div>
-->
<table width="600" height="500" border=1 bgcolor=pink><tr><td valign=top>
<table width=250 height=100 border=1 ><tr><td> the first text here</td></tr></table>&nbsp;
<table width=250 height=100 border=1 ><tr><td> the first text here</td></tr></table>&nbsp;
<table width=250 height=100 border=1 ><tr><td> the first text here</td></tr></table>&nbsp;
<table width=250 height=100 border=1 ><tr><td> the first text here</td></tr></table>

</td></tr></table>



</html>

I want the small tables (or even the small div s) to appear on the same row and start on a new line only when there is no more space on the first row. this normaly wlk when putting many img in a td but I m not seeying how to do eat with texts
Could anyone help??? please

thanx

tropic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-08-2006, 12:44 PM Re: aligning may table or division on the same row ???
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
Liike this?
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<title>Untitled Page</title>
		<style type="text/css" media="screen"><!--
.box  {
	background-color: #eee;
	position: relative;
	width: auto;
	float: left;
	border: solid 1px #ddd;
	margin-right: 1em
	}


--></style>
	</head>

	<body bgcolor="#ffffff">
		<div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div><div class="box">Test</div>
	</body>

</html>

Last edited by funkdaddu; 08-08-2006 at 12:46 PM..
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to aligning may table or division on the same row ???
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10387 seconds with 12 queries