Link to home
Start Free TrialLog in
Avatar of Panos
PanosFlag for Germany

asked on

CSS problem with menu styling

Hello experts.
I have a problem styling my vertical menu.
I want to place bevor the link a bullet.The problem is that if the link text width is bigger than the td width and the text needs to wrap i get the text in the new line in the beginning of the line and not under the first text of the link.
See attached code and screen.
Any help to solve this? User generated image
<style type="text/css">
.categorylinkrow{ display:block; width:100%}
.categorylinks{ display:inline;}
.categorylinks_bullet_holder{display:inline;}
.categorylinks_holder{ padding-left:0px; display:inline;}
</style>

<table width="100">
<tr><td>
<div class="categorylinkrow">
  <div class="categorylinks_bullet_holder">&middot;</div>
  <div class="categorylinks_holder">
    <a class="categorylinks" href = "#">BlaBlaBlaB laBlaBlaBlaBlaBla
    </a>
  </div>
</div>
<div class="categorylinkrow">
  <div class="categorylinks_bullet_holder">&middot;</div>
   <div class="categorylinks_holder">
    <a class="categorylinks" href = "#">BlaBlaBlaBla BlaBlaBlaBlaBla 
    </a>
  </div>
</div>
</td></tr>
</table>

Open in new window

SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Panos

ASKER

Hi DaveBaldwin
I need a holder (div-span) to place my custom image (bullet......)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Panos

ASKER

Hi remorina
Your code is working fine.can you send me a test code for the other method you described
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Panos

ASKER

Thank you both for your great help.
regards
panos
You're welcome.