473,734 Members | 2,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.organizat ions th{
text-align: left;
font-size: 80%;
padding: 20px 0px 0px 10px;
}

HTML:

<table class="organiza tions" border=0>
<tr valign="top"><t d><img src="images/site/apa5.gif" alt="American
Psychological Association"></td><th colspan="">Amer ican Psychological
Association </th></tr>
<tr valign="top"><t d><img src="images/site/upa2.gif" alt="Usability
Professionals Association"></td><th colspan="2">Usa bility Professionals
Association </th></tr>
<tr valign="top"><t d><img src="images/site/hfes8.gif" alt="Human Factors
&amp; Ergonomics Society"></td><th colspan="2">Hum an Factors &amp;
Ergonomics Society </th></tr>

</table>
Mar 8 '06 #1
5 2668
> 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
horizontall y 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********@ear thlink.net> wrote in message
news:yu******** *********@newsr ead2.news.pas.e arthlink.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
horizontal ly 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********@ear thlink.net> wrote in message
news:yu******** *********@newsr ead2.news.pas.e arthlink.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
horizontall y 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.organizat ions th{
text-align: left;
vertical-align: bottom;
font-size: 80%;
padding: 5px 0px 0px 10px;
}

HTML:

<table class="organiza tions" 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">Usa bility Professionals
Association </th></tr>
<tr valign="middle" ><td><img src="images/site/hfes8.gif" alt="Human Factors
&amp; Ergonomics Society"></td><th colspan="2">Hum an 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
2389
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 Type "help", "copyright", "credits" or "license" for more information. >>> firstlist= >>> secondlist=firstlist >>> print (firstlist,secondlist)
1
1674
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 inactive state (already have that working) and when two input fields have some data input, the buttons would become active. What's the best way to go about changing the state of buttons that already exist? Thanks!
1
7190
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 internal: SHUTDOWN IMMEDIATE; STARTUP MOUNT EXCLUSIVE; ALTER SYSTEM ENABLE RESTRICTED SESSION; ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
14
2509
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. For example, here is the main page: <html> <head> <script type="text/javascript">
3
3449
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 right half of the image rotates it 90 degrees to the left or right. I want to change the cursor to indicate this but only while in the rotate mode. After looking at it in the Mozilla DOM inspector it seems as if the style is changing but neither...
7
1428
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
2427
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 your help. Michael Eisenstadt
3
1978
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 before the page is changed? I want to say that because the values are changed but the page is never reloaded after the change, that these changes do not take effect before the server.transfer. Please let me know if I am correct here. I think I am...
3
1511
by: flyfree | last post by:
>>def fooA(y): y = return y y = 3 y = 4 return y
4
3375
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 that has to deal with two different locales. Unfortunately, the code uses plain C functions for IO at many places. However, there is a single point that uses std::isprint with a C++ locale that is different from the standard locale. That's why I'm...
0
8776
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9449
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.