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
Inside border

 
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
d@d



Joined: 05 Jul 2006
Posts: 11
Location: tu negdje

PostPosted: 16.08.2007 22:31    Post subject: Inside border Add user to your forum ignore list Reply with quote

Pozdrav

Trebalo bi nešt iskemijat (naravno s css-om) da border bude unutrar backgrounda, točnije ovak:

Znači ovo bijelo je border i kao tako bi ga trebalo kao "uvući" 1px od širine diva

Ostavio bih ja to kao sliku, točnije stavio bih div i to u pozadinu, ali kad nije fiksne širine

Unaprijed hvala

_________________
jel bitno??!?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dkrolo3



Joined: 10 May 2006
Posts: 30

PostPosted: 16.08.2007 22:54    Post subject: Add user to your forum ignore list Reply with quote

Ovako nesto...

CSS:
Code:
ul li {
         float:left;
         width:10em;
         text-align:center;
         padding:1px;
         list-style:none;
         font:0.7em Verdana, Arial, Helvetica, sans-serif;
         line-height:2em;
         background-color:#009900;
         }
ul li a {
         color:#fff;
         text-decoration:none;
         display:block;
         border:1px solid #fff;
         }


HTML:
Code:
<ul>
    <li><a href="" title="Novosti">Novosti</a></li>
    <li><a href="" title="Recenzije">Recenzije</a></li>
</ul>
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
d@d



Joined: 05 Jul 2006
Posts: 11
Location: tu negdje

PostPosted: 16.08.2007 23:01    Post subject: Add user to your forum ignore list Reply with quote

tnx majstore, ali to moram primjenit na jednom divu...tak da nemam izbora sa link efektom i listom Sad

_________________
jel bitno??!?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dkrolo3



Joined: 10 May 2006
Posts: 30

PostPosted: 16.08.2007 23:11    Post subject: Add user to your forum ignore list Reply with quote

Onda nešto ovako. Recimo da imaš taj div u kojem je h1 tag (ili bilo koji drugi)...

CSS:
Code:
div {
         width:10em;
         text-align:center;
         padding:1px;
         background-color:#009900;
         }
div h1 {
        color:#fff;
        text-decoration:none;
        font:1em Verdana, Arial, Helvetica, sans-serif;
        line-height:2em;
        margin:0;
        border:1px solid #fff;
        }


HTML:
Code:
<div><h1>Recenzije</h1></div>
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
:cosmos:



Joined: 12 Sep 2003
Posts: 2098
Location: México

PostPosted: 17.08.2007 03:12    Post subject: Add user to your forum ignore list Reply with quote

d@d wrote:
tnx majstore, ali to moram primjenit na jednom divu...tak da nemam izbora sa link efektom i listom Sad


pa on ti je dao primjer, isto to mozes aplicirati i sa spanovima, ili cime god pozelis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
d@d



Joined: 05 Jul 2006
Posts: 11
Location: tu negdje

PostPosted: 17.08.2007 14:06    Post subject: Add user to your forum ignore list Reply with quote

:cosmos: wrote:
d@d wrote:
tnx majstore, ali to moram primjenit na jednom divu...tak da nemam izbora sa link efektom i listom Sad


pa on ti je dao primjer, isto to mozes aplicirati i sa spanovima, ili cime god pozelis.

Problem je bio što je bio sav spetljan javascript kod pa mi je bio malo problem ubacivati nove elemente, ali sam uspio ubaciti <p> ...

Tnx na pomoći

_________________
jel bitno??!?
Back to top
View user's profile Send private message Visit poster's website 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