NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Table resizing

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-06-2005, 11:30 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
Wildchild22 is an unknown quantity at this point
 



Table resizing


table not resizing

hey, i have a table which should stretch vertically to fit all the content in.... it works fine in firefox, but i took a look in Internet Explorer, and it doesn't.... any ideas why?

heres the code:

Code:
<table class="bordertable" cellpadding="0" cellspacing="0" width="180">
<tr> 
  <td align="center" class="tablehead" height="21" valign="middle"><b><p>Affiliates</p></b></td>
</tr>
<tr>
<td><iframe SRC="http://i.domaindlx.com/ballam/affiliates.asp" width="175" frameborder="0"></iframe></td>
</tr>
</table>
Wildchild22 is offline  
Old 07-07-2005, 02:13 PM   #2 (permalink)
NamePros Member
Join Date: Aug 2004
Posts: 73
Crabby is an unknown quantity at this point
 



Please provide a link to the page with this code on, so we can see what you mean
__________________
michael
Crabby is offline  
Old 07-07-2005, 02:39 PM   #3 (permalink)
New Member
Join Date: Jan 2005
Posts: 19
adman_9000 is an unknown quantity at this point
 



You need to put in px for starters. i.e width="180px" otherwise certain browsers wont know if its pixels, percent or parrots.. As for the actual problem its kinda hard to tell without seeing the page.
adman_9000 is offline  
Old 07-08-2005, 01:58 AM   #4 (permalink)
NamePros Member
Join Date: Aug 2004
Posts: 73
Crabby is an unknown quantity at this point
 



Originally Posted by adman_9000
You need to put in px for starters. i.e width="180px" otherwise certain browsers wont know if its pixels, percent or parrots..
Ignore this. It's wrong. Required units only apply in CSS. It's default for width attributes to accept integers and display as px/pixels.
__________________
michael
Crabby is offline  
Old 07-08-2005, 10:10 AM THREAD STARTER               #5 (permalink)
NamePros Regular
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
Wildchild22 is an unknown quantity at this point
 



www.ballamness.info/site2

im refering to the two tables on the right
Wildchild22 is offline  
Old 07-08-2005, 10:24 AM   #6 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
You could add: height="200" or whatever fixed size you want, but because the content of the table is not hard-coded (coming from an outside source) I don't know if the table can be made "100%". Try this code (only difference from yours is I added the height="200"...

Quote:
<table class="bordertable" cellpadding="0" cellspacing="0" width="180">
<tr>
<td align="center" class="tablehead" height="21" valign="middle"><b><p>Affiliates</p></b></td>
????: NamePros.com http://www.namepros.com/programming/104538-table-resizing.html
</tr>
<tr>
<td><iframe SRC="http://i.domaindlx.com/ballam/affiliates.asp" height="200" width="175" frameborder="0"></iframe></td>
</tr>
</table>
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 07-08-2005, 10:31 AM   #7 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



do you mean so that you don't have the scroll bars?

you can't do this with a normal iframe. You will have to use a php include:

PHP Code:
include "this_page.html"
Sorry, if you don't have php, then you will have to use an iframe anyway, and that means that you have a scroll bar!
PoorDoggie is offline  
Old 07-09-2005, 01:04 PM   #8 (permalink)
New Member
Join Date: Jan 2005
Posts: 19
adman_9000 is an unknown quantity at this point
 



Originally Posted by Crabby
Ignore this. It's wrong. Required units only apply in CSS. It's default for width attributes to accept integers and display as px/pixels.

my bad. been a while since i used anything other than css.
**sheepish exit stage left**
adman_9000 is offline  
Old 07-09-2005, 02:08 PM THREAD STARTER               #9 (permalink)
NamePros Regular
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
Wildchild22 is an unknown quantity at this point
 



i used a php include the the affiliates and it really messed everything up.... i could sort it but for the next few days i need the site to look good, not messed up lol
Wildchild22 is offline  
Old 07-09-2005, 04:12 PM   #10 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



well, an iframe won't work. You will need to set the EXACT height and then add ( as an attribute )
Code:
scrollbars="no"
I don't use iframes, so that could be wrong.
PoorDoggie is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML page inside a table benc811 Programming 19 04-23-2005 04:40 PM
table width WYSI[not]WYG okravetz Web Design Discussion 4 03-19-2005 01:43 AM
Simple Table Question.... softz Programming 2 01-24-2005 03:47 PM
Table Vertical Alignment flatsix Web Design Discussion 3 01-11-2005 01:25 AM
Tutorial: Getting Started With MySQL (The Basics) deadserious Webmaster Tutorials 3 04-18-2004 02:17 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:22 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger