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
od 265px do desnog ruba

 
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
M@T



Joined: 23 Oct 2004
Posts: 51

PostPosted: 08.02.2006 15:35    Post subject: od 265px do desnog ruba Add user to your forum ignore list Reply with quote

znaci <div> "gore" bi zelio da mi ide od slike, do desnog
ruba browsera u svim rezolucijama nesto kao 100% u tablicama

ili je to nemoguce napraviti u CSS-u... Smile
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<head>
<title></title>
<style type="text/css">
body {
background-color:#FFFFFF;
color:#000000;
font-family:Verdana;
margin:0px 0px 0 0x;
padding:0;
}

#logo {margin:0px auto;
background:url('images/logo.gif');
width:265px;
height:198px;
padding:0px
}

#gore {
background-color:#2453ab;
position: absolute;
height:36px;
top:0px;
left:265;
width:60%;
}
</style>
</head>
<body>
<div id="logo"></div>
<div id="gore"></div>

</body>
</html>


Hvala i pozdrav

_________________
www.crostudio.com
Back to top
View user's profile Send private message
r3dsc0rpi0n



Joined: 20 Apr 2005
Posts: 354
Location: Zagreb

PostPosted: 08.02.2006 15:39    Post subject: Add user to your forum ignore list Reply with quote

popravi doctype i par gresaka u css-u imas...

netrebaju ti 2 diva, ukoliko sam dobro skuzio...

Code:
#gore
{
background: url('slika.gif') top left no-repeat;
background-color: #2453ab;
width: 100%;
height: 36px;
}


znaci sve pucas u div gore

_________________
::: Fortis est, qui se vincit ! ::::
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
M@T



Joined: 23 Oct 2004
Posts: 51

PostPosted: 08.02.2006 15:49    Post subject: Add user to your forum ignore list Reply with quote

Quote:
popravi doctype i par gresaka u css-u imas...


Moguce svasta tu ima Embarassed

bas mi i nije dobar kod jer mi se sada vidi samo 36px slike po visini a treba mi 198px

_________________
www.crostudio.com
Back to top
View user's profile Send private message
:cosmos:



Joined: 12 Sep 2003
Posts: 2098
Location: México

PostPosted: 08.02.2006 15:56    Post subject: Add user to your forum ignore list Reply with quote

pa stavi mu onda visinu umjesto tamo 36, 198px.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
M@T



Joined: 23 Oct 2004
Posts: 51

PostPosted: 08.02.2006 19:37    Post subject: Add user to your forum ignore list Reply with quote

Evo sad ovo radi u IE i Operi. FF ne slusa

Code:
<html>
<head>
<title></title>
<style type="text/css">
body {
background-color:#FFFFFF;
color:#000000;
font-family:Verdana;
margin:0;
padding:0;
}

#logo {
position:absolute;
background:url('images/logo.gif');
background-color:#000;
width:265px;
height:198px;
z-index:2;
}

#gore {
position:absolute;
background-color:#2453ab;
height:36px;
top:0px;
width:100%;
padding-left: 265px;
z-index: 1;
}
</style>
</head>
<body>
<div id="logo"></div>
<div id="gore"></div>

</body>
</html>

_________________
www.crostudio.com
Back to top
View user's profile Send private message
r3dsc0rpi0n



Joined: 20 Apr 2005
Posts: 354
Location: Zagreb

PostPosted: 08.02.2006 19:55    Post subject: Add user to your forum ignore list Reply with quote

makni padding-left

_________________
::: Fortis est, qui se vincit ! ::::
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
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