CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 6th, 2013, 12:35 PM
Pascal90 Pascal90 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2013
Posts: 2 Pascal90 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 47 sec
Reputation Power: 0
Webseite moving to the side

Hello,

I am working on a Joomla website and I noticed that on some occasions my hole side is moving slightly to the side.
What I mean is the middle part just moves a couple of px to the side when I switch on some sub pages

As example if go on http://awbg.gieseke-lemfoerde.de/index.php/unser-angebot/privatkunden/ihr-vorteil-unser-service

and than press in the right Menu the Home Button you will see what I mean.

I hope someone can please tell me how to fix this.
Thx for your help in advanced

This is my template css code
Code:
.componentheading {
  
  font-size:20px;
  }
  

.contentheading {

  font-size:20px;
  color:#77aa35;
  padding-right: 15px;
  text-shadow:#333 4px 4px 4px;
  margin-right:15px;
}

.contentheading a {

}

body {
  font: 80%/1.4 Verdana, Arial, Helvetica, sans-serif;
  background-color:  #F0FFFF;
  margin: 0;
  padding: 0;
  color: #000;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { 
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
  padding-right: 15px;
  padding-left: 15px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
a img { 
  border: none;
}


a:link {
  color: #909090;
  text-decoration: underline; 
}
a:visited {
  color: #6E6C64;
  text-decoration: underline;
}
a:hover, a:active, a:focus { 
  text-decoration: none;
}


/* ~~this fixed width container surrounds the other divs~~ */
.container {
  width: 960px;
  background-color: #FFF;
  margin: 0 auto; 
}

.logo {
  width: 215px;
  height: 137px;
  float: left;
}

.headerTop {
  width: 745px;
  height: 50px;
  float: right;
}

.headerBottem {
  width: 745px;
  height: 30px;
  float: right;
}

.sidebar1 {
  width: 215px;
  padding-bottom: 10px;
  float: left;
}
.content {
  padding: 10px 0;
  width: 745px;
  float: right;
}

.textlauf {
  padding: 0px 0;
  width: 745px;
  float: right;
} p.adr { color:#ffffff; }



/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol { 
  padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}

/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
  list-style: none; /* this removes the list marker */
  border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
  margin-bottom: 15px; /* this creates the space between the navigation on the content below */
}
ul.nav li {
  border-bottom: 1px solid #666; /* this creates the button separation */
}
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
  padding: 5px 5px 5px 15px;
  display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
  width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
  text-decoration: none;
  background-color: #C6D580;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
  background-color: #ADB96E;
  color: #FFF;
}

/* ~~ The footer ~~ */
.footertop{
  padding: 2px 0;
  position: relative;
  clear: both;
  height: 0px;
  background-color:  #c1c1c1;
}

.footer{
  padding: 10px 0;
  position: relative;
  clear: both;
  background-color:  #FFFFFF;
}

.footerright {
  position: relative;
  width: 745px;
  height: 80px;
  float: right;
  background-color:  #FFFFFF;
}

.footerleft {
  padding-top: 5px;    width: 215px;
  height: 80px;
  float: left;
  position: relative;
  font-size:80%;
  background-color:  #282E7D;  
}

/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
  float: right;
  margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
  float: left;
  margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
  clear:both;
  height:0;
  font-size: 1px;
  line-height: 0px;
}



This is the html/php from my template

Code:
<?php defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!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>
<jdoc:include type="head"/>
<link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/template.css" type="text/css"/>
<link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/navigation.css" type="text/css"/>
<link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/components.css" type="text/css"/>
</head>

<body>
<div class="container">

  <div class="logo">
  <img src="/images/AWBG_small.png" width="215" height="137" alt="Logo" /></div>
  <div class="headerTop">
       <jdoc:include type="modules" name="headerTop" style="xhtml"/>
  </div>
  <div class="headerBottem">
         <jdoc:include type="modules" name="headerBottem" style="xhtml"/>
  </div>
  
   <div class="textlauf">
      <jdoc:include type="modules" name="textlauf" style="xhtml"/></div>
<div class="content">
  <jdoc:include type="message"/>
  <jdoc:include type="component"/>
  </div>
    
  <div class="sidebar1">
    <jdoc:include type="modules" name="navigation" style="xhtml" />
  <img src="/images/sidebarende.png" alt="sidebarend"/>
  </div>
  
 <div class="footer">
  <div class="footertop"></div>
   <div class="footerright">
  <jdoc:include type="modules" name="footer" style="xhtml"/>
   </div>
    <div class="footerleft">
  <p class="adr"><a href="https://maps.google.com/maps?q=Gut-Steinbrink-Stra%C3%9Fe+8,+Stemwede,+Germany&hl=en&ie=UTF8&ll=52.405175,8.397557&spn=0.005092,0.005751&sll=52.4167,8.43333&sspn=0.325823,0.368042&t=h&hnear=Gut-Steinbrink-Stra%C3%9Fe+8,+Arrenkamp+32351+Stemwede,+Detmold,+Nordrhein-Westfalen,+Germany&z=17&iwloc=r0" target="_blank">Ihr Weg zu uns!</a><br/>	Mo-Fr. 8:00 - 17:00 Uhr<br/>
    Tel: 05474-2056-0<br />	Fax: 05474-2056-20<br/>
    Email: <a href="mailto:info@awbg.de">info@awbg.de</a></p>
       <br/>
    </div>
 </div>

</div>
</body>

</html>


Reply With Quote
  #2  
Old March 6th, 2013, 01:16 PM
Pascal90 Pascal90 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2013
Posts: 2 Pascal90 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 47 sec
Reputation Power: 0
Ok, the problem is kind of solved. The page is moving bc of the scrollbar from the browser

Reply With Quote
  #3  
Old March 6th, 2013, 07:08 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,831 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 1 Day 19 h 39 m 3 sec
Reputation Power: 4192
Welcome to DevShed Forums, Pascal90.

Congratulations on finding the solution and thanks for posting it.
__________________
Spreading knowledge, one newbie at a time. I'm available for hire at Dynamic Site Solutions.

Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

Remember people spend most of their time on other people's sites (so don't violate web design conventions).

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Webseite moving to the side

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap