User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 401,741 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,260 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2652 | Replies: 5
Reply
Join Date: Nov 2004
Posts: 86
Reputation: MrScruff is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
MrScruff's Avatar
MrScruff MrScruff is offline Offline
Junior Poster in Training

Help Align right problem.

  #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)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2006
Posts: 13
Reputation: fjm5049 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
fjm5049's Avatar
fjm5049 fjm5049 is offline Offline
Newbie Poster

Re: Align right problem.

  #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  
Join Date: Nov 2004
Posts: 86
Reputation: MrScruff is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
MrScruff's Avatar
MrScruff MrScruff is offline Offline
Junior Poster in Training

Re: Align right problem.

  #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  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Align right problem.

  #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  
Join Date: Jan 2006
Location: Its the internet... i am everywhere lol
Posts: 274
Reputation: f1 fan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 10
f1 fan f1 fan is offline Offline
Posting Whiz in Training

Re: Align right problem.

  #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  
Join Date: Nov 2004
Posts: 86
Reputation: MrScruff is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
MrScruff's Avatar
MrScruff MrScruff is offline Offline
Junior Poster in Training

Re: Align right problem.

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 9:38 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC