Code: Select all
.searchbox {vertical-align:middle; }
Just use: background-image: url(./images/xyz.gif);
mvwd.
Code: Select all
.searchbox {vertical-align:middle; }
Thnx going to fix it now.mvwd wrote:1. Because your template is using tables, you can use vertical-align:middle; for vertical positioning. Maybe you have also to delete valign="top" out of the template.htm. Best practice is to use the class, that's defined for this table-cell. So use in stylesheet.css:2. The background-Image won't work, because the path to it isn't defined correctly. All the pathes are defined this way in your stylesheet.css: background-image: url(Designs/public_html/templates/default/images/xyz.gif);Code: Select all
.searchbox {vertical-align:middle; }
Just use: background-image: url(./images/xyz.gif);
mvwd.
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<br><table border='1' cellpadding='2' bgcolor='#FFFFDF' bordercolor='#E8B900' align='center'><tr><td><font face='Arial' size='1' color='#000000'><b>PHP Error Message</b></font></td></tr></table><br />
<b>Fatal error</b>: Call to undefined function head() in <b>/home/a1199847/public_html/templates/default/template.htm</b> on line <b>5</b><br />
<br><table border='1' cellpadding='2' bgcolor='#FFFFDF' bordercolor='#E8B900' align='center'><tr><td><div align='center'><a href='http://www.000webhost.com/'><font face='Arial' size='1' color='#000000'>Free Web Hosting</font></a></div></td></tr></table>
? mvwd.Maybe you have also to delete valign="top" out of the template.htm.