SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    May 2001
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Left align menu items

    Hello,

    1- I tried everything I knew and still I cannot align menu items of my language selection to the left

    I am tired, stressed and disappointed after 2 days of fighting with browser compatibilities on my design (this problem is just one of them). I appreciate if someone can help me.

    http://reorex.com/tt/en/index1.php

    2- Also when I change my DocType to Strict (needed for a javascript part of the website) the menu does not open at all.

    http://reorex.com/tt/en/index2.php

    Why is that? What is the workaround?

    Thank you very much for your help beforehand.

    Mac

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Looks like you haven't removed the padding/margins from the left of the submenu.

    Code:
    .langmenu :hover ul.sub {
    margin:0;
    padding:0;
    }
    The doctype is incorrect it should be:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>ReoRex Translation Services, Your One Stop Translation Partner</title>


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
  •