the css menu is not a problem

Oct 20, 2008

Two lines text formatting

Hello,

I would like to make some of the titles for my buttons two lines, normally I would use < br > to do this, but Dreamweaver isn't allowing me to. What can I do to fix this?

Thank You!

Karen Ficke
www.neatsolutions.com



Answer:



Karen,
use encoded <br/> - &lt;br/&gt;

For example: < div><a href='http://...'>Line1 &lt;br/&gt; Line 2</a>< /div>


Regards
Dmitry
f-source.com

4 comments:

kristinpgh said...

I have inserted the <br/> code into my button text as you suggested, but it is not inserting a line break.

Thanks,
Kristin

dmpost said...

It must be encoded BR tag - <br/>, also your menu must have bigger height.

Send me a link, If you still have problem with it.

kristinpgh said...

I have added the encoded BR tag as you showed in the original post, but it's not working. See my test page: http://servicelearning.carlow.edu/test.html

Also, when I use IE 7, the menu does not appear. It looks fine in Firefox (except for above button problem).

dmpost said...

Oh yes, in the current version of this menu it doesn't work.
Write me on support http://f-source.com/support/ please.
I will send you new version of the menu. (I will need some order info)