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
div=link?

 
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
boby-s



Joined: 10 Apr 2004
Posts: 222
Location: Samobor< >Zagreb

PostPosted: 20.06.2005 15:11    Post subject: div=link? Add user to your forum ignore list Reply with quote

kako jedan cijeli div postaviti kao link?
thx.
Back to top
View user's profile Send private message
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 20.06.2005 15:17    Post subject: Re: div=link? Add user to your forum ignore list Reply with quote

boby-s wrote:
kako jedan cijeli div postaviti kao link?
thx.


Zašto bi to htio? Confused
Predlažem da postaviš display property linka na 'block' i poigraš se veličinom. Npr.

Code:
a { display: block; width: 200px; }


Last edited by red on 20.06.2005 15:18; edited 1 time in total

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 20.06.2005 15:18    Post subject: Add user to your forum ignore list Reply with quote

A zasto nebi css-om taj <a> styleao tako da izgleda kao div?

Mislim, mozes ti <div>-u dat onclick event handler, onda postavit cursor rucicu u css-u na hover od tog div-a, medjutim to ce ti dati vise glavobolje (i nije semanticki ispravno) nego <a style="display: block; width: Xpx; height: Ypx;">inline content here</a> - plus malo hackova za stare IEove eventualno i ne bi trebao imati problema...

Malo ti je premutno pitanje za detaljnije objasnjavanje.. Ako das konkretan slucaj, sigurno ce biti lakse rijesiti tvoj problem...

EDIT: uh, pretekao me red Smile
Back to top
View user's profile Send private message Visit poster's website Twitter profile
boby-s



Joined: 10 Apr 2004
Posts: 222
Location: Samobor< >Zagreb

PostPosted: 20.06.2005 16:01    Post subject: Add user to your forum ignore list Reply with quote

Quote:


Malo ti je premutno pitanje za detaljnije objasnjavanje.. Ako das konkretan slucaj, sigurno ce biti lakse rijesiti tvoj problem...


imam logo stranice koja je u divu, tj. pozadini diva.pa sam mislio da se može cijeli div pretvoriti u link.budem probao kao što ste rekli
Back to top
View user's profile Send private message
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 20.06.2005 16:37    Post subject: Add user to your forum ignore list Reply with quote

pa zasto ne stavis logo da je u pozadini tog <a> tag-a? Confused
inace ako imas unutar tog div-a jos neke linkove, e onda to nece ic tako jer linkovi ne smiju bit ugnijezdjeni... inace kad bi malo stavio neki primjer online bilo bi bolje.

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
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