dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Right to left items in display:block

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Right to left items in display:block

    i have displayed items in a submenu using a display:block css propery.

    the display:block property created a list of items in english that are left-to-right.
    i translated them to Hebrew, which is right-to-left but the text stayed on the left.
    i need to make the display:block text stick to the right side (right-to-left).
    i tried:
    direction:rtl;
    text-align:right
    and even float:right
    nothing effect the display:block.

    how can i make a disply:block have text right-to-left

  2. #2
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,774
    Without seeing the HTML and CSS, I can only guess. Try viewing the page using a debugging tool, like Firebug for Firefox, or the Chrome/Safari debugger. I think you'll find that a CSS selector defining some of these styles is taking precedence over the styles you are editing.

  3. #3
    Join Date
    Jul 2012
    Posts
    2
    thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles