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 DIV-a?

 
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
dnk2001



Joined: 14 Jun 2005
Posts: 81
Location: Zagreb

PostPosted: 18.02.2009 14:31    Post subject: pozicioniranje DIV-a? Add user to your forum ignore list Reply with quote

Kako napraviti ovo.. dakle zanima me kako pozicionirati DIV da dobijem ovaj mali box za datum, ali tako pored svake vijesti.

da li to može ići preko css-a ili se kreiraju slike koje se stave tako sastrane u produžetak? Nemoraju biti zobljeni uglovi.. to mi netreba.. samo me zanima da je tak malo izvučeno i da je pored svake vijesti.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KAMI



Joined: 14 Oct 2006
Posts: 100

PostPosted: 18.02.2009 14:48    Post subject: Add user to your forum ignore list Reply with quote

absolutno ga pozicioniraš i mazneš lijevu marginu u minus koliko trebaš...
Back to top
View user's profile Send private message
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 18.02.2009 14:48    Post subject: Add user to your forum ignore list Reply with quote

negativnim marginama.

Code:

#container { position: relative }
#container .date { position: absolute; top: 0; left: -100px /* igraj se s marginama */ }

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



Joined: 14 Jun 2005
Posts: 81
Location: Zagreb

PostPosted: 18.02.2009 20:05    Post subject: Add user to your forum ignore list Reply with quote

a kako trebam DIV-ove postavit, da li taj datum unutar onog gdje je content ili izvan? probao sam i jedan i drugi način i neće baš.. Very Happy

Imam DIV Wrapper, unutar njega DIV Main i onda unutar njega DIV Connews iz doljnjeg CSS-a

ovako mi je sada

CSS
Code:

#connews {
   width: 380px;
   margin-bottom: 10px;
   padding: 10px;
   position: relative;
}
#connews .date {
   width: 80px;
   height: 80px
   background-color: #000;
   position: absolute;
   top: 0;
   left: -100px;
}


HTML - ima ASP-a i to se vrti u loop petlji
Code:

<div class="date">Datum</div>

<div id="connews">

  <h2><% response.write rsVO("Naslov") %></h2>
  <img src="/image/vijesti/<% response.write rsVO("Slika") %>.jpg" border="5" width="370" height="160" alt="Slika_Vijest" /><br /><br />
  <% response.write rsVO("MTekst") %>

</div>
Back to top
View user's profile Send private message Send e-mail Visit poster's website
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

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

datum mora biti unutar ovog drugog.

fali ti i ; kod heighta.

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



Joined: 14 Jun 2005
Posts: 81
Location: Zagreb

PostPosted: 19.02.2009 12:42    Post subject: Add user to your forum ignore list Reply with quote

probao sam i tako ali opet neide.. evo link na stranicu pa ako ti nije problem da pogledaš što se događa.

Code:
http://new.partijana.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
snyder



Joined: 21 Dec 2005
Posts: 57
Location: Zagreb

PostPosted: 19.02.2009 14:03    Post subject: Add user to your forum ignore list Reply with quote

http://www.cro-guild.com/partijana.html

nisam nest lijepo napravio al vidi, dal je to to, ak je po ovom se onda vodi
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dnk2001



Joined: 14 Jun 2005
Posts: 81
Location: Zagreb

PostPosted: 19.02.2009 15:14    Post subject: Add user to your forum ignore list Reply with quote

to je to snyder.. puno hvala.. Wink
Back to top
View user's profile Send private message Send e-mail 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