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 zamolba

 
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
silence



Joined: 24 Apr 2004
Posts: 890
Location: .....ni na nebu, ni na zemlji.....

PostPosted: 29.08.2004 10:50    Post subject: CSS zamolba Add user to your forum ignore list Reply with quote

jel mi vi CSS gurui možete samo bacit pogled na menu koji sam napravio u CSS i dat svoje mišljenje?

nakon kaj sam pročitao da SP2 ne dozvoljava one JS roll-overe nije bilo druge nego primit se posla, a pošto naravno znate kolko sam do sada kukao oko CSSa nije bilo baš jednostavno...

uglavnom, postigao sam ono što sam htio i volio bih čuti vaše mišljenje dal treba kaj mjenjat.
inače, ak je sve ok, ovo je jedno 10000 puta bolje nego faking JS roll over....da ne spominjem kolko sam mrzio radit svaki gumbić posebno Wink


eto....
www.spirit.hr/css

_________________
This End-User License is an agreement between Microsoft Corporation (hereafter referred to as "Microsoft") and you, the end-user (hereafter referred to as "our bitch").
Back to top
View user's profile Send private message Visit poster's website
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 29.08.2004 11:37    Post subject: Add user to your forum ignore list Reply with quote

misljenje na vizualni dio ili na tehnicki?:)

vizualno mi se ne svidja rolover boja i izgled ovih tocaka koje glume unordered listu.

tehnicki... za dobit ovakav izgled nisu ti potrebni gifovi s tockama - istu stvar mozes dobiti sa unordered listama (<ul> tagovi), i automatski ti je jos lakse to sve hendlat....
super stvar je sta te liste stvarno mozes super izmanipulirati, a dobar clanak o tome imas tu - http://alistapart.com/articles/taminglists/

druga "greska" je sto koristis paragraf tamo di mu nije mjesto (za oznacavanje ovih sekcija u meniju)

edit: i ne treba ti ovaj container div vanjski. sirinu mozes dodjelit na .buttons i imas istu stvar sa manje koda :)

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
silence



Joined: 24 Apr 2004
Posts: 890
Location: .....ni na nebu, ni na zemlji.....

PostPosted: 29.08.2004 12:07    Post subject: Add user to your forum ignore list Reply with quote

thnx.
vizualni je samo zato kaj su mi te boje bile ostale u Photoshopu Wink
zanimao me tahnički dio.

trčim pogledat.
idem vidit kaj se sve može.

ok, kaj umjesto <p> taga? ništa?


EDIT:: hehe, poslušo sam te...doviđđenja <p>
idemo dalje Smile


punoooooo fala.......


BTW::: točka je zato kaj mi je to bilo najlakše nacrtat ...na onom kaj radimo će biti nekaj sasvim drugo.....ovo je bilo čisto nekaj da se ubacim u CSS i ne koristim JS roll over i da vidim princip rada....
web bi trebo dobrim dijelom bit gotov uskoro, za sada je menu u CSSu, još uvijek nas muči prelazak s tablica na full CSS, ali eto napradujemo Smile))

_________________
This End-User License is an agreement between Microsoft Corporation (hereafter referred to as "Microsoft") and you, the end-user (hereafter referred to as "our bitch").
Back to top
View user's profile Send private message Visit poster's website
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 29.08.2004 12:45    Post subject: Add user to your forum ignore list Reply with quote

np, glad to help :)

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 29.08.2004 13:08    Post subject: Add user to your forum ignore list Reply with quote

mozes si smanjiti velicinu koda ako napravis slijedece:


umjesto:
Code:
.buttons a:hover {
height: 20 px;
background-image: url(2.gif);
background-repeat: no-repeat;
background-color: #EEDEF8;
padding-left: 10px;
display: block;
font: 12px Arial, sans-serif;
font-weight: bold;
text-decoration: none;
color: #000000;
line-height: 20px;


Code:
.buttons a:hover {
height: 20 px;
background: url(2.gif) no-repeat;
background-color: #EEDEF8;
padding-left: 10px;
display: block;
font: 12px Arial, sans-serif;
font-weight: bold;
text-decoration: none;
color: #000000;
line-height: 20px;



i ako vec koristis iste boje i sirine za ljevo, desno, gore dolje za bordere onda bi ti bilo bolje stavit:

border: 1px solid #boja

i imas viticastu zagradu viska na kraju. eto, to je to Smile
Back to top
View user's profile Send private message
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 29.08.2004 13:09    Post subject: Add user to your forum ignore list Reply with quote

probaj koristiti <ol> i <li> tagove za meni. mogao bi dobiti malo bolju rasporedjenost elemenata.
Drop-Down Menus, Horizontal Style @ A List Apart. Good stuff, po ovom si mozes napraviti kewl meni no JS included..

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 29.08.2004 13:12    Post subject: Add user to your forum ignore list Reply with quote

@ maxy: uuu jesi optimiziro :P mogo si onda primjetit da u svakoj klasi ima definiran font i size, etc a to se moze isto smanjit ako se definira za sve (a svugdje je isti pa se moze)

:)

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
silence



Joined: 24 Apr 2004
Posts: 890
Location: .....ni na nebu, ni na zemlji.....

PostPosted: 29.08.2004 13:43    Post subject: Add user to your forum ignore list Reply with quote

ok, ok...već je promjenjeno dosta.
ajmo polako.

ma koristio sam nešto od starog CSS kaj sam imao (by DreamWeaver) + par linkova koje sam pokupio tu na mi3.

uglavnom to za border je djelomično bilo popravljeno još kod prvih izmjena, ali sad idem dalje.
ovo mi je busy day, em radim u CSS, em sam konačno instalirao PHP5, em moram dodat podršku za .gif u upload kod....ima se kaj radit..... Laughing


btw....očekujte ukoro novu seriju pitanja kad se konačno odlučimo prestat radit s tabelama.... Wink
za sad imam posla i preko glave (još da je tolko para.....)


@maxy : a kvragu, kad još ne znam kaj sve mogu strpat u jedan red....sretan sam kaj uopće radi.... Wink

_________________
This End-User License is an agreement between Microsoft Corporation (hereafter referred to as "Microsoft") and you, the end-user (hereafter referred to as "our bitch").
Back to top
View user's profile Send private message Visit poster's website
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 29.08.2004 14:01    Post subject: Add user to your forum ignore list Reply with quote

che.UP wrote:
@ maxy: uuu jesi optimiziro Razz mogo si onda primjetit da u svakoj klasi ima definiran font i size, etc a to se moze isto smanjit ako se definira za sve (a svugdje je isti pa se moze)

Smile


a jebiga, pa necemo sad optimizirat sve do yaya Smile
za pocetak dosta Very Happy
Back to top
View user's profile Send private message
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 29.08.2004 14:23    Post subject: Add user to your forum ignore list Reply with quote

bytheway kad ste vec kod optimizacije:
zasto td i table ne prihvacaju font koji sam definirala u body nego svaki put moram ponovo??

ps. I hate tables Evil or Very Mad

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
stipsa



Joined: 07 Sep 2003
Posts: 311
Location: Zgb.

PostPosted: 29.08.2004 14:39    Post subject: Add user to your forum ignore list Reply with quote

keye wrote:

ps. I hate tables Evil or Very Mad


stop using them Wink
Back to top
View user's profile Send private message Twitter profile
silence



Joined: 24 Apr 2004
Posts: 890
Location: .....ni na nebu, ni na zemlji.....

PostPosted: 29.08.2004 14:48    Post subject: Add user to your forum ignore list Reply with quote

keye wrote:
bytheway kad ste vec kod optimizacije:
zasto td i table ne prihvacaju font koji sam definirala u body nego svaki put moram ponovo??

ps. I hate tables Evil or Very Mad



heh. do sad sam koristio tabele only (CSS samo za font, razmake i slično, dotjerivanje, moglo bi se reći), uglavnom dovoljno je u <table> odredit to. unutar tabele prihvaća. e sad...zašto neće od <body>.....

_________________
This End-User License is an agreement between Microsoft Corporation (hereafter referred to as "Microsoft") and you, the end-user (hereafter referred to as "our bitch").
Back to top
View user's profile Send private message Visit poster's website
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 29.08.2004 14:54    Post subject: Add user to your forum ignore list Reply with quote

stipsa wrote:
keye wrote:

ps. I hate tables Evil or Very Mad


stop using them Wink


bas me zanima sta ti upotrebljavas kad imas bazu podataka sa 8 kolona i 300 linija

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 29.08.2004 14:56    Post subject: Add user to your forum ignore list Reply with quote

silence wrote:
uglavnom dovoljno je u <table> odredit to. unutar tabele prihvaća. e sad...zašto neće od <body>.....


a ja odredjivala za td Confused

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
silence



Joined: 24 Apr 2004
Posts: 890
Location: .....ni na nebu, ni na zemlji.....

PostPosted: 29.08.2004 15:02    Post subject: Add user to your forum ignore list Reply with quote

ma i ja sam radio svašta.....ali trebalo bi prihvatiti s <table>

_________________
This End-User License is an agreement between Microsoft Corporation (hereafter referred to as "Microsoft") and you, the end-user (hereafter referred to as "our bitch").
Back to top
View user's profile Send private message Visit poster's website
stipsa



Joined: 07 Sep 2003
Posts: 311
Location: Zgb.

PostPosted: 29.08.2004 16:40    Post subject: Add user to your forum ignore list Reply with quote

keye wrote:
stipsa wrote:
keye wrote:

ps. I hate tables Evil or Very Mad


stop using them Wink


bas me zanima sta ti upotrebljavas kad imas bazu podataka sa 8 kolona i 300 linija


tables... but I don't hate them Razz
Back to top
View user's profile Send private message Twitter profile
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 29.08.2004 16:41    Post subject: Add user to your forum ignore list Reply with quote

Razz

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 29.08.2004 17:57    Post subject: Add user to your forum ignore list Reply with quote

mislim da bi ti trebalo prihvatiti za tablice ako definiras font ovak:

body, html {
font-face...dalje znas sama
}
Back to top
View user's profile Send private message
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 29.08.2004 17:59    Post subject: Add user to your forum ignore list Reply with quote

ah sta i html mogu definirati??? wow! Shocked

e bas ti fala! Smile

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 03.09.2004 18:25    Post subject: Add user to your forum ignore list Reply with quote

ispravak:

* {
font-face: Arial;
}

to bi trebalo dostajati da svaki font bude arial Smile
Back to top
View user's profile Send private message
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 03.09.2004 18:57    Post subject: Add user to your forum ignore list Reply with quote

ueeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!!!! Very Happy

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

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

maxy wrote:
ispravak:

* {
font-face: Arial;
}

to bi trebalo dostajati da svaki font bude arial Smile


da...ali kad tako definiras stil...on ima privilegiju nad svim stilovima...znaci ako definiras
Code:
* {
font-face: Arial;
}

i onda poslije imas
Code:
h1 {
font-face: Georgia;
}


h1 ce imati font arial iako je definiran posebno za tu klasu da je font Gerogia. Ovo se nece desiti u Mozilli, ali u IE-u oce Very Happy

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

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

dobro je i to znati!
a meni bas treba jedan koji ce imati privilegiju nad svima ! Very Happy

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

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

retro_one wrote:
<snip>


pa poanta je da svi fontovi budu istog tipa Smile
Back to top
View user's profile Send private message
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

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

da..ok Smile
ja sam jednom utrpao u to hrpu atributa...pa sam se cudio zasto su mi svi fontovi iste velicine i boje Embarassed

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
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