PC Review


Reply
Thread Tools Rate Thread

cell alignment

 
 
N.Coffey
Guest
Posts: n/a
 
      5th Nov 2004
I posted this question before but the only answer I got was to give
the cells a border and it would be obvious. They already had a border
and I still don't know why setting the vertical alignment on 'bottom'
or 'baseline' wouldn't make the text sit close to the bottom border.

I want to have a heading in a larger font and then related items below
in cells. When I view the page in IE 5.5 the heading looks as if it
belongs to the group above rather than below.

I am using FP2000.

Thanks,
Nancy
 
Reply With Quote
 
 
 
 
Murray
Guest
Posts: n/a
 
      5th Nov 2004
Sorry for dropping that, Nancy. Can you post the page's code again, please?

--
Murray

"N.Coffey" <(E-Mail Removed)> wrote in message
news:t2xTiiDWL9dE-pn2-JdYWcHhIbddV@localhost...
>I posted this question before but the only answer I got was to give
> the cells a border and it would be obvious. They already had a border
> and I still don't know why setting the vertical alignment on 'bottom'
> or 'baseline' wouldn't make the text sit close to the bottom border.
>
> I want to have a heading in a larger font and then related items below
> in cells. When I view the page in IE 5.5 the heading looks as if it
> belongs to the group above rather than below.
>
> I am using FP2000.
>
> Thanks,
> Nancy



 
Reply With Quote
 
N.Coffey
Guest
Posts: n/a
 
      6th Nov 2004
On Fri, 5 Nov 2004 22:36:57 UTC, "Murray"
<(E-Mail Removed)> wrote:
> Sorry for dropping that, Nancy. Can you post the page's code again, please?


I have posted the page at
http://www.timspartycentre.com/kirrabilli/linksnew.htm

The cell properties for all the headings are 'bottom' except for Dogs:
Clubs, which is 'baseline'.

Another page where I'm having the same effect is:
http://www.timspartycentre.com/kirrabilli/dogs.htm

Thanks for looking at this.

--
Nancy
 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      6th Nov 2004
Try getting rid of all the height attributes in you tables and cells, change
all the valign attributes to bottom, you've mixed widths with % & pixels,
you have colspans of 6 when only 3 columns are being spanned, and many
colspans of 2 which are completely unnecessary.

I would advise starting over. You have a real mess.

Bob Lehmann

"N.Coffey" <(E-Mail Removed)> wrote in message
news:t2xTiiDWL9dE-pn2-OWvP5KBO4dXR@localhost...
> On Fri, 5 Nov 2004 22:36:57 UTC, "Murray"
> <(E-Mail Removed)> wrote:
> > Sorry for dropping that, Nancy. Can you post the page's code again,

please?
>
> I have posted the page at
> http://www.timspartycentre.com/kirrabilli/linksnew.htm
>
> The cell properties for all the headings are 'bottom' except for Dogs:
> Clubs, which is 'baseline'.
>
> Another page where I'm having the same effect is:
> http://www.timspartycentre.com/kirrabilli/dogs.htm
>
> Thanks for looking at this.
>
> --
> Nancy



 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      6th Nov 2004
Your cell widths don't add up to what you have specified for a table width,
you are missing <tr> tags in some of your tables. Additionally, on the
height attributes... remove them from everything except the images.

Missing <tr> problem -
<table border="0" width="700">
<td valign="bottom" >
<div align="center">
&nbsp;
</div>
</table>

Cells not adding up problem -
Table - width="700"

Cells - width="96"
width="110"
width="82"
width="144"
width="146"

Cells add up to 578.

I tried fixing your page, but I'm afraid it's terminal. Best to put it out
of its misery. I've seen some pretty nasty HTML before, but this is really
something.

Bob Lehmann

"N.Coffey" <(E-Mail Removed)> wrote in message
news:t2xTiiDWL9dE-pn2-OWvP5KBO4dXR@localhost...
> On Fri, 5 Nov 2004 22:36:57 UTC, "Murray"
> <(E-Mail Removed)> wrote:
> > Sorry for dropping that, Nancy. Can you post the page's code again,

please?
>
> I have posted the page at
> http://www.timspartycentre.com/kirrabilli/linksnew.htm
>
> The cell properties for all the headings are 'bottom' except for Dogs:
> Clubs, which is 'baseline'.
>
> Another page where I'm having the same effect is:
> http://www.timspartycentre.com/kirrabilli/dogs.htm
>
> Thanks for looking at this.
>
> --
> Nancy



 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      6th Nov 2004
Yep. Good call, Bob. I would say the same....

--
Murray

"Bob Lehmann" <(E-Mail Removed)> wrote in message
news:eP79$(E-Mail Removed)...
> Your cell widths don't add up to what you have specified for a table
> width,
> you are missing <tr> tags in some of your tables. Additionally, on the
> height attributes... remove them from everything except the images.
>
> Missing <tr> problem -
> <table border="0" width="700">
> <td valign="bottom" >
> <div align="center">
> &nbsp;
> </div>
> </table>
>
> Cells not adding up problem -
> Table - width="700"
>
> Cells - width="96"
> width="110"
> width="82"
> width="144"
> width="146"
>
> Cells add up to 578.
>
> I tried fixing your page, but I'm afraid it's terminal. Best to put it out
> of its misery. I've seen some pretty nasty HTML before, but this is really
> something.
>
> Bob Lehmann
>
> "N.Coffey" <(E-Mail Removed)> wrote in message
> news:t2xTiiDWL9dE-pn2-OWvP5KBO4dXR@localhost...
>> On Fri, 5 Nov 2004 22:36:57 UTC, "Murray"
>> <(E-Mail Removed)> wrote:
>> > Sorry for dropping that, Nancy. Can you post the page's code again,

> please?
>>
>> I have posted the page at
>> http://www.timspartycentre.com/kirrabilli/linksnew.htm
>>
>> The cell properties for all the headings are 'bottom' except for Dogs:
>> Clubs, which is 'baseline'.
>>
>> Another page where I'm having the same effect is:
>> http://www.timspartycentre.com/kirrabilli/dogs.htm
>>
>> Thanks for looking at this.
>>
>> --
>> Nancy

>
>



 
Reply With Quote
 
N.Coffey
Guest
Posts: n/a
 
      6th Nov 2004
"Bob Lehmann" <(E-Mail Removed)> wrote in message
news:eP79$(E-Mail Removed)...
>> I tried fixing your page, but I'm afraid it's terminal. Best to
>>put it out of its misery. I've seen some pretty nasty HTML before,
>>but this is really something.


"Murray" <(E-Mail Removed)> wrote:
> Yep. Good call, Bob. I would say the same....


Thank you for looking at it. I took it over from someone and I don't
know how it was made. However, I have now deleted the table and
started over from scratch, building the table in the WYSIWYG mode of
FP2000. Shouldn't that give me HTML without these problems?

The titles are still closer to the tops of the cells than the bottom.
http://www.timspartycentre.com/kirrabilli/linksnew.htm

Did you find the same problems on
http://www.timspartycentre.com/kirrabilli/dogs.htm ?

I started from scratch on that one and I'm having the same problem
with vertical cell alignment.

Would you mind looking at these two pages again and tell me if the
HTML is still terrible? And do you see anything that is still causing
my vertical alignment problems?

Thank you very much for your help.

--
Nancy

 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      6th Nov 2004
You've still got alot of the same problems. But the reason for the space is
the <h2>. These are block elements which will cause a space under them.

You could use CSS to size the font instead. Or, if the <h2> tags are being
used for accessibilty reasons, you could use css to change the margins on
them.

Bob Lehmann

"N.Coffey" <(E-Mail Removed)> wrote in message
news:t2xTiiDWL9dE-pn2-Ip2dtYbio3hL@localhost...
> "Bob Lehmann" <(E-Mail Removed)> wrote in message
> news:eP79$(E-Mail Removed)...
> >> I tried fixing your page, but I'm afraid it's terminal. Best to
> >>put it out of its misery. I've seen some pretty nasty HTML before,
> >>but this is really something.

>
> "Murray" <(E-Mail Removed)> wrote:
> > Yep. Good call, Bob. I would say the same....

>
> Thank you for looking at it. I took it over from someone and I don't
> know how it was made. However, I have now deleted the table and
> started over from scratch, building the table in the WYSIWYG mode of
> FP2000. Shouldn't that give me HTML without these problems?
>
> The titles are still closer to the tops of the cells than the bottom.
> http://www.timspartycentre.com/kirrabilli/linksnew.htm
>
> Did you find the same problems on
> http://www.timspartycentre.com/kirrabilli/dogs.htm ?
>
> I started from scratch on that one and I'm having the same problem
> with vertical cell alignment.
>
> Would you mind looking at these two pages again and tell me if the
> HTML is still terrible? And do you see anything that is still causing
> my vertical alignment problems?
>
> Thank you very much for your help.
>
> --
> Nancy
>



 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      6th Nov 2004
The HTML is as good as it gets when using a theme, it can be improved (in my
opinion) by applying the theme with CSS. The first page is also OK.

The vertical spacing in the tables is caused by the use of Headings (
<h2>Some text</h2> ). Headings are block level tags which will always add
a blank line. The line can be reduced in size by the use of CSS:
<h2 style="margin-bottom:1px">

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


"N.Coffey" <(E-Mail Removed)> wrote in message
news:t2xTiiDWL9dE-pn2-Ip2dtYbio3hL@localhost...
> "Bob Lehmann" <(E-Mail Removed)> wrote in message
> news:eP79$(E-Mail Removed)...
>>> I tried fixing your page, but I'm afraid it's terminal. Best to
>>>put it out of its misery. I've seen some pretty nasty HTML before,
>>>but this is really something.

>
> "Murray" <(E-Mail Removed)> wrote:
>> Yep. Good call, Bob. I would say the same....

>
> Thank you for looking at it. I took it over from someone and I don't
> know how it was made. However, I have now deleted the table and
> started over from scratch, building the table in the WYSIWYG mode of
> FP2000. Shouldn't that give me HTML without these problems?
>
> The titles are still closer to the tops of the cells than the bottom.
> http://www.timspartycentre.com/kirrabilli/linksnew.htm
>
> Did you find the same problems on
> http://www.timspartycentre.com/kirrabilli/dogs.htm ?
>
> I started from scratch on that one and I'm having the same problem
> with vertical cell alignment.
>
> Would you mind looking at these two pages again and tell me if the
> HTML is still terrible? And do you see anything that is still causing
> my vertical alignment problems?
>
> Thank you very much for your help.
>
> --
> Nancy
>



 
Reply With Quote
 
N.Coffey
Guest
Posts: n/a
 
      6th Nov 2004
On Sat, 6 Nov 2004 20:48:37 UTC, "Bob Lehmann"
<(E-Mail Removed)> wrote:
> You've still got alot of the same problems.


Thanks for looking at the pages. I'm surprised that FP produces such
bad HTML sometimes, especially when I was doing a fairly simple job.
It's a good thing that there is a newsgroup for help.

Nancy
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
In Cell alignment, how do I update the default vertical alignment How to update default cell alignment Microsoft Excel Setup 2 4th Feb 2009 02:25 PM
cell alignment hjc Microsoft Excel Misc 6 16th Apr 2008 03:20 AM
Issue with Cell alignment - need only the last line in cell to sho =?Utf-8?B?Q2FtYW5vTW91c2U=?= Microsoft Excel New Users 1 23rd May 2007 11:13 AM
Cell alignment Tom Walat Microsoft Excel Misc 4 30th Mar 2004 04:48 PM
Cell Alignment TripleT Microsoft Excel Programming 1 20th Feb 2004 03:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:03 PM.