Click here to get back home

links not aligning right

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
links not aligning right Corey Walker 10-08-2007
Posted by Corey Walker on October 8, 2007, 12:00 am
Please log in for more thread options
Hello:

I am a webmaster for a non-profit organization. I do know some
HTML, but I'm by no means an expert. Recently, many pages on our site
were redesigned by a professional web designer, who volunteered his time
for a one time improvement. Now, I'm trying to add a new page to our
site, and make it look consistent by removing and replacing the text in
an existing page. However, in the one page the links at the bottom page
are centered and are in two neat lines, like the rest of the site. In
my page, the links are squashed on the left hand side at the bottom. The
pages I'm referring to are:

http://www.reaps.org/Links.html (the links at the bottom of the page are
formatted properly)
http://www.reaps.org/publications/castings/castings2.html (the links are
not displaying properly) .

        Like I said, I'm not an expert, and the professional designer has used
a lot of HTML tags I'm not overly familiar with, such as <span>, and he
also uses table tags in ways I'm not familiar with. Obviously, I've done
something wrong, but I'm not sure what I've done. Perhaps some of you
experts could compare the code of the two pages and let me know what
I've done wrong. Also, could somebody explain what the <map> tags at the
bottom of the page are supposed to do? I assume they have something to
do with image maps, but there's no image maps at the bottom of our
pages. I'm thinking it's useless code I can delete, but I'm not sure.

Thanks,
Corey

P.S. The page is not a "live" page yet, and some of the links don't work
yet, just so you all know. That's something I do know how to fix.

Posted by Jim Moe on October 8, 2007, 1:06 am
Please log in for more thread options
Corey Walker wrote:
>
> http://www.reaps.org/publications/castings/castings2.html (the links are
> not displaying properly) .
>
Those links are placed in an inner table when they should be in the
outer table.

> [...] Also, could somebody explain what the <map> tags at the
> bottom of the page are supposed to do? I assume they have something to
> do with image maps, but there's no image maps at the bottom of our
> pages. I'm thinking it's useless code I can delete, but I'm not sure.
>
It looks like completely useless code. Remove it and see what happens.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Posted by John Hosking on October 8, 2007, 3:03 am
Please log in for more thread options
Corey Walker wrote:
>
> Recently, many pages on our site were redesigned by a professional
> web designer, who volunteered his time for a one time improvement.
>

That was nice of him, so I guess you can't complain. Still, if he was
going to use graphics using black text on white backgrounds, he could
have declared default colors at the same time (in a stylesheet, which he
doesn't seem to know about).

body { color:black; background-color: white; }

> The pages I'm referring to are:
>
> http://www.reaps.org/Links.html (the links at the bottom of the page are
> formatted properly)
> http://www.reaps.org/publications/castings/castings2.html (the links are
> not displaying properly) .
>
> Also, could somebody explain what the <map> tags
> at the bottom of the page are supposed to do? I assume they have
> something to do with image maps, but there's no image maps at the bottom
> of our pages. I'm thinking it's useless code I can delete, but I'm not
> sure.

The Map3 element is what makes links out of the top nav bar in the
banner. If you delete them, the top nav links won't work (unless you
replace the banner image and use individual button images or actual text
links).

Map and Map2 are not used on the page you mention (Links.html) but are
carryovers from another page (similar to the Home page, q.v.), where
there are button-like graphics near the bottom of the page. The Links
page doesn't need Map or Map2 (unless you add similar graphics to that
page).


--
John
Pondering the value of the UIP: http://improve-usenet.org/

Posted by Corey Walker on October 8, 2007, 10:55 pm
Please log in for more thread options
John Hosking wrote:
> Corey Walker wrote:
>>
>> Recently, many pages on our site were redesigned by a professional web
>> designer, who volunteered his time for a one time improvement.
>>
>
> That was nice of him, so I guess you can't complain. Still, if he was
> going to use graphics using black text on white backgrounds, he could
> have declared default colors at the same time (in a stylesheet, which he
> doesn't seem to know about).
>
> body { color:black; background-color: white; }
>
>> The pages I'm referring to are:
>>
>> http://www.reaps.org/Links.html (the links at the bottom of the page
>> are formatted properly)
>> http://www.reaps.org/publications/castings/castings2.html (the links
>> are not displaying properly) .
>>
>> Also, could somebody explain what the <map> tags at the bottom of the
>> page are supposed to do? I assume they have something to do with image
>> maps, but there's no image maps at the bottom of our pages. I'm
>> thinking it's useless code I can delete, but I'm not sure.
>
> The Map3 element is what makes links out of the top nav bar in the
> banner. If you delete them, the top nav links won't work (unless you
> replace the banner image and use individual button images or actual text
> links).
>
> Map and Map2 are not used on the page you mention (Links.html) but are
> carryovers from another page (similar to the Home page, q.v.), where
> there are button-like graphics near the bottom of the page. The Links
> page doesn't need Map or Map2 (unless you add similar graphics to that
> page).
>
>
Thanks, I deleted the excess code and it's working just fine. I just
wish the other guy had used the comments tag a few times, to explain
what some of these tags were to the non-expert. But I'll figure it out
as I go along, I guess.

Corey

Posted by John L. on October 8, 2007, 6:52 am
Please log in for more thread options
Corey Walker wrote:
> Hello:
>
> I am a webmaster for a non-profit organization. I do know some HTML,
> but I'm by no means an expert. Recently, many pages on our site were
> redesigned by a professional web designer, who volunteered his time for
> a one time improvement. Now, I'm trying to add a new page to our site,
> and make it look consistent by removing and replacing the text in an
> existing page. However, in the one page the links at the bottom page
> are centered and are in two neat lines, like the rest of the site. In
> my page, the links are squashed on the left hand side at the bottom. The
> pages I'm referring to are:
>
> http://www.reaps.org/Links.html (the links at the bottom of the page are
> formatted properly)
> http://www.reaps.org/publications/castings/castings2.html (the links are
> not displaying properly) .
>
> Like I said, I'm not an expert, and the professional designer has
> used a lot of HTML tags I'm not overly familiar with, such as <span>,
> and he also uses table tags in ways I'm not familiar with. Obviously,
> I've done something wrong, but I'm not sure what I've done. Perhaps some
> of you experts could compare the code of the two pages and let me know
> what I've done wrong. Also, could somebody explain what the <map> tags
> at the bottom of the page are supposed to do? I assume they have
> something to do with image maps, but there's no image maps at the bottom
> of our pages. I'm thinking it's useless code I can delete, but I'm not
> sure.
>
> Thanks,
> Corey
>
> P.S. The page is not a "live" page yet, and some of the links don't work
> yet, just so you all know. That's something I do know how to fix.


You appear to have missed out a couple of table tags.

The bit you need to change is just above the affected links in the
source code. Search for '<div align="center">' - then look for the bit
above that looks like this:

</span></td>
</tr>
<tr>

Then change it to look like this:

</span></td>
</tr>
</table></td>
</tr>
<tr>

Similar ThreadsPosted
re: links not aligning right October 8, 2007, 1:31 pm
Aligning content vertically September 8, 2005, 7:59 pm
Aligning Flash swf into a webpage September 24, 2005, 3:38 pm
Center-Aligning elements May 12, 2008, 12:41 am
aligning multipule tables in html October 22, 2004, 3:58 pm
Newbie query: aligning text elements left and right? July 22, 2004, 11:25 am
How to position a "footer" div? (Aligning with "bottom:0" aligns to the viewport and not to the containing element :-( ) February 19, 2007, 3:22 am
Aligning content in table cell to top of cell April 26, 2007, 1:56 pm
A plea: where are the links? September 4, 2005, 9:19 am
Help with styles and hot links April 4, 2006, 11:36 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap