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 - integracija u site

 
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
kelso



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

PostPosted: 24.02.2005 23:00    Post subject: CSS - integracija u site Add user to your forum ignore list Reply with quote

Pfff,znam da je ovo jako jako glupo pitanje,al ne mogu sam prokužit,a na googlu mi izbaci nešto drugo...
evo problema,zapravo meni je problem...
napišem npr. ovakav css:
Code:
a:link{
something
something
}
a:hover, a:visited{}
a:active{}

i sad na indexu ubacim izmedju <head> tagova <link rel="" ...>,napišem u <a href="...">TEST</a> ,ali on mi ne želi to napravit po CSS-u koji sam definiro,kako mogu u css stavit onaj id ili class?
e da,skoro pa zaboravih,imam border definiran jer sam to htio napravit kao menu,inače bi radilo,al sad dok stavim border ne želi... plz heeeeeeeelp (mislav? Smile )
Back to top
View user's profile Send private message Send e-mail MSN Messenger
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 24.02.2005 23:16    Post subject: Add user to your forum ignore list Reply with quote

Pastiraj kod ili daj link, pa ćemo ti pomoći.

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



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

PostPosted: 24.02.2005 23:26    Post subject: Add user to your forum ignore list Reply with quote

Code:

a:link{
   text-decoration: none;
   color: black;
   background-color: silver;
   font-size: 12;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   border: solid black;
}
a:active{
   text-decoration: none;
   color: black;
   background-color: silver;
   font-size: 12;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   border-top: solid black;
   border-left:solid black;
   border-right:solid black;
   border-bottom:solid red;
}
a:hover{
   text-decoration: none;
   color: black;
   background-color: silver;
   font-size: 12;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   border-top: solid black;
   border-left:solid black;
   border-right:solid black;
   border-bottom:solid red;
}

evo primjera Rolling Eyes
Back to top
View user's profile Send private message Send e-mail MSN Messenger
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 24.02.2005 23:31    Post subject: Add user to your forum ignore list Reply with quote

Najs. Još reci kaj ti ne štima?

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



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

PostPosted: 24.02.2005 23:36    Post subject: Add user to your forum ignore list Reply with quote

erm,pa reko sam,al nisam baš najbolji u tom objašnjavanju Question
il je to sarkazam Laughing
ne znam kako to ubacit u site,mislim,kad napravim link na sajtu ne želi mi vuć CSS,link je običan plavi podcrtani tekst...
Back to top
View user's profile Send private message Send e-mail MSN Messenger
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 24.02.2005 23:40    Post subject: Add user to your forum ignore list Reply with quote

Ah, tak reci... Evo, na ovoj stranici možeš testirati, sve ti je na jednom mjestu. Ubaci ovaj svoj CSS kod u HEAD iumeđu <!-- i -->, a u body, ispod <h1></h1> ubaci nešto ovako:

Code:
<a href="#">Yo! This is a link!</a>


Klinkni Run, pa ćeš vidjeti kako sve to skupa izgleda.

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



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

PostPosted: 24.02.2005 23:45    Post subject: Add user to your forum ignore list Reply with quote

Yup,it works, TENKJU Very Happy
al sad me muči zašto meni nije radilo Sad
Code:

<head>
<link rel="nav.css" type="text/css" style="stylesheet">
</head>
<body>
<a href="#">TEST</a>
</body>


ovako je to kod mene izgledalo,znam da sam negdje gadno pogriješio Mad
al di? Sad
Back to top
View user's profile Send private message Send e-mail MSN Messenger
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 24.02.2005 23:49    Post subject: Add user to your forum ignore list Reply with quote

Pa ako si stavio ovaj kod od linkova unutar nav.css, koji je u istom direktoriju, problema ne bi trebalo biti. Ak ima, daj cijeli kod Smile

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



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

PostPosted: 24.02.2005 23:55    Post subject: Add user to your forum ignore list Reply with quote

isuseeeee radiiiiiiiii
ajme,daj pogledaj di sam pogriješio Embarassed
sramota,pogle mi <link>tag sve poslije link je krivo! samo type mi je dobar Embarassed Embarassed
isuse zašto sam to uopće pisao? Mad Mad
ovo sam bacio sve u dreamweaver i slovo po slovo ispisivo pa mi je na listi ponudio,inače nikad ne bih ni skužio Embarassed

tnx 4 help Wink
Back to top
View user's profile Send private message Send e-mail MSN Messenger
burne



Joined: 11 Jan 2004
Posts: 602
Location: Split

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

Doduse imas i ovaj tip ubacivanja, te na taj nacin izbjegnes neke probleme sa starijim browserima, tako nesto. Uglavnom ja ovo koristim.

Code:
   <style type="text/css" title="currentStyle">
      @import "readme_design/style.css";
   </style>


Poz

_________________
http://www.vidosh.com - moj folio, v2.0 reborn | http://www.damirphoto.net - ćaćine fotke
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kelso



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

PostPosted: 25.02.2005 00:02    Post subject: Add user to your forum ignore list Reply with quote

tnx for the tip Smile
Back to top
View user's profile Send private message Send e-mail MSN Messenger
burne



Joined: 11 Jan 2004
Posts: 602
Location: Split

PostPosted: 25.02.2005 00:04    Post subject: Add user to your forum ignore list Reply with quote

no prob

_________________
http://www.vidosh.com - moj folio, v2.0 reborn | http://www.damirphoto.net - ćaćine fotke
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 25.02.2005 00:17    Post subject: Add user to your forum ignore list Reply with quote

burne wrote:
Doduse imas i ovaj tip ubacivanja, te na taj nacin izbjegnes neke probleme sa starijim browserima, tako nesto. Uglavnom ja ovo koristim.

Code:
   <style type="text/css" title="currentStyle">
      @import "readme_design/style.css";
   </style>


Poz
S ovim se ne riješavaju nikakvi 'problemi sa starijim browserima', nego ovako pozvan CSS file ignoriraju Netscape/Internet Explorer 4.0 i raniji, Zbog te činjenice primjena navedenog načina u mnogim slučajevima je nepotrebna i ako se radi o XHTML (xml varijanta) dokumentu, neispravna.

_________________
STOP HITTING YOURSELF! | NETIQUETTE | TYPETESTER | Hypertext rulez™ | CREATIVE NIGHTS | ACCOMMODATIONS
Back to top
View user's profile Send private message Visit poster's website Twitter profile
burne



Joined: 11 Jan 2004
Posts: 602
Location: Split

PostPosted: 25.02.2005 00:23    Post subject: Add user to your forum ignore list Reply with quote

maratz wrote:
S ovim se ne riješavaju nikakvi 'problemi sa starijim browserima', nego ovako pozvan CSS file ignoriraju Netscape/Internet Explorer 4.0 i raniji, Zbog te činjenice primjena navedenog načina u mnogim slučajevima je nepotrebna i ako se radi o XHTML (xml varijanta) dokumentu, neispravna.

OK, thnx. Doduse, moj XHTML je validiran i sa ovim pozivanjem i uredno validira css kasnije, i radi perfektno... Osim ako postoji jos neka verzija XHTMLa za koju nisam cuo....
doduse, jos cu ja porediti na tome... lots of pgs to read.

_________________
http://www.vidosh.com - moj folio, v2.0 reborn | http://www.damirphoto.net - ćaćine fotke
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 25.02.2005 00:37    Post subject: Add user to your forum ignore list Reply with quote

Dakle, iako je dozvoljeno servirati XHTML kao text/html media-type, trebalo bi ga zapravo servirati kao application/xhtml+xml. Pošto IE ne podržava nešto tako 'napredno', još uvijek se koristi text/html media-type. To je ona linija:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
Više o tome uostalom i na W3C-u: http://www.w3.org/TR/xhtml-media-types/#summary

_________________
STOP HITTING YOURSELF! | NETIQUETTE | TYPETESTER | Hypertext rulez™ | CREATIVE NIGHTS | ACCOMMODATIONS
Back to top
View user's profile Send private message Visit poster's website Twitter profile
burne



Joined: 11 Jan 2004
Posts: 602
Location: Split

PostPosted: 25.02.2005 00:42    Post subject: Add user to your forum ignore list Reply with quote

IE... da... tell me about it... vise od po dana sam nastimava da mi radi css izbornik u njemu... a sad mi ne radi u operi 8.0b1 za poludit...

_________________
http://www.vidosh.com - moj folio, v2.0 reborn | http://www.damirphoto.net - ćaćine fotke
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sime
Guest





PostPosted: 25.02.2005 10:16    Post subject: Reply with quote

kelso wrote:
al sad me muči zašto meni nije radilo Sad
Code:

<link rel="nav.css" type="text/css" style="stylesheet">



Code:

<link rel="stylesheet" href="nav.css" type="text/css">
Back to top
kelso



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

PostPosted: 25.02.2005 11:04    Post subject: Add user to your forum ignore list Reply with quote

sime wrote:
kelso wrote:
al sad me muči zašto meni nije radilo Sad
Code:

<link rel="nav.css" type="text/css" style="stylesheet">



Code:

<link rel="stylesheet" href="nav.css" type="text/css">

pročitaj post niže:
kelso wrote:

sramota,pogle mi <link>tag sve poslije link je krivo! samo type mi je dobar Embarassed Embarassed

Wink
Back to top
View user's profile Send private message Send e-mail MSN Messenger
sime
Guest





PostPosted: 25.02.2005 19:32    Post subject: Reply with quote

kelso wrote:

pročitaj post niže:
Wink

Da, skužia sam, tia sam editirati (izbrisati) ali mora san ići ća. Isprika prika Smile
Back to top
kelso



Joined: 19 Jul 2004
Posts: 507
Location: Zagreb -> Zapruđe

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

ma ništa,za gluposti kakve pišem sve prihvaćam Wink
Back to top
View user's profile Send private message Send e-mail 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