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
hornav i css

 
Post new topic   Reply to topic    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
dredger



Joined: 26 Apr 2008
Posts: 75

PostPosted: 23.07.2009 14:27    Post subject: hornav i css Add user to your forum ignore list Reply with quote

Trebao bi malo pojašnjenje oko izrade horizantolnog menija kojem prvi i zadnji link imaju zakrivljene rubove (tj. pozadina im se razlikuje). Znam da postoje first/last pseudo klase ali vjerovatno nisu podržane od strane nekih brovsera pa vjerovatno ima i neki drugi put!

Hvala na trudu!
Back to top
View user's profile Send private message
Moebius



Joined: 26 Jan 2004
Posts: 245
Location: zagreb

PostPosted: 23.07.2009 14:42    Post subject: Add user to your forum ignore list Reply with quote

Code:

<ul>
<li class="first"><a href="#">link 1</a></li>
<li><a href="#">link 1</a></li>
<li><a href="#">link 1</a></li>
<li class="last"><a href="#">link 1</a></li>
</ul>

Ostaje ti jos samo CSS.
Uglavnom LI-jeve floataj ulijevo, daj im padding i odradi zakrivljenje (npr.preko background image-a) za klase .first i .last.
Back to top
View user's profile Send private message Visit poster's website
dredger



Joined: 26 Apr 2008
Posts: 75

PostPosted: 24.07.2009 07:08    Post subject: Add user to your forum ignore list Reply with quote

Moebius wrote:
[code]
<ul>
<li class="first">...

hvala!

a ako ne znam koliko će stavki meni imati (generirati će se dinamički od strane joomle), kako onda naciljati zadjnu stavku menija?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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