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 problemcic (linkovi)

 
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
pulse



Joined: 28 Dec 2004
Posts: 84

PostPosted: 10.05.2005 16:05    Post subject: CSS problemcic (linkovi) Add user to your forum ignore list Reply with quote

Eto u FF sve radi kak bi trebalo dok je u Operi link defaultni...znaci plavi, dok hover i active stanja normalno rade, sta da napravim da me poslusa Razz

CSS:
Code:
#linkovi {
   font-family:Verdana, Arial, Helvetica, sans-serif;
   font-size:12px;
   color:#FFCC00;
}
#linkovi li a:link {
   color:#FFCC00;
   text-decoration: none;
}

#linkovi li a:hover {
      color: #CCCCCC;
      background-color: #FF0000;
      text-decoration: none;
}
#linkovi li a:active {
      color:#FF0000;
   
}


HTML:
Code:
<dl id="linkovi">
<li><a href=#>peder</a></li>
</dl>


...i zasto kad radim sa CSSom (sa malom pommoci tablica) nista nije kak izgleda. Zapravo zasto na radnoj povrsini Dreamwavera sve ima razlicit polozaj od onog u npr Operi


tnx
Back to top
View user's profile Send private message Visit poster's website
pulse



Joined: 28 Dec 2004
Posts: 84

PostPosted: 10.05.2005 16:31    Post subject: Add user to your forum ignore list Reply with quote

Eto od jednom ni u FF nesljaka kak treba.... Crying or Very sad a u dreamweaveru linkovi izgledaju kak bi i trebali
Back to top
View user's profile Send private message Visit poster's website
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 10.05.2005 16:48    Post subject: Add user to your forum ignore list Reply with quote

A da prvo proučis HTML liste? <li> nije list-item od definition liste <dl>, nego eventualno od ordered <ol> ili unordered <ul> liste.

_________________
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
pulse



Joined: 28 Dec 2004
Posts: 84

PostPosted: 10.05.2005 16:50    Post subject: Add user to your forum ignore list Reply with quote

I will Razz
...a do tad, kak da natjeram ovo da radi?
Back to top
View user's profile Send private message Visit poster's website
Pekx



Joined: 09 Sep 2004
Posts: 559

PostPosted: 10.05.2005 16:56    Post subject: Add user to your forum ignore list Reply with quote

lol Laughing

Last edited by Pekx on 10.05.2005 17:04; edited 1 time in total

_________________
mp3hr.com
Back to top
View user's profile Send private message Send e-mail
F@NTOM



Joined: 11 Sep 2003
Posts: 592
Location: Dubrovnik

PostPosted: 10.05.2005 16:58    Post subject: Add user to your forum ignore list Reply with quote

Zar ne bi to trebalo ic ovim redoslijedom da link radi kako treba:
a:link {color: #FF0000} /* unvisited link */
a:visited {color: #00FF00} /* visited link */
a:hover {color: #FF00FF} /* mouse over link */
a:active {color: #0000FF} /* selected link */

_________________
These pretzels are making me thirsty!
Back to top
View user's profile Send private message
pulse



Joined: 28 Dec 2004
Posts: 84

PostPosted: 10.05.2005 17:45    Post subject: Add user to your forum ignore list Reply with quote

dobro ajmo ovako, htio bi da su mi linkovi u liniji a ne jedan ispod drugog. Molio bi dobru dusu za kratkim objasnjenjem. tnx.

CSS:
Code:
#linkovi {
   
   font-family:Verdana
   font-size: 8px;
   color:#FF3300;
   width: 80px;
   margin: 0px;
}
#linkovi dd {
   margin: 1px;
   padding: 5px 2px 5px 2px;
   }
#linkovi dt {
      font-weight: bold;
}
#linkovi ul {
   margin: 0px;
   padding: 2px 0px 2px 0px;
   list-style: none;
   color:#FF3300;
   }
#linkovi li{
   margin: 0px;
   padding: 1px 0px 0px 0px;
   list-style: none;
   }
#linkovi li a{
   background-color:#FF3300;
   width: 80px;
   display: block;
   text-indent: 5px;
   color:#000000;
   }


#linkovi li a:hover {
      color:#FF9999;
      background-color:#FFCC00;
      width: 80px;
      text-decoration: none;
}
#linkovi li a:active {
      color:#00FF00;
   
}


HTML:

Code:

     <dl id="linkovi">
    
<dt>&nbsp;</dt>
        <dd>
          <ul>
            <li><a href=#>About</a></li>
            <li><a href=#>Info</a></li>
          </ul>
        </dd>
</dl>
Back to top
View user's profile Send private message Visit poster's website
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 10.05.2005 17:53    Post subject: Add user to your forum ignore list Reply with quote

maratz wrote:
A da prvo proučis HTML liste? <li> nije list-item od definition liste <dl>, nego eventualno od ordered <ol> ili unordered <ul> liste.

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



Joined: 11 Sep 2003
Posts: 592
Location: Dubrovnik

PostPosted: 10.05.2005 18:17    Post subject: Add user to your forum ignore list Reply with quote

[quote="pulse"]dobro ajmo ovako, htio bi da su mi linkovi u liniji a ne jedan ispod drugog. Molio bi dobru dusu za kratkim objasnjenjem. tnx.

samo stavis u css-u

neka lista ul {
display:inline;
}

_________________
These pretzels are making me thirsty!
Back to top
View user's profile Send private message
pulse



Joined: 28 Dec 2004
Posts: 84

PostPosted: 10.05.2005 18:31    Post subject: Add user to your forum ignore list Reply with quote

Moram priznat da sam lagano zbunjen Laughing

evo radio sam po tutorialu sa mi3.a...a pogledao sam i liste...znaci grijesio sam radi vas?! Laughing
(ili jednostavno ovo nije moj dan)


mi3 tutorial:
Code:
dl> //otvaramo definition listu

<dt>Naslov prve grupe linkova</dt> //<dt> koristimo za definiranje naslova
<dd><ul> //otvaramo unordered listu
<li><a href=#>Prvi link</a></li>  //sve linkove ćemo držat u <li> elementu
<li><a href=#>Drugi link</a></li>
</ul></dd>  //zatvaramo unordered listu za prvu grupu linkova

<dt>Naslov druge grupe linkova</dt>
<dd><ul>
<li><a href=#>Prvi link</a></li>
<li><a href=#>Drugi link</a></li>
</ul></dd>

<dt>Naslov treće grupe linkova</dt>
<dd><ul>
<li><a href=#>Prvi link</a></li>
<li><a href=#>Drugi link</a></li>
</ul></dd>

</dl> //zatvaramo definition listu



Definition Lists
Code:
<DL>
<LH>List Header</LH>
<DT>Term 1<dd>This is the definition of the first term.
<DT>Term 2<dd>This is the definition of the second term.
</DL>


Unordered List
Code:
<UL>
      <LH>Table Fruit</LH>
      <LI>apples
      <LI>oranges
      <LI>bananas
    </UL>


Ordered List
Code:
<OL>
      <LH>Meeting Agenda</LH>
      <LI>Minutes of the last meeting
      <LI>Do we need yet more meetings?
      <LI>Any other business
    </OL>
Laughing
Back to top
View user's profile Send private message Visit poster's website
pulse



Joined: 28 Dec 2004
Posts: 84

PostPosted: 10.05.2005 18:41    Post subject: Add user to your forum ignore list Reply with quote

F@NTOM wrote:


samo stavis u css-u

neka lista ul {
display:inline;
}



opet nista Crying or Very sad
Back to top
View user's profile Send private message Visit poster's website
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 10.05.2005 21:44    Post subject: Add user to your forum ignore list Reply with quote

Džizus!!1 Daj makni te <dl>-ove do daljnjega. Do tad i samo zato da više ne maltretiraš ljude:
Code:
<html>
<head>
<style type="text/css">
#linkovi li { display: inline; list-style: none; }
#linkovi li a { color: #fc0; text-decoration: none; }
#linkovi li a:hover { color: #ccc; background: #f00; }
</style>
</head>
<body>
<ul id="linkovi">
<li><a href="#">link1</a></li>
<li><a href="#">link2</a></li>
</ul>
</body>
</html>
Dok ne pročitaš i usvojiš http://www.w3schools.com/html/default.asp i http://www.w3schools.com/css/default.asp i beginner resurse od Suliena mani se CSS-a, samo ćeš se povrijediti.

_________________
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
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 11.05.2005 09:55    Post subject: Add user to your forum ignore list Reply with quote

http://www.mi3dot.org/forum/viewtopic.php?p=58518

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
F@NTOM



Joined: 11 Sep 2003
Posts: 592
Location: Dubrovnik

PostPosted: 11.05.2005 13:41    Post subject: Add user to your forum ignore list Reply with quote

pulse wrote:
F@NTOM wrote:


samo stavis u css-u

neka lista ul {
display:inline;
}



opet nista Crying or Very sad


Tek sam kasnije skuzio da sam kikso, ide ti:
ul#neka_lista li {
display:inline;
}
mislimda bi ovako trebalo radit. Smile

Ako radis izbornik, najbolje ti je uzet unordered listu.

_________________
These pretzels are making me thirsty!
Back to top
View user's profile Send private message
pulse



Joined: 28 Dec 2004
Posts: 84

PostPosted: 11.05.2005 14:28    Post subject: Add user to your forum ignore list Reply with quote

Quote:
da više ne maltretiraš ljude


Cini mi se da se drugi ljudi nedaju tako lako izmaltretirati....a i moja greska je proizasla iz vaseg tutoriala kojeg sam ja kako kaze nel`chee "sljepo pratio".
Hvala na linkovima i na codu Wink Mogao si fino na pocetku rec bla, bla, bla i evo kako bi to pravilno trebalo izgledat.... Al prepisat cemo sve to losem vremenu.

F@NTOM: tnx.
Back to top
View user's profile Send private message Visit poster's website
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