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
Problem sa centriranjem

 
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
macros



Joined: 03 Jan 2004
Posts: 23
Location: Zagreb, HR

PostPosted: 27.11.2007 12:28    Post subject: Problem sa centriranjem Add user to your forum ignore list Reply with quote

Ovak, na sljedecoj adresi (http://www.udovicic.com/conf/test.html) se nalazi radna verzija jedne stranice i s njom imam jedan glupi problem. Naime, klijent traži da background glavnog sadržaja (bijelo polje) ide do dna stranice pa zato koristim "Faux Columns" metodu, znači koristim centrirani background na cijeloj stranici a iznad toga imam centrirani div sa sadržajem.

Naravno tu nastaje problem jer centiranje nije uvijek točno u pixel (nekad štima, nekad ne) ovisno o rezoluciji. Problem se može reproducirati tako da se veličina browsera smanjuje pixel po pixel pa se vidi da dolazi do micanja div-a sa sadržajem (koji isto ima jedan dodatan background).

Da li tu ima neka metoda ili neki trik da se to izbjegne? Pokušao sam smisliti neku drugu strukturu stranice, ali ne uspjevam dobiti ovakav izgled.

Hvala svima na pomoci.

_________________
Es gibt nichts stilleres als eine geladene Kanone. - Heinrich Heine
Back to top
View user's profile Send private message Visit poster's website
jojo



Joined: 27 Jan 2005
Posts: 1591
Location: insula aurea

PostPosted: 27.11.2007 12:35    Post subject: Add user to your forum ignore list Reply with quote

ja nisam uspjela reproducirati to o čemu pričaš...

_________________
deviant / malomorgen / videoholik / cimer fraj
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
macros



Joined: 03 Jan 2004
Posts: 23
Location: Zagreb, HR

PostPosted: 27.11.2007 13:02    Post subject: Add user to your forum ignore list Reply with quote

Da, zaboravio sam napomenuti da sam s malo hackiranja uspio maknut tu grešku u FF-u. Međutim u zadnjim verzijama Opere i Internet Explorera ta greška i dalje postoji.

http://www.udovicic.com/conf/screen.png

Evo jedan screenshot da se bolje vidi o čemu se radi. Gore je verzija s greškom. Dole je nakon što smanjim ili povećam browser za jedan pixel. I tak se to ponavlja.

_________________
Es gibt nichts stilleres als eine geladene Kanone. - Heinrich Heine
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