Left column Menu problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mrmax
Posts: 9
Joined: Sun 27. Feb 2005, 19:32

Left column Menu problem

Post by mrmax »

I'm try to create a left column Article menu, using {NAV_TABLE_column}.

Problem I found where I can change colors of the mouse over link and link background color in "include/inc_conf/conf.template_default.inc.php".

Problem: My left column width is 150. BUT the width of the background color is only about 100 for the menu listing.
| - - - - 150 - - - - - - - |
| blue [menu item] blue|
| blue [menu item] blue|

I had set the menu item $template_default["nav_table_struct"]["row_norm_bgcolor"] and the other two menu item attributes, to a different color than the blue Left column block background of blue.

Where do I set the width of the navtable menu listing colors so it is the width of the left column block?
User avatar
Rainer G
Posts: 377
Joined: Wed 16. Feb 2005, 10:26
Location: Hannover - Germany
Contact:

Post by Rainer G »

Can you show me an example.

My nav_table_column has always the same width like the left side in one/full color per line.
mrmax
Posts: 9
Joined: Sun 27. Feb 2005, 19:32

Post by mrmax »

Rainer G wrote:Can you show me an example.
Site just getting started
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

if you use the Table-Layout put your Menu in a Table like this:

Code: Select all

<!-- links Menue //-->
<div align="center">
<table width="140" cellpadding="0" cellspacing="0" border="0">
<tr><td><br></td></tr>
  <tr valign="top">
    <td>{NAV_TABLE_COLUMN:0}</td>
  </tr>
 </table></div>
if you use CSS-Layout you can modify the frontend.css

Code: Select all

#leftBlock {
  position: absolute;
  top: 61px;
  bottom: 36px;;
  left: 0px;
  width: 145px;
  z-index: 1;
.... wath ever you want
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Rainer G
Posts: 377
Joined: Wed 16. Feb 2005, 10:26
Location: Hannover - Germany
Contact:

Post by Rainer G »

I think your table-design is not correct!

Look here:

Code: Select all

...
  <tr valign="top">
    <td>ggggggggg<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr bgcolor="#FFFF98">
...
You say <TR> then <TD> then <TR>, but where is </TD></TR>
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

@Rainer G - who do you mean ? with this Code
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Rainer G
Posts: 377
Joined: Wed 16. Feb 2005, 10:26
Location: Hannover - Germany
Contact:

Post by Rainer G »

pico wrote:@Rainer G - who do you mean ? with this Code
Oh sorry, i looked not very good. At first, iI saw not the TABLE tag.
Post Reply