Link im Content und CSS wird nicht geladen

Moderator: General Support Moderators

Forum rules
Forumregeln
Locked
bnny
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Feb 19, 2009 8:16 pm

Link im Content und CSS wird nicht geladen

Post by bnny » Thu Feb 19, 2009 8:27 pm

Hallo erstmal,

ich bin seit Tagen auf der Suche nach einer Lösung für folgendes Problem:

Sobald ich einen Link einfüge, z. B. in einen Artikel o. ä. wird anscheinend die CSS nicht mehr geladen. Sieht dann so aus, dass ich den Link ganz normal einfüge. Im Artikel selbst ist der Link dann blau und unterstrichen. Wäre an und für sich nicht so tragisch doch leider sind dann die restlichen Formatierungen in der Navi etc. auch weg und ebenfalls blau bzw. lila.

Kennt jemand dieses Problem und gibt's dafür eine Lösung?

Version: 1.0.15

Hier noch die .css und die index.php

Code: Select all

/*layout CSS */
body {
text-align:center; /*center hack*/
min-width:1100px;
padding:0;
margin:0;
}

#wrapper {
margin:0 auto; /*center hack*/
text-align:left; /*center hack*/
}

.width_800{
max-width:780px;
width:780px;
}

.width_1024{
min-width:910px;
max-width:1000px;
width:auto !important;
width:1000px;
}

.width_fluid{
min-width:1100px;
max-width:1100px;
width:auto!important;
width:1100px;
}

#heading{
width:100%;
position:relative;
padding:16px 0px 0px 0px;
}
#heading h1{
font-size:26px;
font-family:"Myriad pro", "Myriad Web", Geneva, Arial, Helvetica, sans-serif;
text-transform:uppercase;
color:#fff;
margin:0 0 0 27px!important;
padding:0 !important;
}
#heading h1 a{
color:#fff;
font-weight:normal;
}
#heading h1 a:hover{
text-decoration:none;
}
a#sitename1{
display:block;
width:258px; /* maximum 500px */
height:52px; /* maximum 68px */
text-indent:-2000px;
background:url(../images/logo.png) top left no-repeat;
}

#buttons{
position:absolute;
right:23px;
top:40px;
}
a#alarge.btnicon{
margin-right:8px;
}
a#asmall.btnicon{
margin-right:16px;
}
.btnicon{
float:left;
text-indent:-2000px;
width:10px;
height:23px;
margin-right:6px;
}

a#alarge{
background:url(../images/alarge.png) top left no-repeat;
}

a#amedium{
background:url(../images/amedium.png) top left no-repeat;
}

a#asmall{
background:url(../images/asmall.png) top left no-repeat;
}

#header{
margin-top:30px;
background:#2f2f2f url(../images/headerbg_m.jpg) top left repeat-x;
color:#fff;
}

#header .bgbl{
background:url(../images/headerbg_bl.jpg) no-repeat;
background-position:15px 100%;
height:auto!important;
height:100px;
min-height:100px;
padding:0px 24px 26px 24px;
position:relative;
}

#user3{
display:block;
position:relative;
height:40px;
}
#user3 .moduletable{
margin:0;
}

#header #top{
max-height:200px;
overflow:hidden;
}

#header #top a{
text-decoration:underline;
}

#header #top a:hover{
color:#fff;
}

#header #top .moduletable{
padding-top:6px;
position:relative;}

#header #top .moduletable h3{
background-position:0px 10px;
position:relative;
padding:4px 0 6px 25px;
margin:3px 0;
}
#header #top .moduletable td{
color:#fff;
}
#user4 {
position:absolute;
right:0;
top:-26px;
background:url(../images/user4bg-l.jpg) top left no-repeat;
padding-left:38px;
color:#000;
z-index:1000;
}

#user4 .bgright4{
background:url(../images/user4bg-r.gif) top right no-repeat;
padding-right:18px;
}

#user4 .bg4{
background:url(../images/user4bg.jpg) top left repeat-x;
padding:5px 12px 5px 10px;
}
#user4 .moduletable, #user4 form, #user4 input{
margin:0;
padding:0;
}

#container{
padding-left:18px;
position:relative;
}
#container .bgright{
padding-right:18px;
margin:0!important;
margin-right:1px;
}
#container .bg{
background:#fff url(../images/containerbg_m.png) top left repeat-x;
}

#container .bg{
padding:12px 24px 0px 24px;
}
#content, #breadcrumbs{
position:relative;
width:100%;
}
#breadcrumbs{
padding-bottom:6px;
background:url(../images/bg-breadcrumbs.png) bottom left repeat-x;
margin-bottom:9px;
}
.leftcol, .middle, .rightcol{ overflow:hidden;}
.leftcol, .rightcol{
width:205px;
}
.leftcol{
float:left;
margin-left:-100%;
background:#fff url(../images/sidebg-b.png) bottom left no-repeat;}

.rightcol{
float:left;
margin-left:-205px;
background:#fff url(../images/sidebg-b.png) bottom left no-repeat;}

.leftcol .bgtop, .rightcol .bgtop{
background:url(../images/sidebg-t.png) top left no-repeat;
padding:1px 1px 20px 1px;
}
.middlewrap{
float:left;
width:100%;
}

.middle{
background:#fff url(../images/middlebg-l.jpg) top left no-repeat;
padding-left:11px;

}
#middlenarrow{
margin:0 209px;}
#middlewide{
margin:0;
}
#middlewrapleftonly{
float:right;
width:100%;
margin-left:-209px;
}
#middleleftonly{
margin:0 0 0 209px;}
#leftleftonly{
margin:0;
}

#middlewraprightonly{
float:left;
width:100%;
margin-left:-209px;
}
#middlerightonly{
margin:0 0 0 209px;}
#rightrightonly{
float:right;
margin:0;
}

.middle .middlebg{
background:#fff url(../images/middlebg-r.jpg) top right no-repeat;
padding:16px 16px 16px 5px;
min-height:400px;
height:auto!important;
height:400px;
}

.middle h1, .middle .componentheading{
background:url(../images/dotted.gif) bottom left repeat-x;
margin-bottom:0.3em;
}
.middle ul li{
background-position:0px 0px;
padding:1px 0px 5px 24px;
margin-left:10px;
}
.middle ul ul{
list-style-type:square;
margin-bottom:0;
}
.middle ul ul li{
background:none;
padding:0;
}
.middle ol{
margin-left:30px;
padding:0;
}

.middle ol li{
margin:0;
padding:0;
}


#banner .moduletable, #footermodule .moduletable{
padding:0;
text-align:center;
}

#user1{
float:left;
width:49.5%;
overflow:hidden;
}
#user2{
float:right;
width:49.5%;
overflow:hidden;
}
#bottom {
border-top:#cdcdcd 1px solid;
margin-top:16px;
}
#bottom .bottombg{
clear:both;
background:#f4f4f3 url(../images/bottombg.png) bottom left repeat-x;
padding:18px 0px;
position:relative;
width:100%;
border-top:#fff 1px solid;
}
#bottom .moduletable{
padding:0px 16px;
}
#bottom .moduletable h3{
background:none;
margin:0;
font-size:15px;
text-transform:uppercase;
}
ul.mostread, ul.latestnews{
padding:0;
margin:0;
}
a.mostread, a.latestnews{
background:url(../images/icon_author_bottom.gif) no-repeat;
background-position:0px 1px;
padding-left:18px;
}
#bottom li.mostread, #bottom li.latestnews{
padding:3px 0;
border-top:#fff 1px solid;
}
#bottom li a{
color:#666666;
}
#bottom li a:hover{
text-decoration:none;
}
#footer {
clear:both;
color:#fff;
background-color:#777;
padding:6px 0px;
margin:16px 0;
position:relative;
width:100%;
text-align:center;
}
#footer a{
font-weight:normal;
color:#ccc;}

#footer a:hover{
color:#fff;
text-decoration:none;
}

#footer .footerleft{
float:left;
padding-left:16px;
}

#footer .footerleft img{
vertical-align:middle;
}

#footer .footerright{
float:right;
padding-right:16px;
}

#reflection-l{
position:relative;
height:54px;
margin-left:-44px;
margin-right:-44px;
padding-left:16px;
}

#reflection-r{
height:54px;
padding-right:16px;
}
#reflection{
height:54px;
}
/*global reset*/

html, body, h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address  {
	margin: 0;
	padding: 0;
}
body {
font-size:12px;
font-family:Arial, Helvetica, sans-serif;
line-height:18px;
}
h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address {
margin: 0.5em 0; 
}

fieldset { 
padding:.5em; 
border:0;
}

/*general*/
ul{
list-style:none;
}
p, td{
font-size:10px;
}
li p{
margin:0;
}
a img{
border:0 none;
}

a{
text-decoration:none;
font-weight:bold;
}
a:hover{
text-decoration:underline;
}
a:active, a:focus{
outline:none;
}

h1,.componentheading{
font-size:20px;
font-weight:normal;
margin:0;
padding-bottom:0.12px;
}
h2,.contentheading{
font-size:17px;
font-weight:bold;
font-family:Helvetica, Arial, sans-serif;
letter-spacing:-0.02em;
}
h3{
font-size:15px;
font-weight:bold;
}
h4{
font-size:13px;
font-weight:bold;
}
h5{
font-size:13px;
font-weight:bold;
}
h6{
font-size:12px;
font-weight:bold;
}
#footer,.small,.createdate,.modifydate,.mosimage_caption{
font:11px Arial,Helvetica,sans-serif;
}
.moduletable, .moduletable_menu, .moduletable_text{
margin-bottom:12px;
padding:0 10px; /*padding for inside text*/ 
}
.moduletable h3, .moduletable_menu h3, .moduletable_text h3{
padding:0.5em 0.5em 12px 0.5em;
margin:0 -10px 0.5em -10px; /*negative padding to pull h3 back out from .moduletable padding*/ 

}

.clear{
clear:both;
}

/*search */

.search input{/* the input textarea box */
background:url(../images/searchbg.png) top left no-repeat;
border:0;
height:18px;
font-size:11px;
width:182px;
}
.search #mod_search_searchword{
padding:2px 0 0 10px;
}

/*joomla*/

#user3 ul{
margin:0; 
padding:0;
width:auto;
}
#user3 ul li{
margin:0; 
padding:0;
float:right;
height:40px;
}
#user3 ul li a{
color:#d0d0d0; 
text-transform:uppercase;
padding:10px;
display:block;
background:url(../images/topmenu-vline.jpg) no-repeat;
background-position:0px 2px;
}
#user3 ul li a:hover{
text-decoration:none;
}
ul.menu a, a.mainlevel{
font-size:13px;
color:#7EB405;
font-weight:bold;
display:block;
background:url(../images/arrow_mainlevel.png) no-repeat;
background-position:3px 9px;
border-bottom:#eee 1px solid;
padding:4px 4px 4px 16px;
margin-right:13px;
}
ul.menu a:hover, a.mainlevel:hover{
text-decoration:none;
}
li#current a, a#active_menu.mainlevel{
font-weight:bold;
}
li#current li a{
color:#2a2929;
font-weight:bold;
background:url(../images/arrow_sub.png) no-repeat;
background-position:4px 10px;
border:none;
}


table.pollstableborder td{
padding:0.2em;
}


.button{
color:#fff;
font-size:13px;
font-weight:bold;
margin:3px 0;
padding:1px 5px;
border:none;
}

* html .button {
	padding: 0px 2px !important; /*IE 6*/
}

*+html .button {
	padding: 0px 2px !important; /*IE 7*/
}

.small, .articleauthor, .createdate, .modifydate{
color:#8a8a8a;
}

.articleauthor, .createdate, .modifydate{
padding-left:18px;
}

.articleauthor{
background:url(../images/icon_author.gif) top left no-repeat;
}

.createdate{
background:url(../images/icon_date.gif) top left no-repeat;
display:block;
padding-bottom:12px;
}

.modifydate{
background:url(../images/icon_updated.gif) top left no-repeat;
padding-bottom:12px;
}

div.banneritem_text{
padding:0.5em 0;
background:url(../images/dotted.gif) bottom left repeat-x;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	background:url(../images/dotted_v.gif) top left repeat-y;
	padding-left: 10px;
}

table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

td.buttonheading{
text-align:right;
}

div.buttonheading {
	float: right;
	width: 15%;
}

.buttonheading img {
	margin: 0;
	border: 0;
	float: right;
}

table.pollstableborder td{
text-align:left;
}

/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.img_caption       { padding: 0 10px 0 10px; }
div.img_caption img   { border: 1px solid #dedede; }
div.img_caption p     { font-size: .90em; color: #666; text-align: center; }

Code: Select all

<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
	initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/green.css" type="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/alarge.css" rel="alternate stylesheet" type="text/css" media="screen" title="alarge"/>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/amedium.css" rel="alternate stylesheet" type="text/css" media="screen" title="amedium"/>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/asmall.css" rel="alternate stylesheet" type="text/css" media="screen" title="asmall"/>
<script src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/styleswitcher.js" type="text/javascript"></script>
<?php 
if(!mosCountModules("left")&&!mosCountModules("right")){ $contentwidth="wide"; }
if(mosCountModules("left")&&!mosCountModules("right")){ $contentwidth="leftonly";}
if(mosCountModules("right")&&!mosCountModules("left")){ $contentwidth="rightonly";}
if(mosCountModules("left")&&mosCountModules("right")) {$contentwidth="narrow"; }
?>
<!--[if lte IE 6]>
<style type="text/css"> 
a#sitename1, a.btnicon{
	behavior: url("templates/<?php echo $mainframe->getTemplate(); ?>/js/iepngfix.htc");
}
</style> 
<![endif]-->
</head>

<body>
<div id="wrapper" class="width_fluid">
	<div id="heading"> 
	   <div id="buttons">
	     <p>&nbsp;</p>
       </div>
	</div>
	<div id="header"><div class="bgleft"><div class="bgright"><div class="bgbl">
		<?php if(mosCountmodules("user3")){ ?>	
		<div id="user3"><?php mosLoadmodules("user3",-1)?></div><!--user3-->
		<?php } ?>
		<?php if(mosCountmodules("top")){?>	
		<div id="top">
		<?php mosLoadmodules("top",-2)?>
		</div><!--top-->
		<?php } ?>
		
	</div></div></div></div><!--header-->
	
	<div id="container"><div class="bgright"><div class="bg">
	  <?php if(mosCountmodules("user4")){ ?>	
	  <div id="user4"><div class="bgright4"><div class="bg4">
	  <?php mosLoadmodules("user4",-1)?>
	  </div></div></div><!--search-->
	  <?php } ?>
	  <div id="breadcrumbs">
		Sie befinden sich hier<img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/arrow.png" alt="arrow"/> <?php mosPathway() ?>
	  </div>
	  <div id="content">
	  	<div class="middlewrap" id="middlewrap<?php echo $contentwidth; ?>">
	  	   <div class="middle" id="middle<?php echo $contentwidth; ?>"><div class="middlebg">
			 <div id="component"><?php mosMainbody() ?></div>
		   </div></div>
		</div>
	<?php if(mosCountmodules("left")){ ?>	
		<div class="leftcol" id="left<?php echo $contentwidth; ?>"><div class="bgtop">
			<?php mosLoadmodules("left",-2)?>
		</div></div>
	<?php } ?>	
	<?php if(mosCountmodules("right")){ ?>	
		<div class="rightcol" id="right<?php echo $contentwidth; ?>"><div class="bgtop">
			<?php mosLoadmodules("right",-2) ?>
		</div></div>
	<?php } ?>
		<div class="clear"></div>
	  </div><!--content-->
	<?php if(mosCountmodules("user1")||mosCountModules("user2")){ ?>
	  <div id="bottom"><div class="bottombg">
	     <?php if(mosCountmodules("user1")){ ?>
	     <div id="user1">
		    <?php mosLoadmodules("user1",-2)?>
		 </div>
		 <?php } ?>
		 <?php if(mosCountmodules("user2")){ ?>
		 <div id="user2">
		    <?php mosLoadmodules("user2",-2)?>
		 </div>
		 <?php } ?>
		 <div class="clear"></div>
	  </div></div><!--bottom-->
	<?php } ?>
	  <div id="footer">
	 	<?php mosLoadmodules("footer",-1) ?>Copyright 2009 LifeVital.net | A & A Einzelhandel und Vertriebs GbR | Design by <a href="http://www.redevolution.com" target="_blank" title="Red Evolution - Ethical SEO and Web Development Professionals">Red Evolution</a>
	  </div>
	  <div id="reflection-l"><div id="reflection-r"><div id="reflection"></div></div></div>
	</div></div></div><!--container-->
</div><!--wrapper-->

</body>
</html>
Vielen Dank schonmal :)

boyonthedocks
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 221
Joined: Thu Feb 05, 2009 5:43 pm
Location: Dortmund
Contact:

Re: Link im Content und CSS wird nicht geladen

Post by boyonthedocks » Fri Feb 20, 2009 8:28 am

Hi,

gibt es da nen Link hin? Ist dann wesentlich leichter nachzuvollziehen.

bnny
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Feb 19, 2009 8:16 pm

Re: Link im Content und CSS wird nicht geladen

Post by bnny » Fri Feb 20, 2009 1:28 pm

Jo klar, ganz vergessen :-[

http://lifevital.net

und hier z. B. mal mit dem Fehler (pdf download im Artikel):
http://lifevital.net/index.php?option=c ... 5&Itemid=1

Danke schonmal

User avatar
StephanK
Joomla! Explorer
Joomla! Explorer
Posts: 292
Joined: Fri Aug 19, 2005 2:10 pm
Location: Germany - Eppelheim
Contact:

Re: Link im Content und CSS wird nicht geladen

Post by StephanK » Sun Feb 22, 2009 7:27 am

Hi bnny,

ich vermute mal das du die Texte aus Word kopiert hast.

Schau mal hier: http://www.joomlaportal.de/allgemeine-f ... farbe.html

bnny
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Feb 19, 2009 8:16 pm

Re: Link im Content und CSS wird nicht geladen

Post by bnny » Sun Feb 22, 2009 11:23 am

Hi StephanK,

du bist meine Rettung. Hab bisher tatsächlich alles per von Word eingefügt :-[

Vielen Dank für deine Hilfe, bist meine Rettung :)


Locked

Return to “Template, CSS und Designfragen 1.0.x”