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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Weird tables problem, something to do with sizes
Old 10-21-2005, 11:24 PM Weird tables problem, something to do with sizes
Ickie's Avatar
Extreme Talker

Posts: 217
Location: Australia
Trades: 0
Code:
<html>

<head>
<title>*****</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>

<body background="images/bg.gif">
<table width="80%" height="105%" cellpadding="2" cellspacing="0" align="center">

<tr>
	<td rowspan="8" width="1"></td>
	<td valign="top" width="98%" height="44" bgcolor="#EAEAEA" colspan="3"><img border="0" src="images/header.gif" width="311" height="80"></td>
	<td rowspan="8"></td>
</tr>

<tr>
	<td valign="top" width="15%" bgcolor="#EAEAEA" height="17"><b>Navigation</b></td>
	<td valign="top" width="50%" bgcolor="#EAEAEA" rowspan="6"><b>News</b></td>
	<td valign="top" width="15%" bgcolor="#EAEAEA" rowspan="6"><b>Advertisement</b></td>
</tr>

<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" onMouseOut="this.className='out'" height="17">News</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" onMouseOut="this.className='out'" height="17">Community</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" onMouseOut="this.className='out'" height="17">FAQ</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" onMouseOut="this.className='out'" height="17">Contact</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" height="412" width="78"></td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" colspan="3"></td></tr>

</table>
</body>

</html>
The where I have bolded is the part I'm having trouble with, I want two tables going down the size of actual template so I can use them as borders. The only problem is when I make one width ="1" it works, but then when I make the second one width ="1" it makes them both bigger. I figure its something to do with %, but I'm not sure.
Ickie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-22-2005, 07:28 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
i am not if this is what you wanted.
but seeing that you want borders

here is another code :
Code:
<html>

<head>
<title>*****</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>

<body background="images/bg.gif"><table width="80%" cellpadding="1" cellspacing="1" 

bgcolor="black"><tr><td>
<table width="100%" height="105%" cellpadding="2" cellspacing="0" align="center">

<tr>
    
    <td valign="top" width="98%" height="44" bgcolor="#EAEAEA" colspan="3"><img 

border="0" src="images/header.gif" width="311" height="80"></td>
    
</tr>

<tr>
    <td valign="top" width="15%" bgcolor="#EAEAEA" height="17"><b>Navigation</b></td>
    <td valign="top" width="50%" bgcolor="#EAEAEA" rowspan="6"><b>News</b></td>
    <td valign="top" width="15%" bgcolor="#EAEAEA" 

rowspan="6"><b>Advertisement</b></td>
</tr>

<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" 

onMouseOut="this.className='out'" height="17">News</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" 

onMouseOut="this.className='out'" height="17">Community</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" 

onMouseOut="this.className='out'" height="17">FAQ</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" onMouseOver="this.className='over'" 

onMouseOut="this.className='out'" height="17">Contact</td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" height="412" width="78"></td></tr>
<tr><td valign="top" bgcolor="#EAEAEA" colspan="3"></td></tr>

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

</html>
let me know if this is wat u wanted


another thing, unless its intentional, there are some invalid td tags and colspan specifications in your original code
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 10-22-2005, 08:01 AM
Ickie's Avatar
Extreme Talker

Posts: 217
Location: Australia
Trades: 0
I decided to scrap this template. I've decided to go with table-less css layout. Thank you, sorry for wasting your time.

Ickie is offline
Reply With Quote
View Public Profile
 
Old 10-22-2005, 08:02 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
hehehehe

No Problem
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Weird tables problem, something to do with sizes
 

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