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
css help :)

 
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
t3r0



Joined: 08 Jun 2004
Posts: 107

PostPosted: 25.04.2005 15:01    Post subject: css help :) Add user to your forum ignore list Reply with quote

Problem se nalazi ovdje.

Poceo sam malo hakerisati Smile sa css-om pa sam odmah naletio na neke probleme...

Uglavnom, IE mi prikaze stranicu onako kako zapravo hocu, ali FF nece ... zbunj Question Think
Ovako:

1. top margin sam stavio 0px, a firefox mi odmakne container (ili header?) od vrha (to sam nekako i uspio "srediti" sa float:left, ali mi onda stranica naravno ne bude centrirana)
2. background od containera mi se ne vidi pored newsa i ostalih menua ..

btw
da bi ta stranica bila savrsena Smile, htio sam staviti jos 2 diva sa strana a da ovaj centralni (container) ostane centriran, da mogu staviti drugacije slike u bg Smile no medjutim to mi nije sad primarno (ili mozda cak uopce ne treba), pa ak netko ima neku ideju i za to nek napise.

Molim css gurue vuk welcome back, he's an anomaly... da mi pomognu jer polako gubim razum ... fala
Back to top
View user's profile Send private message
strija



Joined: 14 Sep 2003
Posts: 473
Location: Čakovec

PostPosted: 25.04.2005 15:18    Post subject: Add user to your forum ignore list Reply with quote

Ubaci ovo
Code:
#header p {
   margin-top: 0;
}

_________________
We can exist in ambiguity, but it means the deepest loneliness. | creolab.hr | thefarewellreason.com
Back to top
View user's profile Send private message Visit poster's website
F@NTOM



Joined: 11 Sep 2003
Posts: 592
Location: Dubrovnik

PostPosted: 26.04.2005 11:19    Post subject: Add user to your forum ignore list Reply with quote

mislim da ako zelis centrirat taj container stavis
body {
text-align:center;
}

#container {
margin-left:auto;
margin-right:auto;
text-align:left;
}

mislim da bi ga tako trebao centrirati i u ff-u i ie-u.

_________________
These pretzels are making me thirsty!
Back to top
View user's profile Send private message
t3r0



Joined: 08 Jun 2004
Posts: 107

PostPosted: 26.04.2005 14:50    Post subject: Add user to your forum ignore list Reply with quote

@strija: thx ... proradilo je ... jel to neki hack ili ? nekuzim zast treba i u p margin-top:0 Smile

@F@NTOM: centrirana je stranica, to mi nije problem, stavio sam margin: 0 auto 0 auto;

Jos me samo muci zasto se ne vidi bg od containera ...
Back to top
View user's profile Send private message
strija



Joined: 14 Sep 2003
Posts: 473
Location: Čakovec

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

t3r0 wrote:
@strija: thx ... proradilo je ... jel to neki hack ili ? nekuzim zast treba i u p margin-top:0 Smile

Neznam dal je hack Smile isprobao sam i proradilo je.
Inace za centriranje ti je najbolje koristiti ovo sto je F@NTOM naveo.

_________________
We can exist in ambiguity, but it means the deepest loneliness. | creolab.hr | thefarewellreason.com
Back to top
View user's profile Send private message Visit poster's website
F@NTOM



Joined: 11 Sep 2003
Posts: 592
Location: Dubrovnik

PostPosted: 27.04.2005 11:32    Post subject: Add user to your forum ignore list Reply with quote

daj taj kod di mislis da je problem.

_________________
These pretzels are making me thirsty!
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