•
•
•
•
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 391,999 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,174 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: 2601 | Replies: 5
![]() |
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!
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!
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.
•
•
Join Date: Jan 2006
Location: Its the internet... i am everywhere lol
Posts: 274
Reputation:
Rep Power: 3
Solved Threads: 10
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?
But as for the original problem are you just not getting it over far enough to the right?
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- How to have the div layer center on any browser? (JavaScript / DHTML / AJAX)
- problem in javascript coding in asp page (ASP)
- PHP Search pagination problem (PHP)
- Have a problem with centering "jpg" files (HTML and CSS)
- Problem in resizing of resolution of windows for a web page (HTML and CSS)
- Problem with View More Messages title appearing (JavaScript / DHTML / AJAX)
- How can fix the problem? (JavaScript / DHTML / AJAX)
- DSO Exploit + VX2/F problem along with brower home page problem (Viruses, Spyware and other Nasties)
- search and results problem (PHP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Web page in email
- Next Thread: buttons in html



Turns out there was a rogue <td> hiding under my google search code! I got rid of that and hey presto it works fine.
Linear Mode