School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
You're Browsing As A Guest! Register Now...
Become an Expert!

Join 353,809 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,415 people online right now.Registration is fast and FREE... Join Now!



tables

tables td width

#1 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Posted 02 January 2003 - 11:01 AM

hi, i was wondering what im doing wrong, i wanna make sorta a mini template for navigation, so i wanna make tables like for example 5 pixels top 3 pixels down the side on left and right, and bottom , of course the middle. sorta like this


when i set the td width="5" 4,3, w/e it just centers
and when i specify even 1% is too wide, infact i think 1% is the same when i set it to 5%, i wqas just messing around too see i dont really want 1% width but hey....
so can this be done, maybe i must have the code wrong?
thx

Attached thumbnail(s)

  • Attached Image

Was This Post Helpful? 0
  • +
  • -


#2 klewlis  Icon User is offline

  • cur tu me vexas?
  • PipPipPipPipPip

Reputation: 8
  • View blog
  • Posts: 1,723
  • Joined: 09-November 01

Re: tables

Posted 02 January 2003 - 11:34 AM

can we see the code?
Was This Post Helpful? 0
  • +
  • -

#3 roger  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 109
  • Joined: 10-November 02


Dream Kudos: 2

Re: tables

Posted 02 January 2003 - 11:46 AM

something like this you're going to want to use set values for each column. 3px, 500px, 3px, etc... and for the table itself: 506px. but Klewlis has it right; let's see the code. B)
Was This Post Helpful? 0
  • +
  • -

#4 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Re: tables

Posted 03 January 2003 - 06:27 AM

hey, umm well i havnt made the code b/c it wasnt workin
if i do (td="5") isnt that 5 pixels?
and u can see what i have if u veiw the source but now i have anew problem
i dont understand how i get into these things but when i ftp this html
and veiw it, its a black screen, u can still veiw the source but weird......
any ideas where i went wrong
Click
thx alot in advance

ill try uploading it as .php being i need to in near future but 1. i dont see how that'll help, and 2. its not really solvin my prob cuz i should be alble to make a html...... but so far i had no probs wit .php =/
Was This Post Helpful? 0
  • +
  • -

#5 klewlis  Icon User is offline

  • cur tu me vexas?
  • PipPipPipPipPip

Reputation: 8
  • View blog
  • Posts: 1,723
  • Joined: 09-November 01

Re: tables

Posted 03 January 2003 - 09:05 AM

tEfLoN, on Jan 3 2003, 09:27 AM, said:

hey, umm well i havnt made the code b/c it wasnt workin
if i do (td="5") isnt that 5 pixels?
and u can see what i have if u veiw the source but now i have anew problem
i dont understand how i get into these things but when i ftp this html
and veiw it, its a black screen, u can still veiw the source but weird......
any ideas where i went wrong
Click
thx alot in advance

ill try uploading it as .php being i need to in near future but 1. i dont see how that'll help, and 2. its not really solvin my prob cuz i should be alble to make a html...... but so far i had no probs wit .php =/

1) td="5" doesn't mean anything. you can have <td width="5">
2) I don't see anywhere on your page with the mini navigation menu. Isn't it on there?
3) I'm not getting a blank page, but a table with content, menu, header, footer, etc.
Was This Post Helpful? 0
  • +
  • -

#6 mi6  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 48
  • Joined: 08-November 02

Re: tables

Posted 03 January 2003 - 12:54 PM

In IE6 I see nothing but a black screen, but I believe that is because you are using black text (unspecified) for you menu, etc... try using a color that is different than your bgcolor..... :P

scott
Was This Post Helpful? 0
  • +
  • -

#7 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Re: tables

Posted 03 January 2003 - 10:17 PM

yea ,umm that black screen is weird, the .php works in my browser tho.

sorry klewis, i mean width* yea, so td width="5" means sumthin? cuz it doesnt work 4 me, thats why u dont see it, the thinest i can get it is like
|.....| <-- not acurate) but hey i have an idea, to just blend in the bg around the border i wanna make. is there a way to get it closer tho?

i have time so ill try to make it now and post in a few, hope it works
Was This Post Helpful? 0
  • +
  • -

#8 klewlis  Icon User is offline

  • cur tu me vexas?
  • PipPipPipPipPip

Reputation: 8
  • View blog
  • Posts: 1,723
  • Joined: 09-November 01

Re: tables

Posted 03 January 2003 - 11:37 PM

ok, I still have no idea which part of the page you're trying to fix, or what exactly you're trying to do with it.

do me a favour, take a screenshot and circle the part you're trying to fix, and tell me what is wrong with it.
Was This Post Helpful? 0
  • +
  • -

#9 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Re: tables

Posted 04 January 2003 - 02:33 AM

hey, sorry but i didnt have this ready cuz i quit on it when i couldnt get the width thinner. plus im pretty new to cell and row span (thx roger) but i got the form i guess.

*****the main problem is i cant get that any thinner.
i tried a few things.

i need advice on whats my best bet with width and height tru-out the layout
for xample, i use table height="100%" but that bar image td is set to "28" ((no%)does that read it as pixels????) does that throw something off? if i set table height to a pixel wont some peeps reso's cut off some of site? that happened when i used a header image of 1004 pixels wide, my friends screen couldnt see it alll for sum reason it got cut off.
so can i use pixels and percentage together?

in my head originally i figured i could use pixels to determine the outside of the navigation menus and then create in pixels a image to connect the sides and top/bottom but :huh:
any ideas?
is this a crappy idea to begin with?
im just tired of square boxy lookin' menus :alien:

Attached thumbnail(s)

  • Attached Image

Was This Post Helpful? 0
  • +
  • -

#10 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Re: tables

Posted 04 January 2003 - 02:35 AM

:( really sorry i sretched the page :(
i shoud have said that i wanna make those nav tables like the original image i posted B)

here is the code
<html>
<head>
<title> ..::No Fat Chicks.net/A WWP Clan::.. </title>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bgcolor="000000"> 
<center>
<TABLE WIDTH="100%" height="100%" BORDER="1" BORDERCOLOR="red" cellspacing="0">
<TR>
<TD HEIGHT="" bgcolor="ffffff" colspan="6">
header
</TD>
</TR>
<TR>
<TD bgcolor="ffffff" colspan="6" height="28" background="bargrey.jpg">
.
</TD>
</TR>
<TR>
<TD  bgcolor="ffffff" colspan="6">
Spacer
</TD>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff" rowspan="11">
.
</td>
<td bgcolor="ffffff">
content header
</td>
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td bgcolor="ffffff" rowspan="9">
main iframe
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff" >
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff" colspan="3">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff" colspan="3">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
</tr>
<tr>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td width="5%" bgcolor="ffffff">
.
</td>
<td bgcolor="ffffff">
iframe footer
</td>
</tr>
<TR>
<TD  bgcolor="ffffff" colspan="6">
spacer
</TD>
</tr>
<TR>
<TD  bgcolor="ffffff" colspan="6">
Footer
</TD>
</tr>
</table>
</body>
</html>


!NEW! i added another td and i hope u can see it here
Was This Post Helpful? 0
  • +
  • -

#11 roger  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 109
  • Joined: 10-November 02


Dream Kudos: 2

Re: tables

Posted 04 January 2003 - 06:35 AM

hey tEf, I have to admit I'm getting a bit lost in what you're trying to do. the cell that you have labeled "the main problem"; it's size will be determined by the size of the curved image above it, and the menu next to it. until you have those specified, the "main prob" box will adjust itself to fit. the height attribute isn't very well supported and can cause some weird things.
sorry that I'm not quite understanding... :blink: can you try to explain again? :\
Was This Post Helpful? 0
  • +
  • -

#12 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Re: tables

Posted 04 January 2003 - 08:00 AM

hey! i got it! HeRe
or at least i in my browser.
let me know.
it wasnt working cause i didnt understand and carfully set each and every cell.
i have them lettered, the only 1s i left the width out was L and V, do u think im ok?
I cant w8 to get started fillin in those cells :lol: :P B)
thx for ur time =D
Was This Post Helpful? 0
  • +
  • -

#13 roger  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 109
  • Joined: 10-November 02


Dream Kudos: 2

Re: tables

Posted 04 January 2003 - 08:17 AM

great! looks good. I'm looking forward to seeing the content! I think you're good without filling in the width for L and V, they'll take their size from the other cells, which is what you want, I think.
keep us posted! B)
Was This Post Helpful? 0
  • +
  • -

#14 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Re: tables

Posted 04 January 2003 - 11:55 AM

yea, ok i have 1 more prob. its not too much of a problem, i can rig it , but it bothers me that i can't do it "right"
the image that is under the letter 'G' isnt touching the top of the cell, i tried in the td valign="top" , moved it up a little i think, if i use it as a bg its no use,
the only way i get it to touch top of cell is not to specify a height on the image, its meant to be 7, but if i take the 7 away it touches. ( but all streched out =(
thx
Was This Post Helpful? 0
  • +
  • -

#15 roger  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 109
  • Joined: 10-November 02


Dream Kudos: 2

Re: tables

Posted 04 January 2003 - 12:18 PM

since it's just a gray color, and not a gradient, why not use a bg color? make it a lot easier, and you wouldn't have to worry about the sizing... B)
Was This Post Helpful? 0
  • +
  • -

#16 tEfLoN  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 92
  • Joined: 29-November 02

Re: tables

Posted 05 January 2003 - 08:04 AM

yea i think thats what im gonna do, btw, nice gif animation, what did u use?
any idea how to get an iframe to span the cell, i have width="100%" and it works when the page loads, then shrinks, so maybe its difrent with iframes?.
Was This Post Helpful? 0
  • +
  • -

#17 roger  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 109
  • Joined: 10-November 02


Dream Kudos: 2

Re: tables

Posted 05 January 2003 - 10:13 AM

tEfLoN, on Jan 5 2003, 11:04 AM, said:

yea i think thats what im gonna do, btw, nice gif animation, what did u use?

Image Ready 3/PS 6. my first try at it. pretty fun and quite easy. now I need to find the time to make one that's half way legible! :rolleyes:

Quote

any idea how to get an iframe to span the cell, i have width="100%" and it works when the page loads, then shrinks, so maybe its difrent with iframes?.

I don't know anything about iframes. I need to study up on those, so I'm no help there... sorry... :huh:
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month