- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- March 2005
- Status:
- offline
- last visit:
- 24.01.06
- Posts:
- 14
Hi! I know a little more than enough to be dangerous. That said, in the ExtraLite theme, in what would be the header, it seems to me it is composed of essentially a table with eithet two tables or cells inside. The larger internal cell would typically hold an image or logo, which I have been able to get to show up. I have also changed the color of the table background and even increased the boder size. For three days, 8 hours a day and countless web-sites later, I cannot get the "header table" centered to the overall table containing the whiole site, by which I mean the l column, center column and right. Here is my travesty of a code (in relevant part):
echo "\n" .
"\n" .
"\n" .
"\n" .
"\n" .
"\n" .
"" .
"logo.gif\" alt=\"" . _WELCOMETO . " $sitename\" />\n" .
"" .
Can someone please explain to me how to change "header" information, I'm ok with most everything else. Pm is fine
EDIT: Hey...I changed my table witdths to 100% and found that, in fact, it is centered!!!!!!!!!! Comments would be welcome though, 24 hours is a long time to spend on one bit of code, imo. :o -
- rank:
-
Professional
- registered:
- March 2003
- Status:
- offline
- last visit:
- 10.09.08
- Posts:
- 1313
Code
echo "<table border=\"5\" align=\"center\" cellpadding=\"4\" cellspacing=\"0\" style=\"width:80%\">\n" .
"<tr>\n" .
"<td style=\"background-color:$GLOBALS[bgcolor1]\">\n" .
"<table border=\"20\" cellspacing=\"0\" cellpadding=\"3\" style=\"width:80%;background-color:$GLOBALS[bgcolor1]\">\n" .
"<tr>\n" .
"<td>\n" .
"</td><td align=\"center\">" .
"<a href=\"index.php\"><img src=\"" . WHERE_IS_PERSO . " images/logo.gif\" alt=\"" . _WELCOMETO . " $sitename\" /></a>\n" .
"</td><td align=\"center\">"
Just align center the top table like I corrected in the code above.
--
Zikula Themes -
- rank:
-
Helper
- registered:
- July 2003
- Status:
- offline
- last visit:
- 11.04.06
- Posts:
- 261
sevan
Comments would be welcome though, 24 hours is a long time to spend on one bit of code, imo. :o
Don't worry, I've spent days tracking down some of the simpliest things... I always like to think that it give you better insight for the next debugging session though.
--
Retail Retreat
http://www.retailretreat.com
