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
50%

 
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
TREECKO



Joined: 22 Dec 2008
Posts: 72

PostPosted: 23.12.2008 18:48    Post subject: 50% Add user to your forum ignore list Reply with quote

Naisao sam na jos jedan problem u CSS-u i molio bih za pomoc.
Imam jednu sliku (header) i htio bih da mi je uvijek na 50% od ukupne sirine monitora. Kako to napraviti?
Hvala!
Back to top
View user's profile Send private message
mile



Joined: 10 Sep 2003
Posts: 1327
Location: Jeruzalem

PostPosted: 23.12.2008 18:53    Post subject: Add user to your forum ignore list Reply with quote

Želiš da ti širina headera uvijek bude 50% širine prozora browsera ili želiš da ti header bude pozicioniran na 50% od ruba prozora browsera?

_________________
mile.is
Back to top
View user's profile Send private message Visit poster's website
TREECKO



Joined: 22 Dec 2008
Posts: 72

PostPosted: 23.12.2008 19:51    Post subject: Add user to your forum ignore list Reply with quote

Želim da mi header uvijek bude pozicioniran 50% od ruba browsera.
Back to top
View user's profile Send private message
TREECKO



Joined: 22 Dec 2008
Posts: 72

PostPosted: 23.12.2008 20:07    Post subject: Add user to your forum ignore list Reply with quote

Moj pokusaj (po jednom tutorialu):
Code:
#Header {
   position:absolute;
   left:50%;
}


Meni radi jedino na 25%.
Back to top
View user's profile Send private message
fun.ky



Joined: 05 Jan 2006
Posts: 365
Location: Mostar

PostPosted: 23.12.2008 20:56    Post subject: Add user to your forum ignore list Reply with quote

Ili želiš da ti header bude centriran horizontalno (jer ne shvatam baš namjenu)

_________________
There is no style definition for good music!
Back to top
View user's profile Send private message Visit poster's website Twitter profile
dr_Hate



Joined: 28 Aug 2007
Posts: 168
Location: Rijeka

PostPosted: 23.12.2008 21:13    Post subject: Add user to your forum ignore list Reply with quote

margin:0 auto; i header je centralno smjesten Wink

horizontalno naravno

_________________
imam domenu |stajduhar.org|
Back to top
View user's profile Send private message Visit poster's website
TREECKO



Joined: 22 Dec 2008
Posts: 72

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

Evo na sto sam mislio:
http://img88.imageshack.us/img88/8717/screendy7.jpg
Back to top
View user's profile Send private message
sphx



Joined: 02 Jun 2004
Posts: 109
Location: Split

PostPosted: 23.12.2008 21:40    Post subject: Add user to your forum ignore list Reply with quote

kao što ti je dr_Hate već rekao:

#Header{
margin:auto;
}
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TREECKO



Joined: 22 Dec 2008
Posts: 72

PostPosted: 23.12.2008 21:46    Post subject: Add user to your forum ignore list Reply with quote

Nisam vdio post. Sorry!
Hvala svima.
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