Hi all, Have a look at the following page: http://www.maltasearchengine.com/. On firefox it looks ok but on ie the space between the iamge and the search box is thick. How can it be solved? Many thx
If you want to leave the table there, try <table cellpadding="0" cellspacing="0"> HTML: But I would recommend redo it with CSS
Here you have it complete, tested in Opera and IE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> #wrap { margin:70px auto 0 auto; /*dial that first up a bit*/ width:340px;} #image { background-image:url('mselogoblack.jpg'); width:331px; height:171px;} #search {width:340px;} </style> <title>MaltaSearchEngine.com</title> </head> <body> <div id="wrap"> <div id="image"></div> <div id="search"> <form id="searchbox_016808286700368055991:hp98s3ikclg" action="http://www.google.com/cse"> <input type="hidden" name="cx" value="016808286700368055991:hp98s3ikclg" /> <input name="q" type="text" size="40" /> <input type="submit" name="sa" value="Search" /> <input type="hidden" name="cof" value="FORID:1" /> </form> </div> </div> </body> </html> HTML:
It's fun to help people, mainly with CSS etc. which is pretty easy for me... but once it wasn't, that's why I remember these guys and help them out
Another problem - howcome "make malta search engine your homepage" isn t centered since i added the alignment?
Try this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> #wrap { margin:70px auto 0 auto; /*dial that first up a bit*/ width:340px;} #image { background-image:url('mselogoblack.jpg'); width:331px; height:171px;} #search {width:340px;} </style> <title>MaltaSearchEngine.com</title> </head> <body> <div id="wrap" align="center"> <div id="image"></div> <div id="search"> <form id="searchbox_016808286700368055991:hp98s3ikclg" action="http://www.google.com/cse"> <input type="hidden" name="cx" value="016808286700368055991:hp98s3ikclg" /> <input name="q" type="text" size="40" /> <input type="submit" name="sa" value="Search" /> <input type="hidden" name="cof" value="FORID:1" /> </form> </div> </div> </body> </html> I actually can't even see where it says "make your homepage"
I cant see any "make malta search engine your homepage", what do you mean? If you want something centered under/above the search or logo, just add another div with text-align:center;
By the way, small tip, add to <div id="image"> div a h1 tag like this <div id="image"> <h1>Malta Search Engine</h1> </div> HTML: and to CSS #image h1 { display:none;} HTML: It will help with a SEO, search engines will see text, not just useless image
i was refereing to this: <div id="sethomepage"><a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://maltasearchengine.com');">Make Malta Search Engine Your Homepage!</a></div>