FORUMS: list search recent posts

CSS Tables

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jeff Kelley
CSS Tables
on Jul 11, 2008 at 2:16:37 pm

Forget about my post below. I am using tables to get the desired effect, which seems to work well.

Is there any way to make the frames a exact size, rather that dependent on the text? So if I use the same table over and over, the spacing will be the same.

Thanks


Jeff
http://www.willinois.com


Return to posts index

Curtis Thompson
Re: CSS Tables
on Jul 11, 2008 at 6:47:08 pm

hello...

you can add width attributes to table cells - would that be what is missing?

if not, please post an example and we can take a look...

sitruc





Return to posts index

Jeff Kelley
Re: CSS Tables
on Jul 24, 2008 at 4:33:42 pm

Hi Curtis,

Here is what I have. I just copied this code of a website that have examples of tables but am having trouble understanding them.

Here is the css



and the html



Sorry it's been such a long delay.

Jeff
http://www.willinois.com


Return to posts index


Curtis Thompson
Re: CSS Tables
on Jul 25, 2008 at 10:39:24 pm

hello...

sorry - confused...does what you have here not work or it works and you just want to understand it?

sitruc






Return to posts index

Jeff Kelley
Re: CSS Tables
on Jul 28, 2008 at 4:49:04 pm

Right now the size of the boxes vary to the size of the text. Can I add an absolute position to a table? See, it gets used over and over and I want it to be consistent each time, not dependent on the length of the text.

Jeff
http://www.willinois.com


Return to posts index

Curtis Thompson
Re: CSS Tables
on Jul 28, 2008 at 4:55:27 pm

hello...

you can do this via css or you can just use table cell attributes too - for example:

<table width="600" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="400" align="left" valign="top">foo</td>
<td width="200" align="left" valign="top">bar</td>
</tr>
</table>

and then your content will wrap to that width unless it's a fixed string with no spaces in it...

have you tried that way as well?

sitruc





Return to posts index


Jeff Kelley
Re: CSS Tables
on Jul 28, 2008 at 5:30:18 pm

I think you answered it for me.

Thanks Much!


Jeff
http://www.willinois.com


Return to posts index

Sapphire Parker
Re: CSS Tables
on Aug 4, 2008 at 2:27:08 pm

You can specify fixed width to cells on first row. Which will keep the table same in spite of the text inside varying.

Cheers,

SP
http://www.videoediting-direct.co.uk



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]