Results 1 to 2 of 2

Thread: Float Left :(

  1. #1
    Join Date
    Nov 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Float Left :(

    Code:
    body,td,th {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 14px;
    }
    body {
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    }
    .Menu {
    	margin-top: 50px;
    }
    .Menu .M {
    	width: 800px;
    	margin-right: auto;
    	margin-left: auto;
    	background-color: #333333;
    	color: #FFFFFF;
    }
    .Menu .M .Nav {
    	display: block;
    	margin: 0px;
    	padding: 0px;
    	list-style-type: none;
    	position: relative;
    }
    .Menu .M .Nav Li {
    	display: block;
    	margin: 0px;
    	padding: 0px;
    	list-style-type: none;
    	position: relative;
    	float: left;
    }
    -->
    </style>
    </head>
    
    <body>
    <div class="Menu">
      <div class="M">
        <ul class="Nav">
          <li>Anasayfa</li>
          <li>HAkkımızda</li>
          <li>Deneme</li>
        </ul>
      </div>
    </div>
    </body>
    FLOAT LEFT PROBLEM NOT WORK IE AND FIREFOX... WHY? Sory My English is not Good

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    What do you mean doesn't float? what do you want it to be?

    removing
    Code:
    margin-right: auto;
    	margin-left: auto;
    will put it on the left edge of the page.

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
  •