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
kako pozicionirati ovo da dobijem 4 stupca i 2 reda

 
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
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 04.10.2008 17:11    Post subject: kako pozicionirati ovo da dobijem 4 stupca i 2 reda Add user to your forum ignore list Reply with quote

kako divovima mogu dobiti 4 stupca, s tim da je prvi stupac visok npr.100px, drugi stupac da ima 2 diva (jedn ispod drugog i da je svaki visok 50px), isto tako i treći i četvrti stupac da ima dva diva jedan ispod drugog visine 50 px
Back to top
View user's profile Send private message
Moebius



Joined: 26 Jan 2004
Posts: 245
Location: zagreb

PostPosted: 04.10.2008 21:32    Post subject: 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" xml:lang="hr" lang="hr">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <style>
    * {
        margin: 0;
        padding: 0;
    }
    #prvi, #drugi, #treci, #cetvrti {
        width: 150px;
        height: 100px;
        float: left;
        padding: 0 1em;
        border: solid 1px #000;
        margin: .5em;
    }
   
    .stupac {
        height: 50px;
    }
    </style>
    </head>
    <body>
        <div id="prvi">
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam pharetra vehicula augue.
        </div>
        <div id="drugi">
            <div class="stupac">
                Div visine 50
            </div>
            <div class="stupac">
                Div visine 50
            </div>
        </div>
        <div id="treci">
            <div class="stupac">
                Div visine 50
            </div>
            <div class="stupac">
                Div visine 50
            </div>
        </div>
        <div id="cetvrti">
            <div class="stupac">
                Div visine 50
            </div>
            <div class="stupac">
                Div visine 50
            </div>
        </div>
    </body>
</html>
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