Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
CSS i opera problem.

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
F@NTOM



Joined: 11 Sep 2003
Posts: 592
Location: Dubrovnik

PostPosted: 11.02.2005 20:08    Post subject: CSS i opera problem. Add user to your forum ignore list Reply with quote

Opet ja i css Very Happy . Problem mi je da cijeli ostali kod radi savrseno u ff-u i operi osim ovog donjeg dijela koji je u operi pomaknut za cca 10px.Slikica.
Da li sljedece ima smisla:
imam npr.
<div>DIV1
<div>DIV2</div>
</div>

Da li bi ako DIV-u 2 dam u css-u float:left; margin-left:1px; i margin-top:1px; on biti pomaknut unutar DIV-a 1 upravo za te vrijednosti? Takvu situaciju imam u ovom problemu ali izgleda da ovo gore ne radi. Sad Sad

HTML:

Code:

<div id="wrapper">
<div id="container">
<div id="nav_bar">
<div id="navigacija">
      <ul>
        <li><a class="nav" href="Index.htm">Home</a></li>
        <li><a class="nav" href="Soldat%20info.htm">Soldat info</a></li>
        <li><a class="nav" href="Files.htm">Files</a></li>
        <li><a class="nav" href="Maps.htm">Maps</a></li>
        <li><a class="nav" href="Mapping%20Tutorials.htm">Mapping Tutorials</a></li>
        <li><a class="nav" href="About.htm">About</a></li>
      </ul>
    </div>
</div>
</div>
</div>


CSS:
Code:

#wrapper {
   float:left;
   width:532px;
   margin-top:auto;
   margin-left:25%;
   margin-right:auto;
   margin-bottom:10px;
   border-style:solid;
   border-width:5px;
   border-color:#ffffff;
}
#container {
   float:left;
   width:530px;
   margin-top:auto;
   margin-left:0;
   margin-right:auto;
   margin-bottom:0;
   background-color:#F8F8F8;
   border-width:1px;
   border-color:#393939;
   border-style:solid;
   clear:both;
   }
#nav_bar {
   float:left;
   width:530px;
   height:16px;
   margin-top:0px;
   margin-left:0px;
   background-color:#DCDCDC;
   border-bottom:2px;
   border-top:1px;
   border-left:0;
   border-right:0;
   border-style:solid;
   border-color:#393939;
}
#navigacija {
   float:left;
   width:400px;
   margin-top:-10px;
   margin-left:-28px;
   width: 450px;
   height: 38px;
   font-family:Tahoma, sans-serif;
   font-size:11px;
   font-weight:bold;
}
#navigacija li {
   display:inline;
   list-style-type:none;
   padding-right:8px;
}

_________________
These pretzels are making me thirsty!
Back to top
View user's profile Send private message
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 11.02.2005 21:14    Post subject: Add user to your forum ignore list Reply with quote

Pls, drugi put daj link na primjer, ovak se može teško vidjeti o čemu se točno radi. Ako imaš neobjašnjive odmake, možda bi trebao UL/LI elementima staviti margin/padding na nulu.

_________________
STOP HITTING YOURSELF! | NETIQUETTE | TYPETESTER | Hypertext rulez™ | CREATIVE NIGHTS | ACCOMMODATIONS
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group