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
browser poništava marginu kod linka

 
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
davorr



Joined: 10 Aug 2006
Posts: 82
Location: Vž / Ka

PostPosted: 02.09.2006 15:18    Post subject: browser poništava marginu kod linka Add user to your forum ignore list Reply with quote

e ovako jedan čudan problem.
u boxu imam dva tipa recimo naslova: jedni imaju daljnje linkove, drugi su tu samo kao tekst.
svaki naslov strapao sam u zaseban div i stavio mu margin-top: 5px; (da dobijem razmak između naslova).

problem je taj što se divovima u kojima su naslovi koji imaju daljnji link poništava margina.
nadam se da sam dobro objasnio , evo stavit ću code.
html..
Code:

<div class="sidebar_link"><a href="ponuda/ionski_omeksivaci/" alt="">.: ionski omekšivači</a></div>
<div class="sidebar_tekst">.: dozirne naprave</div>

css..
Code:

.sidebar_tekst {
font-family: verdana;
font-size: 11px;
color: #333333;
text-decoration: none;
margin-top: 5px;
}

.sidebar_tekst:hover {
font-family: verdana;
font-size: 11px;
color: #2d5495;
text-decoration: none;
margin-top: 5px;
}

.sidebar_link a{
font-family: verdana;
font-size: 11px;
color: #333333;
text-decoration: none;
margin-top: 5px;
}

.sidebar_link a:hover {
font-family: verdana;
font-size: 11px;
color: #2d5495;
text-decoration: none;
margin-top: 5px;

znači div sa atributom sidebar_link gubi marginu dok sidebar_tekst ne Confused
Back to top
View user's profile Send private message MSN Messenger
Gibbo



Joined: 26 Jul 2006
Posts: 17
Location: localhost

PostPosted: 04.09.2006 01:07    Post subject: Re: browser poništava marginu kod linka Add user to your forum ignore list Reply with quote

ovako na prvi pogled u
Code:

.sidebar_link a:hover {
font-family: verdana;
font-size: 11px;
color: #2d5495;
text-decoration: none;
margin-top: 5px;

fali ti na kraju }
Back to top
View user's profile Send private message Visit poster's website
davorr



Joined: 10 Aug 2006
Posts: 82
Location: Vž / Ka

PostPosted: 04.09.2006 19:19    Post subject: Add user to your forum ignore list Reply with quote

krivo sa pejstao.
nego mislim da imam ideju ali mi se ne radi danas. možda je problem što sam uz .sidebar_link stavio 'a', a .sidebar_link pozivam kao div class.
trebao bi zasebno definirati atribute diva, a zasebno atribute tekst/linka
Back to top
View user's profile Send private message MSN Messenger
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