Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 11-14-2009, 08:27 AM Float Left :(
Junior Talker

Posts: 2
Name: Erhan
Trades: 0
Code:
<style>
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>

Not Work In FF And IE... There is A Problem At "Float Left"... Can U Help Me... Sorry My English is Not Good...
sahmurza is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-14-2009, 04:35 PM Re: Float Left :(
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
1 - When you float an element, you MUST give it a WIDTH.

2 - You also must CLEAR your Floats - add overflow: auto; to .Menu .M .Nav
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-14-2009, 05:06 PM Re: Float Left :(
Junior Talker

Posts: 2
Name: Erhan
Trades: 0
Quote:
Originally Posted by LadynRed View Post
1 - When you float an element, you MUST give it a WIDTH.

2 - You also must CLEAR your Floats - add overflow: auto; to .Menu .M .Nav
Thanks... Thanks Alot You Are Wonderfull )))))))))))))) Sory My English is Not Good
sahmurza is offline
Reply With Quote
View Public Profile
 
Old 11-14-2009, 05:08 PM Re: Float Left :(
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You're welcome
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Float Left :(
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13303 seconds with 12 queries