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
Kaj je ovom kodu??? Molim pogledajte...

 
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
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 05.09.2008 21:57    Post subject: Kaj je ovom kodu??? Molim pogledajte... Add user to your forum ignore list Reply with quote

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>USS Croatia</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>

    <!-- WRAP ---------------------------->
    <div id="wrap">
           
        <!-- SIDEBAR ---------------------------->
       <div id="sidebar">
        SIDEBAR
        </div>
        <!-- SIDEBAR END ------------------------>   
       
             
        <!-- CONTENT ---------------------------->
        <div id="content">
        CONTENT
        </div>
          <!-- CONTENT END ----------------------->

         
         
         
    </div>
    <!-- WRAP END ----------------------->

</body>
</html>


...to je index.html

Code:
/*---------------------------------*/
/*---------------------------------*/
/*------- RESET CSS ---------------*/
/*---------------------------------*/
/*---------------------------------*/

html {
font-size: 62.5%;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}

table {
border-collapse:collapse;
border-spacing:0;
}

address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:400;
}

ol,ul {
list-style:none;
}

caption,th {
text-align:left;
}

h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:400;
}

q:before,q:after {
content:”;
}

fieldset,img,abbr,acronym {
border:0;
}

/*---------------------------------*/
/*---------------------------------*/
/*------- OSNOVNI LAYOUT ----------*/
/*---------------------------------*/
/*---------------------------------*/

#wrap {
width:960px;
margin:auto;
background-color:#000000;
float:left;
}

#sidebar {
width:260px;
background-color:#99FFCC;
float:left;
}

#content {
width:700px;
float:right;
}



i to bi bio CSS.

Problem je slijedeći.
FF3 neće prikazati sadržaj u sredini kako piše u CSS-u-

Zašto?

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
zytzagoo
mi3.crew


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

PostPosted: 05.09.2008 22:55    Post subject: Re: Kaj je ovom kodu??? Molim pogledajte... Add user to your forum ignore list Reply with quote

Cozmika wrote:
Problem je slijedeći.
FF3 neće prikazati sadržaj u sredini kako piše u CSS-u-

Zašto?

Zbog komentara u html-u.

Ako stavis samo ovako:
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>USS Croatia</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <!-- WRAP -->
    <div id="wrap">
       <!-- SIDEBAR -->
       <div id="sidebar">
        SIDEBAR
        </div>
        <!-- SIDEBAR END -->
        <!-- CONTENT -->
        <div id="content">
        CONTENT
        </div>
        <!-- CONTENT END -->
    </div>
    <!-- WRAP END -->
</body>
</html>


Radi identicno u svim browserima...
Problem je u consecutive '-' znakovima... Comment parsing bug neki...

Last edited by zytzagoo on 05.09.2008 23:03; edited 1 time in total

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
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: 05.09.2008 23:03    Post subject: Add user to your forum ignore list Reply with quote

Vjerojatno vezano za ovaj bug: https://bugzilla.mozilla.org/show_bug.cgi?id=120385

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
:cosmos:



Joined: 12 Sep 2003
Posts: 2098
Location: México

PostPosted: 06.09.2008 15:56    Post subject: Add user to your forum ignore list Reply with quote

sportsko ubacivanje: ie6 obozava komentare izmedju floatanih elemenata
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 06.09.2008 17:42    Post subject: Add user to your forum ignore list Reply with quote

Hvala vam!

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 09.09.2008 10:28    Post subject: Add user to your forum ignore list Reply with quote

Mene stvarno kod mrzi. Putanja do slika je
Code:
images/ime_slike.gif
Ja upišem npr
Code:
<img src="images/trivia.gif" alt="Trivia" />
i samo mi alt ispiše a slike kao da nema, a ima je u tom folderu. WTF?

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
les



Joined: 25 Oct 2004
Posts: 370

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

Cozmika wrote:
Mene stvarno kod mrzi. Putanja do slika je
Code:
images/ime_slike.gif
Ja upišem npr
Code:
<img src="images/trivia.gif" alt="Trivia" />
i samo mi alt ispiše a slike kao da nema, a ima je u tom folderu. WTF?


Da li koristiš .htaccess?

Probaj sa
Code:
<img src="/images/trivia.gif" alt="Trivia" />
Back to top
View user's profile Send private message Send e-mail
zytzagoo
mi3.crew


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

PostPosted: 09.09.2008 13:34    Post subject: Add user to your forum ignore list Reply with quote

Hmm, wild guess: radis doma na windows/mac, a uploadas na neki *nix server?

I na windowsima ti je mozda trivia.GIF pravi filename, a kad to dignes na *nix, onda su trivia.gif i trivia.GIF dvije razlicite stvari...

Uploadaj taj file koji ti stvara probleme negdje online, pa daj link, onda se lakse moze vidjeti
sta je konkretno... Ovako je sve nagadjanje neko...

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

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

To mi je sve na kompu. Imam Wamp ( dakle na Winjozama sam )

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 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