| | |
Align right problem.
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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
Posts: 275
Reputation:
Solved Threads: 11
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?
![]() |
Similar Threads
- 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
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate array automatically browser bug calendar captchaformproblem cart checkbox child class close codes createrange() cursor date debugger dependent disablefirebug dom dropdown editor element embed engine events explorer ext file firefox form forms getselection google gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jsp jump libcurl maps masterpage math media microsoft object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search security shopping size software sql text textarea toggle unicode web website windowsxp wysiwyg \n







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