Align right problem.

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Nov 2004
Posts: 89
Reputation: MrScruff is an unknown quantity at this point 
Solved Threads: 0
MrScruff's Avatar
MrScruff MrScruff is offline Offline
Junior Poster in Training

Align right problem.

 
0
  #1
Jan 30th, 2006
Hello!

I'm trying to place a google search bar on the right hand side of my header. So my logo is on the left and search is on the right.

So I've got a table with two columns, logo in one and search in the other. But for some reason I can't get them spaced out right.

The header is the black section on this page:

http://blackdrop.org/music/portal.php

I've tried making the overall table bigger, changing the alignment e.t.c but nothing seems to be working. So I gathered that I must have been looking at it for so long that I've missed something.

I would really appreciate it if someone could have a look over the overall_header.tpl (EDIT: invalid file type so I'll upload a .txt) file attached and see if you can spot what I've missed.

You may want to scroll all the way down to the bottom of the file to find the html code the rest is css.

Thanks!
Attached Files
File Type: txt overall_header.txt (13.4 KB, 4 views)
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 14
Reputation: fjm5049 is an unknown quantity at this point 
Solved Threads: 0
fjm5049's Avatar
fjm5049 fjm5049 is offline Offline
Newbie Poster

Re: Align right problem.

 
0
  #2
Jan 30th, 2006
Have you considered making a transparent GIF(s) as a spacer(s) to push the images around to where you want them to be? It is kind of a hap-hazard way of doing it but sometimes it seems to be the only way I can get things done.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 89
Reputation: MrScruff is an unknown quantity at this point 
Solved Threads: 0
MrScruff's Avatar
MrScruff MrScruff is offline Offline
Junior Poster in Training

Re: Align right problem.

 
0
  #3
Jan 31st, 2006
I might use that as a last resort but thanks for the input! I'm not sure whats stopping them from being aligned within the table. Very Strange.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Align right problem.

 
0
  #4
Jan 31st, 2006
I don't see where you're applying any alignment to the td elements. It's very had to diagnose such a, well, messy bunch of code.

Strip it down. Make a static page, with only the very bare essentials. Get it working there. Then you'll have some idea of what to edit in your real page.
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 275
Reputation: f1 fan is an unknown quantity at this point 
Solved Threads: 11
f1 fan f1 fan is offline Offline
Posting Whiz in Training

Re: Align right problem.

 
0
  #5
Jan 31st, 2006
i hate to say it but the ONLY thing that looks correct on there is the google search. On both firefox and ie it is aligned right. However the page is a complete mess on ie. The left side is all overlapping etc. I havent looked at your html, css or javascript. Like it or loathe it (i personally dont use it other than for testing) you have to use ie to check your site as the majority of users are using it. It really doesnt look nice in ie compared to FF.

But as for the original problem are you just not getting it over far enough to the right?
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 89
Reputation: MrScruff is an unknown quantity at this point 
Solved Threads: 0
MrScruff's Avatar
MrScruff MrScruff is offline Offline
Junior Poster in Training

Re: Align right problem.

 
0
  #6
Feb 1st, 2006
Hey thanks for the input. I am aware of the IE problem and thats on my list of things to get fixed Turns out there was a rogue <td> hiding under my google search code! I got rid of that and hey presto it works fine.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC