SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Float: right; text-align: right

    On this page I have a unsorted list with the properties:
    HTML Code:
    <style>
    float: right;
    text-align: right;
    </style>
    On the last two items of the list you see brackets arround the words στο Amaryllis Hotel Apartments
    But this is how I had to do it in the actual list to make the brackets indeed appear arround those words
    Code:
    <li>( Μπαρ (στο Amaryllis Hotel Apartments</li>
    What is the reason for this to happen?

    Thanks in advance
    “Good artists copy, great artists steal” (Pablo Picasso - 1934)

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,171
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    You shouldn't be using this:

    Code:
    #content ul {
    direction: rtl;
    }
    That's for languages like Arabic that are written right to left. Used on left to right languages like English and Greek causes such problems.

    If you really want the bullets on the right (which is a little odd, I think!) then perhaps use images for the bullets instead.

  3. #3
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi ralph I added that but no change should I take the text-align: right; out?
    “Good artists copy, great artists steal” (Pablo Picasso - 1934)

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,171
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by donboe View Post
    Hi ralph I added that but no change
    I said remove it, not add it.

  5. #5
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    I said remove it, not add it.
    I didn't see the second #content ul My wrong. Thank you so much!
    “Good artists copy, great artists steal” (Pablo Picasso - 1934)

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,171
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    No probs! Glad that helped.


Bookmarks

Posting Permissions

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