navwin » Tech Talk » How Do You Spell HTML? » Cell spacing
How Do You Spell HTML?
Post A Reply Post New Topic Cell spacing Go to Previous / Newer Topic Back to Topic List Go to Next / Older Topic
WhtDove
Member Rara Avis
since 1999-07-22
Posts 9245
Illinois

0 posted 2001-02-17 08:56 PM


Moving right along here LOL...
I'm having some trouble with this concept, I caught on a wee little bit today. Right now I'm dumbfounded in what code to use to space my cells.

I have the copy in which I'm trying to do, so you might need to see it, to see what I'm trying to do.
The left margin down is ok, but starting with The Nanny there I need to slim them down, and make them a bit wider. Help...


Now is it in
tag? cellspacing or cellpadding that I should be adding? I know default is 2 in spacing...I really need to learn this.....


Ok, edit this I did like 4 times LOLOLOL and it's all over the page. How can I show you what I did, without it diving up everything in here? LMAO!!

[This message has been edited by WhtDove (edited 02-17-2001).]
© Copyright 2001 WhtDove - All Rights Reserved
Poet deVine
Administrator
Member Seraphic
since 1999-05-26
Posts 22612
Hurricane Alley
1 posted 2001-02-17 09:02 PM


Becky...don't ever try to design jails...
WhtDove
Member Rara Avis
since 1999-07-22
Posts 9245
Illinois
2 posted 2001-02-17 09:07 PM


Alright dang it....I can't get the code out of here.
Help!! Sorry y'all!! Man I hope I didn't screw anything up Ron. I thought I could copy the code in there and show what I had. When that didn't work, I went back and deleted the code. But it's still dividing it up in cells. Did I break it?

Sharon



[This message has been edited by WhtDove (edited 02-17-2001).]

Ron
Administrator
Member Rara Avis
since 1999-05-19
Posts 8669
Michigan, US
3 posted 2001-02-17 11:06 PM


LOL - this is actually a good example of the differences between IE and Netscape. This screen looks perfectly fine in Netscape, but is a bit, uh, different in IE.

I've heard a ton of designers complain that NS sucks because it won't display their pages right. And they're not always real happy to hear the real problem isn't the browser, but rather sloppy coding. You see, Netscape insists that your HTML codes be right. If you start with a table tag, you have to end with a table tag. And if you don't, NS won't show ANY of your table.

IE, on the other hand, is far more forgiving. It tries to figure out what you meant to do. If you start with a table tag, then put in a bunch of rows and cells, IE will figure you just forgot the closing tag and do it for you. It will, in other words, still show the table, even though you never quite finished it. From a user's standpoint, that probably sounds pretty good - but it does encourage sloppy workmanship.

This is an example of IE trying to figure out what you meant to do and getting it very, very wrong. When you mentioned the < td > code in your paragraph (notice how I used spaces to make that tag not work), IE figured you wanted to start a new cell. Even though you never closed the tag, even though it doesn't match the column count in the rest of the table, IE tried its best to make it work.

Ya gotta love Gates...  

WhtDove
Member Rara Avis
since 1999-07-22
Posts 9245
Illinois
4 posted 2001-02-18 10:52 AM


Ok I see what you mean. We were working on IE yesterday and someone forgot one of their beginning tags, and it wouldn't display a thing.

However, I pasted my entire HTML page in here..Not long really, pretty much consisted of the table I was trying to do. Well, it pushed my words all over the screen. So I went and took out all that code and left of course, only what you see now, and it still looks the same.

So that one little tag in there that I forgot to space, still made it think I was creating a whole table? Geez.....

Ok, now how am I going to get help with this homework?

At least I didn't break it. LOL

Ron
Administrator
Member Rara Avis
since 1999-05-19
Posts 8669
Michigan, US
5 posted 2001-02-18 12:53 PM


I've now turned HTML off in this forum (and in Interactive Content), so the occasional code snippet doesn't have surprising results.

However, the best way to get feedback on code is to put it in a web page somewhere and just post the URL here. That way, we can go to the URL and see what is happening in the browser, which is often much easier and more accurate than having you try to describe it. Once we see the effect, we can then View Source and try to find out why it's happening.

WhtDove
Member Rara Avis
since 1999-07-22
Posts 9245
Illinois
6 posted 2001-02-18 06:51 PM


Thanks Ron! That's a great idea!! I'll have to scan the copy I have and post them both.

You really have your thinking cap on. LOL
Why didn't I think of something like that?
LOL

Nicole
Senior Member
since 1999-06-23
Posts 1835
Florida
7 posted 2001-02-19 02:20 PM


I'm sick and gone for a couple days, and Becca LOOK what you did to the forum!!

LOL


WhtDove
Member Rara Avis
since 1999-07-22
Posts 9245
Illinois
8 posted 2001-02-19 10:26 PM


<font face="Courier New, Arial, Verdana" color="#000080" size="2">LOL Nicole, leave it to me!  

Hope you're feeling better!!

Ok, I got them both up. The top one is the one I did, and the bottom is the copy we had to make ours look like.

My problem is the spacing in the cell...
Now when I check my notes, that would fall under TABLE with cellpadding, because that sets the space between a border and cell content. Only the bottom one pictured looks as if it has about 2 pixels worth of space from the left border of each cell.

Mine don't look like that, and I'm at a loss as how to get it there!  Please help me understand what it is I'm NOT doing.

Thanks!  Oh yea, here's the URL</font>
http://www.geocities.com/whtdove377/schedule.html




[This message has been edited by WhtDove (edited 02-19-2001).]

Ron
Administrator
Member Rara Avis
since 1999-05-19
Posts 8669
Michigan, US
9 posted 2001-02-20 05:30 AM


Increasing cellpadding or cellspacing will not add white space to just the beginning of the text, but rather, will add essentially the same amount of white all around the contents of each cell. Not what you want.

I suspect if you add a nonbreaking space to the beginning of each text string, you'll see what you want to see.  

p.s. With HTML turned off in here, you can no longer use the formatting options (font, etc) when posting. They are HTML and won't work any more.

WhtDove
Member Rara Avis
since 1999-07-22
Posts 9245
Illinois
10 posted 2001-02-20 09:19 AM


Ron, I didn't do that HTML in there I swear!
When I posted and went back and looked, it was there. I have all my font and stuff set in my profile. I didn't do that.


I think I achieved what I wanted it to look like, but I'll play with it some more and see what happens. We've mentioned nbsp but haven't really used it. I'll try it. Thanks!

Post A Reply Post New Topic ⇧ top of page ⇧ Go to Previous / Newer Topic Back to Topic List Go to Next / Older Topic
All times are ET (US). All dates are in Year-Month-Day format.
navwin » Tech Talk » How Do You Spell HTML? » Cell spacing

Passions in Poetry | pipTalk Home Page | Main Poetry Forums | 100 Best Poems

How to Join | Member's Area / Help | Private Library | Search | Contact Us | Login
Discussion | Tech Talk | Archives | Sanctuary