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
Layout coding

 
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
Ivan Brezak Brkan



Joined: 13 Sep 2003
Posts: 1694
Location: Zagreb // Croatia

PostPosted: 07.03.2004 17:49    Post subject: Layout coding Add user to your forum ignore list Reply with quote

Imam mali problem, na vrhu i dnu html dokumenta mi se pojavljuje prazan prostor iako sam stavio height tablice na 100%... Hm što da radim? Koristim DW MX... Crying or Very sad
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
bforsek



Joined: 14 Oct 2003
Posts: 60

PostPosted: 07.03.2004 18:01    Post subject: Add user to your forum ignore list Reply with quote

kolko ja znam iz iskustva, visina tablice nemoze bit u postotcima probao sam u html-u i u css-u ali nista ne radi... stavi si pixel height na nekih ?? 550 px mislim
Back to top
View user's profile Send private message
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 07.03.2004 18:05    Post subject: Add user to your forum ignore list Reply with quote

mozda nisi narihtao margin properties na 0?
Back to top
View user's profile Send private message Visit poster's website Twitter profile
bforsek



Joined: 14 Oct 2003
Posts: 60

PostPosted: 07.03.2004 18:13    Post subject: Add user to your forum ignore list Reply with quote

hm, ovo bi i ja trebao naucit... jel se to moze uopce? ja sam probao svakakve kombinacije al nika mi nije uspjelo... cak ni sa marginom.
Back to top
View user's profile Send private message
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 07.03.2004 18:28    Post subject: Add user to your forum ignore list Reply with quote

evo, kopirajte si ovaj kod, imas site gdje je height 100%, i do ruba je, pa iz toga skuži kako i zasto gdje

html code wrote:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="200" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FF0000">
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

Back to top
View user's profile Send private message Visit poster's website Twitter profile
stipsa



Joined: 07 Sep 2003
Posts: 311
Location: Zgb.

PostPosted: 07.03.2004 19:17    Post subject: Add user to your forum ignore list Reply with quote

bforsek wrote:
kolko ja znam iz iskustva, visina tablice nemoze bit u postotcima probao sam u html-u i u css-u ali nista ne radi... stavi si pixel height na nekih ?? 550 px mislim


postoji xhtml i css2 valid nacin da se dobije to sto si naveo, problemi dolaze kad zazelis nesto more advanced Smile

evo ti kod da se dobije xhtml valid 100% visoka tablica, guglaj i experimentiraj za dalje Smile

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>tejbl100</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
html {
   height: 100%;
}
body {
   margin: 0px;
   height: 100%;
}
.tablicaSto {
   background-color: #CCCCCC;
   height: 100%;
}
-->
</style></head>

<body>
<table width="500" class="tablicaSto">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
Back to top
View user's profile Send private message Twitter profile
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 07.03.2004 19:54    Post subject: Add user to your forum ignore list Reply with quote

zapravo je rjesenje problema kak je blackduke reko - stavi margine na 0 (u DW css editoru ces to nac pod BOX).
ali nemoj stavit left i right marginu na nulu jer ce ti tablica otic u ljevo (u mozilli) neg stavi sam top i bottom (ako zelis da ostane u centru).
ukoliko ces imat dovoljno sadrzaja ili dovoljnu visinu tablice, prazni prostori se ne bi trebali pojavljivati.
u svakom slucaju, djukovo rjesenje ce 100% uklonit prazan prostor gore.
Back to top
View user's profile Send private message
Ivan Brezak Brkan



Joined: 13 Sep 2003
Posts: 1694
Location: Zagreb // Croatia

PostPosted: 07.03.2004 20:39    Post subject: Add user to your forum ignore list Reply with quote

Radi Đukin code... Thanks guys Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
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