473,396 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Changing one column of a two-column table?

Hello,

I have a small two-column table with three rows. The first column has a logo
and the second column has the name of the organization.

The logo's in the first column are too high. That is, they don't align
horizontally with the organization name. I need to lower the logo's within
the column.

However, I don't know how to manipulate one column at a time. Everything I
do with CSS affects both columns. I placed the CSS & HTML below. Can someone
tell me how to lower the logo's in the first column so it is even with the
name in the second column?

Thanks a lot,

Bob

__

CSS:

table.organizations th{
text-align: left;
font-size: 80%;
padding: 20px 0px 0px 10px;
}

HTML:

<table class="organizations" border=0>
<tr valign="top"><td><img src="images/site/apa5.gif" alt="American
Psychological Association"></td><th colspan="">American Psychological
Association </th></tr>
<tr valign="top"><td><img src="images/site/upa2.gif" alt="Usability
Professionals Association"></td><th colspan="2">Usability Professionals
Association </th></tr>
<tr valign="top"><td><img src="images/site/hfes8.gif" alt="Human Factors
&amp; Ergonomics Society"></td><th colspan="2">Human Factors &amp;
Ergonomics Society </th></tr>

</table>
Mar 8 '06 #1
5 2647
> I have a small two-column table with three rows. The first column has a
logo
and the second column has the name of the organization.

The logo's in the first column are too high. That is, they don't align
horizontally with the organization name. I need to lower the logo's within
the column.

However, I don't know how to manipulate one column at a time. Everything I
do with CSS affects both columns. I placed the CSS & HTML below. Can
someone
tell me how to lower the logo's in the first column so it is even with the
name in the second column?

Sorry to have bothered everyone. I solved the problem. Just a lot of trial
and error because of my lack of knowledge.

Bob
Mar 8 '06 #2
Hymer wrote:
I have a small two-column table with three rows. The first column has a
logo
and the second column has the name of the organization.

The logo's in the first column are too high. That is, they don't align
horizontally with the organization name. I need to lower the logo's within
the column.

However, I don't know how to manipulate one column at a time. Everything I
do with CSS affects both columns. I placed the CSS & HTML below. Can
someone
tell me how to lower the logo's in the first column so it is even with the
name in the second column?


Sorry to have bothered everyone. I solved the problem. Just a lot of trial
and error because of my lack of knowledge.

Bob

Ok now share it. I want to do something simular in a couple weeks.

Dave
Mar 8 '06 #3

"Dave Kelly" <da********@earthlink.net> wrote in message
news:yu*****************@newsread2.news.pas.earthl ink.net...
Hymer wrote:
I have a small two-column table with three rows. The first column has a
logo
and the second column has the name of the organization.

The logo's in the first column are too high. That is, they don't align
horizontally with the organization name. I need to lower the logo's
within
the column.

However, I don't know how to manipulate one column at a time. Everything
I
do with CSS affects both columns. I placed the CSS & HTML below. Can
someone
tell me how to lower the logo's in the first column so it is even with
the
name in the second column?


Sorry to have bothered everyone. I solved the problem. Just a lot of
trial and error because of my lack of knowledge.

Bob

Ok now share it. I want to do something simular in a couple weeks.

Dave


Hi Dave,

First, I set up the logo in Photoshop Elements where I added Enhance / Auto
Level and Auto Contrast just to make it look good. You can also do Filter /
Sharpen if you need to. I then saved it as a .jpg.

I imported the logo into Corel Draw. Then I used the circle tool to draw a
circle, made sure it was set for anti-aliasing at 100%, changed the width of
the line to be a bit thicker, changed the color of the line to match the
logo. Then I dragged the circle on top of the logo (Corel Draw automatically
has a transparent center when using the circle tool. That was it for Corel
Draw.

I then copied and pasted the logo with the circle into Photoshop Elements.
Then I used the magic wand with a sensitivity set to about 10 which outlined
the logo perfectly. I used the magic eraser to make it a transparency. Then
I resized the logo and did a Save For Web.

I think that was about what I did and it worked quite well.

I hope that helps.

Bob
Mar 9 '06 #4
Hymer wrote:
"Dave Kelly" <da********@earthlink.net> wrote in message
news:yu*****************@newsread2.news.pas.earthl ink.net...
Hymer wrote:
I have a small two-column table with three rows. The first column has a
logo
and the second column has the name of the organization.

The logo's in the first column are too high. That is, they don't align
horizontally with the organization name. I need to lower the logo's
within
the column.

However, I don't know how to manipulate one column at a time. Everything
I
do with CSS affects both columns. I placed the CSS & HTML below. Can
someone
tell me how to lower the logo's in the first column so it is even with
the
name in the second column?


Sorry to have bothered everyone. I solved the problem. Just a lot of
trial and error because of my lack of knowledge.

Bob


Ok now share it. I want to do something simular in a couple weeks.

Dave

Hi Dave,

First, I set up the logo in Photoshop Elements where I added Enhance / Auto
Level and Auto Contrast just to make it look good. You can also do Filter /
Sharpen if you need to. I then saved it as a .jpg.

I imported the logo into Corel Draw. Then I used the circle tool to draw a
circle, made sure it was set for anti-aliasing at 100%, changed the width of
the line to be a bit thicker, changed the color of the line to match the
logo. Then I dragged the circle on top of the logo (Corel Draw automatically
has a transparent center when using the circle tool. That was it for Corel
Draw.

I then copied and pasted the logo with the circle into Photoshop Elements.
Then I used the magic wand with a sensitivity set to about 10 which outlined
the logo perfectly. I used the magic eraser to make it a transparency. Then
I resized the logo and did a Save For Web.

I think that was about what I did and it worked quite well.

I hope that helps.

Bob

First let me thank you for repling.
But now I'm confused. It looks to me as if your question was about
getting columns to line up and your answer to my quey was about making a
logo.
Mar 10 '06 #5


First let me thank you for repling.
But now I'm confused. It looks to me as if your question was about
getting columns to line up and your answer to my quey was about making a
logo.


So sorry Dave. I had two questions going at the same time and did not pay
attention. But if you ever need to draw a circle around a logo :)

The column fix was very easy in my case. It was done by changing the CSS
controlling the table. The main thing to get the image and text aligned was
to chane to "vertical-align: bottom." I had to play with the variables a bit
but my solution is below.

I hope that helps.

Bob
CSS:

table.organizations th{
text-align: left;
vertical-align: bottom;
font-size: 80%;
padding: 5px 0px 0px 10px;
}

HTML:

<table class="organizations" border=0>
<tr valign="middle"><td><img src="images/site/apa5.gif" alt="American
Psychological Association"></td><th>American Psychological Association
</th></tr>
<tr valign="middle"><td><img src="images/site/upa2.gif" alt="Usability
Professionals Association"></td><th colspan="2">Usability Professionals
Association </th></tr>
<tr valign="middle"><td><img src="images/site/hfes8.gif" alt="Human Factors
&amp; Ergonomics Society"></td><th colspan="2">Human Factors &amp;
Ergonomics Society </th></tr>
</table>
Mar 10 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: oom | last post by:
I am a bit of a newbie when it comes to python, when working with lists today I noticed some very odd behaviour, any suggestions welcome: Python 2.2.3 (#1, Nov 6 2003, 14:12:38) on linux2...
1
by: Jamey Saunders | last post by:
Hi all, I'm just learning Python (I'm about 8 hours in so far), and I have a problem. I'm writing a small Windows app using Tkinter. I have two buttons on my screen that I want to start in an...
1
by: M Mueller | last post by:
OS - Windows NT 4.0 Enterprise Edition DB Version - 8.1.7.4.1 When trying to change the Character Set from US7ASCII to WE8MSWIN1252, we complete the following steps from SVRMGR, connected as...
14
by: Brandon Hoppe | last post by:
I'm trying to change the src of an ilayer in the parent document from a link inside the ilayer. I'm not able to get it to work. All that happens is Netscape 4 crashes. This is for Netscape 4 only....
3
by: Geoff Soper | last post by:
I'm trying to dynamically change the cursor of a couple of maps over an image. Basically the image is in an online photo system where there is a rotate mode. In this mode clicking on the left or...
7
by: Daniel | last post by:
how to make two references to one string that stay refered to the same string reguardless of the changing value in the string?
3
by: Michael Eisenstadt | last post by:
What are the coding options for client-side image size changing? I want the viewer to be able to switch between two different sizes of the same image with his/her mouse. Thanks in advance for...
3
by: Jeremy Ames | last post by:
I have a form that contains two hidden values, among other controls. I was wondering, if I change these values in server script and immediately do a server.transfer, do these values get updated...
3
by: flyfree | last post by:
>>def fooA(y): y = return y y = 3 y = 4 return y
4
by: dertopper | last post by:
Hello newsgroup, is it possible to create a std::locale object without changing the global C locale? Is this implementation defined? My problem is that I work in a multi-threaded environment...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.