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
POZICIONIRANJE???

 
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
KAMI



Joined: 14 Oct 2006
Posts: 100

PostPosted: 11.12.2006 17:09    Post subject: POZICIONIRANJE??? Add user to your forum ignore list Reply with quote

Znam da je ovo več prožvakana tema la nemrem rješit problem...
Naime hoču pozicionirat stranicu u centar i da tako ostane na svim rezama.
e sad dio u tablici sam centrirao lako align="center" ali divovi me zahebavaju...

Ovak zgleda css od layera(da da još uvjek napikavam po dreamweaveru,časna pijonirska prelazim u code view )
#Layer1 {
position:absolute;
left:18px;
top:18px;
width:591px;
height:171px;
z-index:1;
}
ok probao sam mu dodat margin:o auto; al nepomaže
kak se to rješava,ko pomogne ima pifo i čevape Very Happy
Back to top
View user's profile Send private message
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 11.12.2006 17:10    Post subject: Add user to your forum ignore list Reply with quote

http://www.mi3dot.org/forum/search.php pa traži centriranje, bilo puno, puno puta.

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



Joined: 14 Oct 2006
Posts: 100

PostPosted: 11.12.2006 21:31    Post subject: Add user to your forum ignore list Reply with quote

nebi čovjek reko al znam nać search.....da mi je pomogao nebi postavljao ovdje pitanje i tražio pomoć od vaših pametnih glavica

Nego uspio centrirat ak se to tak kože nazvat ali kad imam layer unatar layera neprikazuju se dobro u preglednicima
imam glavni comtainer i unutra su ostali layeri sve dobro funkcionira dok su zasebni al kad ih stavim u container ode sve u pm.....
Back to top
View user's profile Send private message
Skyward



Joined: 27 Aug 2006
Posts: 174
Location: Mamlazoland

PostPosted: 11.12.2006 21:35    Post subject: Add user to your forum ignore list Reply with quote

Ovako:

.container {
position:absolute;
top:50%;
left:50%;
width:brojW;
height:brojH;
margin-top: - brojH/2;
margin-left: - brojW/2;
}

i to ti je to, vertikalno i horizontalno ti se div container pomice smanjenjem browsera.

_________________
NBR member - join us at www.thegamebooks.com
www.gamestats.sail.hr - F.E.A.R stats
Back to top
View user's profile Send private message
Skyward



Joined: 27 Aug 2006
Posts: 174
Location: Mamlazoland

PostPosted: 11.12.2006 21:35    Post subject: Add user to your forum ignore list Reply with quote

Ovako:

.container {
position:absolute;
top:50%;
left:50%;
width:brojW;
height:brojH;
margin-top: - brojH/2;
margin-left: - brojW/2;
}

i to ti je to, vertikalno i horizontalno ti se div container pomice smanjenjem browsera.

_________________
NBR member - join us at www.thegamebooks.com
www.gamestats.sail.hr - F.E.A.R stats
Back to top
View user's profile Send private message
KAMI



Joined: 14 Oct 2006
Posts: 100

PostPosted: 11.12.2006 21:54    Post subject: Add user to your forum ignore list Reply with quote

2 sky:
probao i to...nekaj mene drugo zafrkava..
thnx svejedno
Lud sam već!!!
bemti šlapu ak neču pobrisat sve i ispočetka ić radit!!!
Back to top
View user's profile Send private message
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 11.12.2006 22:50    Post subject: Re: POZICIONIRANJE??? Add user to your forum ignore list Reply with quote

mozda znas naći search, ali ga ne znas koristiti Rolling Eyes
KAMI wrote:
#Layer1 {
position:absolute;
left:18px;
top:18px;
width:591px;
height:171px;
z-index:1;
}
ok probao sam mu dodat margin:o auto; al nepomaže

naravno da ne pomaže kad koristiš apsolutno pozicioniranje. zasto koristiš apsolutno pozicioniranje? ne znaš zašto, to ti je DW napisao.

KAMI wrote:
bemti šlapu ak neču pobrisat sve i ispočetka ić radit!!!

to ti i preporučam.

a ako se odlučiš za normalno pozicioniranje, onda će ti ovo raditi:
Code:
body {text-align: center;} /* za IE */
#Layer1 {margin: 0 auto;}


P.S. capsi + tri upitnika u naslovu djeluju histerično, možda neke to sprečava da uopće otvore topic.

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



Joined: 14 Oct 2006
Posts: 100

PostPosted: 12.12.2006 15:06    Post subject: Add user to your forum ignore list Reply with quote

2 nel:pa kad i jesam histeričan lolll

idem još isprobat neke stvari ako nejde idemo ispočetka.
Zahvaljujem svima na odgovorima
Back to top
View user's profile Send private message
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