HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


a little problem with the header....

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#60709 (In Topic #13182)
Avatar

Well-settled

Hi, i have edit the header.tpl and i have put in a flash.
So its all ok, but i have a empty line that i would like to delete.
I have try but i cant change the hight in this div….its ok for me to have the logo in the left corner as is now and in the middle the flash. but 1 line down the flash i have this space that is empty and i want to delete it.
this the link: Desde 1984 Haciendo Profesión - FENACO - Portal profesional de la Naturopatia
this is the code

Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--
Powered by {$BRAND_NAME*}
{VERSION_NUMBER*} version

{$BRAND_BASE_URL*}
-->

<html id="main_website_html" xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$LANG*}" lang="{$LANG*}" dir="{!dir}">
<head profile="http://www.w3.org/2003/g/data-view http://dublincore.org/documents/dcq-html/ http://gmpg.org/xfn/11 http://www.w3.org/2006/03/hcard">
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset={CHARSET}" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />

<title>{+START,IF_NON_EMPTY,{HEADER_TEXT}}{HEADER_TEXT*} &ndash; {+END}{$SITE_NAME*}</title>
<meta name="description" content="{+START,IF,{$NEQ,{DESCRIPTION},{!NA}}}{DESCRIPTION*}{+END}" />
<meta name="keywords" content="{KEYWORDS*}" />
<meta name="copyright" content="{$COPYRIGHT`}" />
<meta name="author" content="{$SITE_NAME*}" />
<meta name="self_url" content="{SELF_URL*}" />
<meta name="base_url" content="{$BASE_URL*}" />
<link rel="schema.OCPCORE" href="http://ocportal.com/ocpcore.rdf" />{+START,IF_NON_EMPTY,{$META_DATA,rating}}<meta name="OCPCORE.Rating" content="{$META_DATA*,rating}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,numcomments}}<meta name="OCPCORE.NumComments" content="{$META_DATA*,numcomments}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,site_newestmember}}<meta name="OCPCORE.Site_NewestMember" content="{$META_DATA*,site_newestmember}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,site_nummembers}}<meta name="OCPCORE.Site_NumMembers" content="{$META_DATA*,site_nummembers}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,site_bestmember}}<meta name="OCPCORE.Site_BestMember" content="{$META_DATA*,site_bestmember}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,forum_numtopics}}<meta name="OCPCORE.Forum_NumTopics" content="{$META_DATA*,forum_numtopics}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,forum_numposts}}<meta name="OCPCORE.Forum_NumPosts" content="{$META_DATA*,forum_numposts}" />{+END}
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" /><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" /><meta name="DC.Language" content="{$LANG*}" />{+START,IF_NON_EMPTY,{$META_DATA,created}}<meta name="DCTERMS.Created" content="{$META_DATA*,created}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,publisher}}<meta name="DC.Publisher" content="{$META_DATA*,publisher}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,created}}<meta name="DC.Creator" content="{$META_DATA*,creator}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,modified}}<meta name="DCTERMS.Modified" content="{$META_DATA*,modified}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,type}}<meta name="DC.Type" content="{$META_DATA*,type}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,title}}<meta name="DC.Title" content="{$META_DATA*,title}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,identifier}}<meta name="DC.Identifier" content="{$FIND_SCRIPT*,pagelink_redirect}?id={$META_DATA*&,identifier}" />{+END}{+START,IF_NON_EMPTY,{$META_DATA,description}}<meta name="DC.Description" content="{$META_DATA*,description}" />{+END}

<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="GENERATOR" content="{$BRAND_NAME*}" />

{REFRESH}

{+START,IF,{$DEV_MODE}}<base href="http://example.com/" /><!-- Totally break relative URLs so we know if they're used - we shouldn't ever use them, as they reflect path assumptions -->{+END}

<link rel="icon" href="{$CUSTOM_BASE_URL*,0,1}/favicon.ico" type="image/x-icon" />
{+START,IF,{$HAS_SPECIFIC_PERMISSION,see_software_docs}}{+START,IF_NON_EMPTY,{$DOCUMENT_HELP}}<link rel="help" href="{$DOCUMENT_HELP*}" />{+END}{+END}
{+START,IF,{$EQ,{$ZONE},docs}}
<link rel="search" type="application/opensearchdescription+xml" title="{$SITE_NAME*} {$ZONE*}" href="{$FIND_SCRIPT*,opensearch}?filter=:id=comcode_pages:search_under=docs" />
{+START,IF_NON_EMPTY,{$META_DATA,opensearch_totalresults}}<meta name="totalResults" content="{$META_DATA*,opensearch_totalresults}" />{+END}
{+START,IF_NON_EMPTY,{$META_DATA,opensearch_startindex}}<meta name="startIndex" content="{$META_DATA*,opensearch_startindex}" />{+END}
{+START,IF_NON_EMPTY,{$META_DATA,opensearch_itemsperpage}}<meta name="itemsPerPage" content="{$META_DATA*,opensearch_itemsperpage}" />{+END}
{+END}

{$,Preload all the panels so that the CSS and JS is known for them. Technically not needed (pre-processing would get it) but this also increases the efficiency.}
{$SET,panel_top,{$LOAD_PANEL,top}}
{$SET,panel_bottom,{$LOAD_PANEL,bottom}}
{$SET,panel_left,{$SET,in_panel,_true}{$SET,interlock,_false}{$LOAD_PANEL,left}{$SET,interlock,_false}{$SET,in_panel,_false}}
{$SET,panel_right,{$SET,in_panel,_true}{$SET,interlock,_false}{$LOAD_PANEL,right}{$SET,interlock,_false}{$SET,in_panel,_false}}

<script type="text/javascript">// <![CDATA[
{+START,IF,{$AND,{$EQ,,{$_GET,keep_has_js}},{$NOT,{$JS_ON}}}}
if ((window.location.href.indexOf('upgrader.php')==-1) && (window.location.search.indexOf('keep_has_js')==-1)) {$,Redirect with JS on, and then hopefully we can remove keep_has_js after one click. This code only happens if JS is marked off, no infinite loops can happen.}
window.location=window.location.href+((window.location.search=='')?(((window.location.href.indexOf('.htm')==-1)&&(window.location.href.indexOf('.php')==-1))?(((window.location.href.substr(window.location.href.length-1)!='/')?'/':'')+'index.php?'):'?'):'&')+'keep_has_js=1{+START,IF,{$DEV_MODE}}&keep_devtest=1{+END}';
{+END}
{+START,IF,{$NOT,{$BROWSER_MATCHES,ie}}}{+START,IF,{$HAS_SPECIFIC_PERMISSION,sees_javascript_error_alerts}}window.take_errors=true;{+END}{+END}
var {+START,IF,{$CONFIG_OPTION,is_on_timezone_detection}}server_timestamp={$FROM_TIMESTAMP%},{+END}ocp_lang='{$LANG;}',ocp_theme='{$THEME;}';
//]]></script>
<script type="text/javascript" src="stmenu.js"></script>

{$CSS_TEMPCODE}

{+START,IF_PASSED,EXTRA_HEAD}
{EXTRA_HEAD}
{+END}

{$JS_TEMPCODE,header}
</head>

{$,You can use body_inner to help you create fixed width designs; never put fixed-width stuff directory on ".re_body" or "body" because it will affects things like the preview or banner frames or popups}
<body class="re_body" id="main_website"><div id="body_inner">

{+START,IF,{SHOW_TOP}}
<div class="global_top"><div class="float_surrounder">

<a href="{$PAGE_LINK*,:}" rel="home"><img class="logo" src="{LOGOURL*}" title="{!FRONT_PAGE}" alt="{!FRONT_PAGE}" /></a>
<object type="application/x-shockwave-flash" data="/cabeceratop.swf" width="980" height="160">
<param name="movie" value="/cabeceratop.swf" />
</object>
<a accesskey="s" class="accessibility_hidden">{!SKIP_NAVIGATION}</a>

<div class="global_zones">
{+START,IF,{$CONFIG_OPTION,use_custom_zone_menu}}
{$BLOCK,block=side_stored_menu,param=zone_menu,type=zone}
{+END}
{+START,IF,{$NOT,{$CONFIG_OPTION,use_custom_zone_menu}}}
{$BLOCK,block=side_stored_menu,param=_zone_menu,type=zone}
{+END}
</div>
{+START,IF,{$AND,{$HAS_ACTUAL_PAGE_ACCESS,admin,adminzone},{$OR,{$EQ,{$ZONE},adminzone},{$EQ,{$ZONE},cms}}}}
<div class="adminzone_search">
<form action="{$URL_FOR_GET_FORM*,{$PAGE_LINK,adminzone:admin:search}}" method="get" class="inline">
{$HIDDENS_FOR_GET_FORM,{$PAGE_LINK,adminzone:admin:search}}

<div>
<label for="search_content">{!search:SEARCH_FOR}</label>:
<input type="text" id="search_content" name="search_content" value="{+START,IF,{$MATCH_KEY_MATCH,adminzone:admin:search}}{$_GET*,search_content}{+END}" /><input type="submit" value="{!search:SEARCH}" />
</div>
</form>
</div>
{+END}
{+START,IF,{$NOT,{$OR,{$EQ,{$ZONE},adminzone},{$AND,{$HAS_ZONE_ACCESS,adminzone},{$EQ,{$ZONE},cms}}}}}
{$SET,BANNER,{$BANNER}} {$,This is to avoid evaluating the banner parameter twice}
{+START,IF_NON_EMPTY,{$GET,BANNER}}
<div class="global_banner" style="text-align: {!en_right}">{$GET,BANNER}</div>
{+END}
{+END}
</div></div>
{+END}

{$,These are for displaying system errors you hopefully will never see, but they are not fatal to the software - for example, inability to send out an e-mail}
{+START,IF_PASSED,DEFERRED_ERRORS}
<div class="recoverable_errors">
{+START,BOX,{!DEFERRED_ERRORS},,light}
{+START,LOOP,DEFERRED_ERRORS}
<p>{_loop_var*}</p>
{+END}
{+END}
</div>
{+END}

Thanks very much to all!
Back to the top
 
Posted
Rating:
#60711
Avatar

Fan in action

If i understand you right, you wana get ride of the space between the animation and the grenn "Foro"bar.

To do this just delete this line: margin-top:60px; in global css from the .global_zones Element.


Last edit: by alex
Back to the top
 
Posted
Rating:
#60717
Avatar

Well-settled

yes, is it! i wanna delete this space….. thanks for ur help!
i try to do it now!!!!
thanks again!!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: