Forums / Templates, Stylesheets, Page Layout / Help: I cannot get my EZpage bar to center (centre)

Help: I cannot get my EZpage bar to center (centre)

Locked

Views: 1,195

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Dec 2007, 1:59 PM
#1
xtinexoop avatar

xtinexoop

New Zenner

Join Date:
Mar 2004
Posts:
34
Plugin Contributions:
1

Help: I cannot get my EZpage bar to center (centre)

Hi

Please bear with me as I am fairly new to CSS. Based on the Academe template and nifty corners I have put in place an EZpages bar which as far as I can tell is being controlled by the following code in sylesheet.css - eg. if I change the fffff the background of the bar changes. I want the bar to centre on the page like the rest of my page, but can't for the life of me work out how to do it. Can anyone point me in the right direction?

The code in stylesheet.css is

div#menu{float:left; width: 750px;background: #ffffff; }
ul#nav,ul#nav li{list-style-type:none;margin:0;padding:0}
ul#nav{width: 750px; text-align:center;}
/ul#nav{margin-left: 100px;width:625px; margin-top:1px} /
ul#nav li{float:left;margin-right: 3px;text-align: center}
/
the colour on the next line is the actual tabs and the one after is the text
/
ul#nav a{float:left;width: 10em;padding: 9px 0;background: #000000;text-decoration:none;color: #ffffff;font:medium}
ul#nav a:hover{background: #7bb0ef;color: #FFF}
ul#nav li.activelink a,ul#nav li.activelink a:hover{background: #FFF;color: #003}

the page is at https://www.singleswalking.co.uk

Help! I have been doing this for hours now with no luck

Christine

ps.

tpl_header.php has in it:

<!--bof-header ezpage links--> <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?> <?php } ?> <!--eof-header ezpage links-->

and ezpages_tpl_bar_header.php is

include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php'));
?>

<?php if (sizeof($var_linksList) >= 1) { ?> <div id="menu"> <ul id="nav"><li> <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?>

<a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a><?php echo ($i < $n ? EZPAGES_SEPARATOR_HEADER : '') . "\n"; ?>

<?php } // end FOR loop ?> </li></div> <?php } ?>
14 Jul 2008, 9:55 PM
#2
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: Help: I cannot get my EZpage bar to center (centre)

Any updates??