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
Getting text to begin after tables
Old 12-11-2009, 10:12 AM Getting text to begin after tables
Extreme Talker

Posts: 218
Trades: 0
I have these two tables side by side on the page, successfully.
However, the line of text below these two tables doesn't begin from the left side of the page, it begins from the just below the bottom of table 2.
Can you help me fix this so the line of text below these tables begins from the left side of the page?
Thanks.

Code:
  .tab1 {  
  width:430px; 
  height:330px;
  float: left; 
  text-align:left;
  margin:0 20px 60px 0;
  font-size: 12px;
  padding: 50em;
  border-collapse:collapse;
  border: 1px solid #153e7e;
  }
  .tab1 td { 
  border: 1px solid #666;
  padding: 25px 25px 25px 25px;
}
  .tab2 {  
  width:430px;
  height:330px;
  float: left;
  text-align:left;
  margin:0 80px 60px 0;
  font-size: 12px;
  padding: 50em;
  border-collapse:collapse;
  border: 1px solid #E55B3C;
  }
  .tab2 td { 
  border: 1px solid #666;
  padding: 25px 25px 25px 25px;
}
Code:
<table id="tab1">
<tbody>
<tr><td>
WORDS</td></tr>
</tbody>
</table>
<table id="tab2">
<tbody>
<tr><td>
WORDS
</td></tr>
</tbody>
</table>
The line of text below these tables is:

Code:
font size="3" color="#000000" face="Arial">Here are some
examples:</font><br/><br/>
chrisj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-11-2009, 10:26 AM Re: Getting text to begin after tables
Super Talker

Posts: 139
Name: John Davis
Trades: 0
Your example is invalid.
You've assigned ID for tables, but declared CLASSES in CSS.

Any way the answer for you is to use
Code:
<div style="clear:both">Your text!!</div>
right after the tables.
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
MapMaster is offline
Reply With Quote
View Public Profile Visit MapMaster's homepage!
 
Old 12-11-2009, 11:06 AM Re: Getting text to begin after tables
Angelosanto's Avatar
Webmaster Talker

Posts: 554
Name: Danny Angelosanto
Trades: 0
Yeah looks like you forgot to clear. Read the sticky:

http://www.webmaster-talk.com/css-fo...you-clear.html
__________________
"Those who believe in telekinetics, raise my hand."
-Kurt Vonnegut
_____________________________________
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
Reply     « Reply to Getting text to begin after tables
 

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.87130 seconds with 12 queries