zurück zur Startseite
  


Zurück XHTMLforum > (X)HTML und CSS > CSS
Seite neu laden text verschiebt sich in anderen browsern

Antwort
 
LinkBack Themen-Optionen Ansicht
  #1 (permalink)  
Alt 16.01.2008, 10:00
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 16.01.2008
Beiträge: 34
mol66 befindet sich auf einem aufstrebenden Ast
Standard text verschiebt sich in anderen browsern

Hallo zusammen, bin neu hier und baue eine site in css und das Problem ist das der text sich in firefox anders darstellt wie im explorern.
Hoffe die Frage ist nicht zu dumm, schmunzel

Code:
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Mediencenter</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.Stil1 {color: #990000}
-->
</style>
</head>
<body>
<div align="center"><img src="images/img1.jpg" alt="" width="1279" height="171" /></div>
<div id="left">
	<div id="menu" class="boxed">
		<h2 class="heading">&nbsp;</h2>
		<ul>
			<li class="first"><a href="#" title="">Home</a></li>
			<li><a href="#" title="">Leistungen</a></li>
			<li><a href="#" title="">Computerservice</a></li>
			<li><a href="#" title="">Webdesign</a></li>
			<li><a href="#" title="">Impressum</a></li>
			<li><a href="#" title="">Support</a></li>
		</ul>
	</div>
</div>
<!-- end #left -->
<div id="right">
	<div class="boxed">
		<h2 class="heading">&nbsp;</h2>
		<h2 class="heading">Partner</h2>
		<ul><li>Medienagentur-Pk.de</li>
		</ul>
	</div>
</div>
<!-- end #right -->
<div id="center">
	<div class="boxed">
		<h1 class="heading">&nbsp;</h1>
		
		<h1 class="heading Stil1">Willkommen auf unserer IntenetprÄsenz </h1>
	  <p class="box" align="left">Als Medienagentur für kommunikative Lösungen bieten wir Ihnen alles,</br>
		 was Sie für den Webauftritt Ihres Unternehmens benötigen:<br />
		  Konzeption, Gestaltung, Text oder Datenbankverwaltung -  für jede</br> Plattform                                    und in allen Formaten. Als Ihr kompetenter Partner </br>gestalten wir den Einstieg                                    in die web-basierte Kommunikation </br>Ihres Unternehmen so einfach wie möglich.</p>
		<p align="justify">Mit individuellen Konzepten und kundenorientierten Lösungen können</br> wir von                                    Mediencenter-RL uns behaupten und damit das Vertrauen </br>unserer Kunden gewinnen.                                    Darauf bauen wir - auch in Zukunft.</p>
	</div>
</div>
<!-- end #center -->
<div style="clear: both;">&nbsp;
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</div>
<div id="footer">
	<p id="legal">&nbsp;</p>
	<p id="links">&nbsp;</p>
	<p>Copyright &copy; 2007 .</p>
</div>

<div style="font-size: 0.8em; text-align: center; margin-top: 1.0em; margin-bottom: 1.0em;"></div>
</body>
</html>
PHP-Code:
* {
    
margin0;
    
padding0;
}

body {
    
background#FFFFFF url(images/img1.jpg) repeat-x;
    
font-family"Trebuchet MS"ArialHelveticasans-serif;
    
font-size13px;
    
color#666666;
}

h1h2h3 {
    
color#000000;
}

pblockquoteulol {
    
margin-bottom1.8em;
    
line-height180%;
}

{
    
color#000000;
}

a:hover {
    
text-decoration:none;
    
    
    
}

.
boxed {
    
padding20px;
    
background:;
}

.
heading {
    
margin-bottom40px;
    
text-transformuppercase;
    
letter-spacing3px;
    
font-size12px;
}

/* Header */

#header {
    
width1024px;
    
height180px;
    
text-aligncenter;
    
background-repeatno-repeat;
    
margin-top0;
    
margin-rightauto;
    
margin-bottom0;
    
margin-leftauto;
}

#header a {
    
text-decorationnone;
    
text-transformuppercase;
    
color#000000;
}

#header h1 {
    
padding-top50px;
    
letter-spacing4px;
    
font-size36px;
    
width:1024px;
}

#header h2 {
    
letter-spacing8px;
    
font-size14px;
    
width:1024px;
}

/* Columns */

#left {
    
floatleft;
    
width240px;
    
margin-left10px;
}

#right {
    
floatright;
    
width220px;
    
margin-right10px;
}

#left ul, #left ol, #right ul, #right ol {
    
list-style-positioninside;
}

#left li, #right li {
    
margin-bottom1.5em;
}

#center {
    
margin0 240px 0 260px;
}

#center ul, #center ol {
    
margin-left3em;
}

/* Footer */

#footer {
    
backgroundurl(images/img3.jpgrepeat-x;
    
text-aligncenter;
    
font-size77%;
    
color#000000;
}

#legal {
    
margin0;
    
padding20px 0 0 0;
    
line-heightnormal;
}

#links {
    
margin0;
    
padding20px 0;
    
line-heightnormal;

Mit Zitat antworten
Sponsored Links
Antwort

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
DIV bis GANZ unten burnZ CSS 5 27.07.2008 13:14
Float-Bilder im Fließtext an Absatz binden netAction CSS 17 19.02.2008 15:18
Problem mit div und Höhe deep4 CSS 2 13.11.2007 20:03
Falsche Darstellung beim Internet Explorer LordAvalon CSS 4 09.04.2007 16:22
CCS Problem mit <div>s dope_dope CSS 8 03.10.2005 19:32


Alle Zeitangaben in WEZ +2. Es ist jetzt 10:58 Uhr.