hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : HTML Table challenge...
Reply

Web Design and Content Subjects include, HTML, graphics, editors, CSS, Flash, graphics creation, placing of ads, ad serv companies, copyright, content and nearly anything else design related. Also talk about businesses that provide design services. If you link to your site, you must post in Web Site Reviews.
Forum Jump

HTML Table challenge...

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-02-2003, 03:14 PM
nocturnix123 nocturnix123 is offline
Web Hosting Guru
 
Join Date: Mar 2002
Posts: 303
Question

HTML Table challenge...


Okay, heres the deal...

I'm working on a pretty little Table to put content into...its actually 3 tables with different cell padding for borders...it should be simple but for some reason its not working out how I want it to.

Heres the code:

<table width="100%" height="100%" border="0" cellpadding="1" cellspacing="0" bgcolor="#000000">
<tr>
<td><table width="100%" height="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>Content here.</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>

Okay, so if you paste this into an html document and view it, you'll see that the bottom of the table is cut off, I'm unable to figure out how to alleviate this problem. Probly need to mess with cellpadding/spacing or maybe the size of one of the inner tables...not sure though...let me know if you come up with a solution!

Thanks in advance,

-nocturnix

__________________
Gaming Forums: NecroTalk.com | DeathKnightArmy.com NEW!

Reply With Quote


Sponsored Links
  #2  
Old 10-02-2003, 03:37 PM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
Why not do this with CSS? Would make life so much easier.

Reply With Quote
  #3  
Old 10-02-2003, 03:51 PM
nocturnix123 nocturnix123 is offline
Web Hosting Guru
 
Join Date: Mar 2002
Posts: 303
because I'm not sure how heheh...uhh...do you have a link to a CSS tutorial page, or something that would explain how to do this?

__________________
Gaming Forums: NecroTalk.com | DeathKnightArmy.com NEW!

Reply With Quote
Sponsored Links
  #4  
Old 10-02-2003, 05:41 PM
Mekhu Mekhu is offline
Evenly Divided
 
Join Date: Aug 2001
Posts: 4,028
nocturnix,

I'm not exactly sure what you're trying to do here. Even with 3 tables, all you've done is created an table layout that could be done only using one set of table commands.

Also, when I place that code within notepad, it runs fine for me. Maybe explain your situation a little more!?

Reply With Quote
  #5  
Old 10-02-2003, 09:05 PM
jjmac78 jjmac78 is offline
Junior Guru Wannabe
 
Join Date: Oct 2003
Location: Arkansas
Posts: 66
I used to do that ALL the time because thats the way Yahoo does it and the only way I figured out how to create a single border in a table... But then came CSS... Here we go, the simple down and dirty in-line style :

<table border="0" align="center" style="border-width: 1; border-color: #990000; border-style: solid">
<tr><td>
Stuff
</td></tr>
</table>

You can replace the style with : dotted, dashed, ridged, inset, outset, double - and a few more i cant remember off the top of my head... makes for some really cool table borders

And as far as I know its compatible all the way back to IE4, but i still use the table inside a table to create my 1 pixel borders - dont ask me why - for some reason i just feel its more compatible.

Also there are GREAT tutorials at webmonkey.com

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
International Startups Compete for $50,000 Cash, Cloud Credits in Sixth Annual AWS Challenge Web Hosting News 2012-09-14 13:57:37
Data Center Firm ViaWest Sponsors USA Pro Challenge Bike Race Web Hosting News 2012-08-17 11:58:09
CloudOpen 2012 Web Hosting Events 2012-08-07 17:07:15
NTCA Fall Conference 2012 Web Hosting Events 2012-08-07 17:06:35
Website Owner Challenges US Immigration and Customs Enforcement Domain Seizures in Court Web Hosting News 2011-06-14 15:01:52


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?