Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 04-16-2005, 04:00   #1 (permalink)
Ignoramus31693
Civilians

 
Default Unsolvable table spacing problem

http://dsl.algebra.com/tmp/table-spacing.html

My problem is that I want the little images to "hug" the bottom of the
table. I do not want there to be any space between the images and the
bottom of the table. What am I missing?

(what I really want is to make a "tabbed" view, sort of like amazon
tabs). The references to images are pictures of individual tabs.

i
================================================== ====================
HTML:

<TABLE bgcolor="#f0f0f0" width=100% cellspacing=0 cellpadding=0 rules=0 border=2>
<TR>
<TD>
<A HREF=url0><IMG SRC=/cgi-bin/tab.mpl?text=Tab+0+UnSelected&selected=&spacing= BORDER=0></A>
&nbsp;
<IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+Selected&selected=1&spacing=5 BORDER=0>
&nbsp;
<A HREF=url2><IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+UnSelected&selected=&spacing= BORDER=0></A>
</TD>
</TR>
</TABLE>
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 04-16-2005, 04:00   #2 (permalink)
Norman L. DeForest
Civilians

 
Default Re: Unsolvable table spacing problem


On 16 Apr 2005, Ignoramus31693 wrote:

> http://dsl.algebra.com/tmp/table-spacing.html
>
> My problem is that I want the little images to "hug" the bottom of the
> table. I do not want there to be any space between the images and the
> bottom of the table. What am I missing?
>
> (what I really want is to make a "tabbed" view, sort of like amazon
> tabs). The references to images are pictures of individual tabs.
>
> i
> ================================================== ====================
> HTML:
>
> <TABLE bgcolor="#f0f0f0" width=100% cellspacing=0 cellpadding=0 rules=0 border=2>
> <TR>


Try adding a valign="bottom" attribute to the <TR> tag:

<TR valign="bottom">

> <TD>


or to the <TD> tag:

<TD valign="bottom">

> <A HREF=url0><IMG SRC=/cgi-bin/tab.mpl?text=Tab+0+UnSelected&selected=&spacing= BORDER=0></A>
> &nbsp;
> <IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+Selected&selected=1&spacing=5 BORDER=0>
> &nbsp;
> <A HREF=url2><IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+UnSelected&selected=&spacing= BORDER=0></A>
> </TD>
> </TR>
> </TABLE>


--
">> consider moving away from Front Page...."
">To what? Any suggestions?"
"Naked bungee-jumping. It's less humiliating <g>"
-- Matt Probert in alt.www.webmaster, March 20, 2005

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2005, 04:00   #3 (permalink)
Norman L. DeForest
Civilians

 
Default Re: Unsolvable table spacing problem [a correction]


On Sat, 16 Apr 2005, Norman L. DeForest wrote:

> On 16 Apr 2005, Ignoramus31693 wrote:
>
> > http://dsl.algebra.com/tmp/table-spacing.html
> >
> > My problem is that I want the little images to "hug" the bottom of the
> > table. I do not want there to be any space between the images and the
> > bottom of the table. What am I missing?
> >
> > (what I really want is to make a "tabbed" view, sort of like amazon
> > tabs). The references to images are pictures of individual tabs.
> >
> > i
> > ================================================== ====================
> > HTML:
> >
> > <TABLE bgcolor="#f0f0f0" width=100% cellspacing=0 cellpadding=0 rules=0 border=2>
> > <TR>

>
> Try adding a valign="bottom" attribute to the <TR> tag:
>
> <TR valign="bottom">
>
> > <TD>

>
> or to the <TD> tag:
>
> <TD valign="bottom">


If I am interpreting the HTML references I have correctly, either of the
above *should* have worked but I just checked and they don't work with
Firefox.

What *does* work is to specify a alignment style for each of the inline
images (quotes required by the HTML standards also added below):

>
> > <A HREF=url0><IMG SRC=/cgi-bin/tab.mpl?text=Tab+0+UnSelected&selected=&spacing= BORDER=0></A>


<A HREF=url0><IMG
SRC="/cgi-bin/tab.mpl?text=Tab+0+UnSelected&selected=&spacing="
BORDER=0 style="vertical-align:bottom"></A>

> > &nbsp;
> > <IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+Selected&selected=1&spacing=5 BORDER=0>


<IMG SRC="/cgi-bin/tab.mpl?text=Tab+1+Selected&selected=1&spacing=5"
BORDER=0 style="vertical-align:bottom">

> > &nbsp;
> > <A HREF=url2><IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+UnSelected&selected=&spacing= BORDER=0></A>


<A HREF=url2><IMG
SRC="/cgi-bin/tab.mpl?text=Tab+1+UnSelected&selected=&spacing="
BORDER=0 style="vertical-align:bottom"></A>

> > </TD>
> > </TR>
> > </TABLE>


--
A Speech Friendly site: http://www.chebucto.ns.ca/~af380/Profile.html
Norman De Forest, af380@chebucto.ns.ca --- From an actual package: "Do not
mix old and new batteries. Do not mix alkaline, standard (carbon-zinc) or
rechargeable (nickel-cadmium). Uses one 9-volt battery, not included."

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2005, 12:00   #4 (permalink)
Ignoramus31693
Civilians

 
Default Re: Unsolvable table spacing problem

Thanks. It did not work. I did however, redo this using text only tabs.
The links in tabs do not work yet, but you get the idea:

http://dsl.algebra.com/algebra/homew...gestyle=tabbed

This is an attemp to redesign my navigation, while still leaving the
site search engine friendly.

The way these ages are currently seen (and which I want to improve) is:

http://dsl.algebra.com/algebra/homew...e=disorganized

i

On Sat, 16 Apr 2005 0209 -0300, Norman L. DeForest <af380@chebucto.ns.ca> wrote:
>
> On 16 Apr 2005, Ignoramus31693 wrote:
>
>> http://dsl.algebra.com/tmp/table-spacing.html
>>
>> My problem is that I want the little images to "hug" the bottom of the
>> table. I do not want there to be any space between the images and the
>> bottom of the table. What am I missing?
>>
>> (what I really want is to make a "tabbed" view, sort of like amazon
>> tabs). The references to images are pictures of individual tabs.
>>
>> i
>> ================================================== ====================
>> HTML:
>>
>> <TABLE bgcolor="#f0f0f0" width=100% cellspacing=0 cellpadding=0 rules=0 border=2>
>> <TR>

>
> Try adding a valign="bottom" attribute to the <TR> tag:
>
> <TR valign="bottom">
>
>> <TD>

>
> or to the <TD> tag:
>
> <TD valign="bottom">
>
>> <A HREF=url0><IMG SRC=/cgi-bin/tab.mpl?text=Tab+0+UnSelected&selected=&spacing= BORDER=0></A>
>> &nbsp;
>> <IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+Selected&selected=1&spacing=5 BORDER=0>
>> &nbsp;
>> <A HREF=url2><IMG SRC=/cgi-bin/tab.mpl?text=Tab+1+UnSelected&selected=&spacing= BORDER=0></A>
>> </TD>
>> </TR>
>> </TABLE>

>



--
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2005, 12:00   #5 (permalink)
Norman L. DeForest
Civilians

 
Default Re: Unsolvable table spacing problem


On 16 Apr 2005, Ignoramus31693 wrote:

> Thanks. It did not work. [...]


Perhaps my correction to that post didn't make it to your newsserver.

Reading the HTML documentation I have certainly gave me the impression
that that would work but I was logged in to my text account with a
DOS-based terminal emulator at the time and could access the
documentation but any more lengthy tests were likely to get me dumped
off the net for having an idle session. After logging off, I made some
tests with Firefox and found that that did *not* work. What *did* work
was adding this attribute to each of the images:

style="vertical-align:bottom"

I tacked it on right after the BORDER=0 (with a space between them)
and right before the '>'.

You also need to put quotes around the URLs for the images. They contain
non-alphanumeric characters which should always be quoted.

--
">> consider moving away from Front Page...."
">To what? Any suggestions?"
"Naked bungee-jumping. It's less humiliating <g>"
-- Matt Probert in alt.www.webmaster, March 20, 2005

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Problem need_help_with_excel Microsoft Applications 1 09-13-2005 04:00
problem getting out of a table Steve S. Web Design 3 03-19-2005 16:00
Pivot table problem Gershon Shamay Microsoft Applications 1 03-05-2005 20:00
Time Table Problem J_J Microsoft Applications 7 10-28-2004 20:00
Pivot Table problem Rob Botterill Microsoft Applications 3 07-28-2004 01:08


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:19.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 1.03864 seconds with 19 queries