View previous topic :: View next topic |
Author |
Message |
Pekx
Joined: 09 Sep 2004 Posts: 559
|
Posted: 13.04.2006 19:54 Post subject: css problem |
|
|
puko sam totalnooo !!
kada na a:link dodam "border-bottom-style: dotted;" sve mi linkove podvuce iako sam na njima definirao text dec none. pomagajte!
kod je jos WIP tako da se ne obazirete, znam da može i krace
evo koda i slike:
daklem HTML:
Code: | <div id="header">
<div id="hpic"><img src="gfx/header.jpg"></div>
<div id="izb" ><a href="nekilink.php">[Link1]</a> . <a href="#">[Link2]</a></div>
</div> |
style.css
Code: | body {
background-image: url(../gfx/bg.gif);
color: #171717;
padding: 0px;
margin: 0;
font-family: "Trebuchet MS", Trebuchet, Helvetica, Arial, Verdana, sans-serif;
font-size: 12px;
text-decoration: none;
}
/* SVE ISTO */
a:link, a:visited, a:active {
color: #84655b;
border-bottom-color: #84655b;
border-bottom-width: 1px;
border-bottom-style: dotted;
text-transform: none;
}
#header {
background-color: #5f3227;
background-image: url(../gfx/header_bg.gif);
height: 110px;
width: 100%;
margin: 0;
float: left;
text-decoration: none;
}
#hpic {
background-image: url(../gfx/header.jpg);
background-repeat: repeat-y;
}
#izb {
margin-top: -30px; /*MUST!!*/
margin-left: 35%;
color: #fefcff;
text-decoration: none;
font-weight: bold;
}
#izb a:link, #izb a:visited, #izb a:active {
font: bold 15px "Trebuchet MS", Trebuchet, Helvetica, Arial, Verdana, sans-serif;
color: #fefcff;
text-decoration: none;
} |
toliko sam lud da sam u svaki def stavljao text dec none.
evo i slike:
puno vam hvala!
jednostavno neznam gdje grijesim, hvala! |
_________________ mp3hr.com |
|
Back to top |
|
|
sinisa.kusic
Joined: 26 Jul 2005 Posts: 728 Location: Rijeka
|
Posted: 13.04.2006 19:59 Post subject: |
|
|
Code: |
#izb a:link, #izb a:visited, #izb a:active {
font: bold 15px "Trebuchet MS", Trebuchet, Helvetica, Arial, Verdana, sans-serif;
color: #fefcff;
text-decoration: none;
}
|
probaj ovo razbit u komade, odvoji. ( svaki zasebno ) |
_________________ some are born awesome, some achieve awesomeness and some have awesomeness thrust upon them |
|
Back to top |
|
|
Sulien
Joined: 04 Jan 2004 Posts: 2905 Location: Zagreb
|
Posted: 13.04.2006 20:42 Post subject: |
|
|
Ajde Feelfree ne kenjaj pa što će mu odvajanje pomoći
Peks: border-bottom i text-decoration:underline NISU (oh čudesa!) isto, samo je vizualni efekt isti.
Probaj #header a { border-bottom:none; } umjesto svih tih text-decorationa |
|
|
Back to top |
|
|
sinisa.kusic
Joined: 26 Jul 2005 Posts: 728 Location: Rijeka
|
Posted: 13.04.2006 20:47 Post subject: |
|
|
@ Sulien ispričavam se na svojoj lijenosti |
_________________ some are born awesome, some achieve awesomeness and some have awesomeness thrust upon them |
|
Back to top |
|
|
:cosmos:
Joined: 12 Sep 2003 Posts: 2098 Location: México
|
Posted: 13.04.2006 20:53 Post subject: |
|
|
feelfree wrote: | @ Sulien ispričavam se na svojoj lijenosti |
hoces reci neznanju |
|
|
Back to top |
|
|
sinisa.kusic
Joined: 26 Jul 2005 Posts: 728 Location: Rijeka
|
Posted: 13.04.2006 20:54 Post subject: |
|
|
:cosmos: wrote: | feelfree wrote: | @ Sulien ispričavam se na svojoj lijenosti |
hoces reci neznanju |
aka gluposti |
_________________ some are born awesome, some achieve awesomeness and some have awesomeness thrust upon them |
|
Back to top |
|
|
Pekx
Joined: 09 Sep 2004 Posts: 559
|
Posted: 14.04.2006 00:37 Post subject: |
|
|
puno hvala decki! |
_________________ mp3hr.com |
|
Back to top |
|
|
|