well.. INDEX.PHP ----------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="si"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Toasted Web - Publikacija o spletnih standardih</title> <link type="text/css" rel="stylesheet" href="css/main.css" /> <link type="text/css" rel="stylesheet" href="css/meta.css" /> </head> <body> <?php include_once 'header.php'; ?>
HEADER.PHP --------------------------------- <div id="header"> <h1>Site title</h1> <div id="logo"><img src="slike/twm-logo.gif" alt="Toasted Web logo" /></div> <div id="top_menu"> <h2 class="struct_label">Navigacija po glavnih rubrikah:</h2> <ul> <li class="selected"><a href="" name="navigacija">Naslovnica</a></li> <li><a href="" name="navigacija">Članki</a></li> <li><a href="">Literatura</a></li> <li><a href="">Javni razpisi </a></li> <li><a href="">Forum</a></li> </ul> </div> <div class="clear_both"></div> </div> css ----------------------------------- html { margin:0; padding: 0; width:100%; height:100%; } body { margin:0; padding: 0 0 2em 0; }ž #header { margin:0; padding:0.5em 1em 0 2em; border-bottom:solid 5px #3497EC; } no witespaces ... if by those are space in code.. On 1/11/07, Paul Bennett <[EMAIL PROTECTED]> wrote:
Hi Mihael, PHP won't do anything to HTML unless you ask it to. Are you sure you aren't introducing extra whitespace into your markup when using the PHP includes? This may introduce unwanted padding / gaps between elements... Paul ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
-- Računalniške storitve Toasted Web Mihael Zadravec s.p. ----------------------------------------------- tel: 00386 51 808136 email in msn: [EMAIL PROTECTED] Skype kontakt: mihael_zadravec ----------------------------------------------- Toasted Web http://www.toastedweb.com ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************