DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Design

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-27-2007, 08:56 AM   #1
don Arnoldy
Curmudgeon
 
don Arnoldy's Avatar
 
Join Date: Oct 2004
Posts: 491
Default Aaaaaargh!

Folks-

Its driving me nuts! I can't figure out why it doesn't work. My sanity depends on you all!

I am working with the following code:

HTML Code:
<html dir="ltr" lang="mul">
<head>
<style type="text/css">
.vbmenu_control{
    background: #339;
    color: #FFFFFF;
    font: bold 1em tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    display:inline;
    padding: 2px .5em 2px .5em;
    margin: 0;
    white-space: nowrap;
    list-style-type:none;
    list-style-position:inside;
    border-left:2px solid #000;
    border-right:1px solid #9a9acc;
    border-top:1px solid #d5d5ea;
    border-bottom:2px solid #000;
    text-align:left;
    }
#navbar, #footerbar {
    margin:0;
    padding:3px;
    background-color:#339;
    text-align:left;
    }
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div style="width:100%;background-color:#339;margin:0;text-align:left;">
<ul id="navbar">
<li class="vbmenu_control">happy</li>
<li class="vbmenu_control">sleepy</li>
<li class="vbmenu_control">sneezy</li>
<li class="vbmenu_control">dopey</li>
<li class="vbmenu_control">grumpy</li>
<li class="vbmenu_control">bashful</li>
<li class="vbmenu_control">doc</li>
</ul>
</div>
<p>this is a test</p>
<ul>
<li>happy</li>
<li>sleepy</li>
<li>sneezy</li>
<li>dopey</li>
<li>grumpy</li>
<li>bashful</li>
<li>doc</li>
</ul>
</body>
</html>
Everything looks the way it should now. However, i need for this also to work when the direction is set to rtl (right to left). When I change that, the menu bar list items crash into each other--everything else works as expected. I must be missing something simple.

   
__________________
--don
don Arnoldy is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:00 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.