Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

3 spaltiges, festes layout

Empfohlene Antworten

Veröffentlicht

Hallo, versuche nun ein 3 spaltiges layout zu erstellen, welches insgesamt 900px breit ist und immer zentriert sein soll. so weit so gut, nur bekomme ich die einzelnen spalten nicht wirklich nebeneinander und da ich in sachen css verschlafen habe, bitte ich euch um hilfe...

so solls aussehen:

http://eth-clan.com/sosollssein.png

das ist der bisherige code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">

<html>

<head>

<title>gewsgewsg</title>

<style type="text/css">	

body {

	margin:0;

	padding:0px;

}

#container {

	width: 900px;

	margin: 0 auto;

	padding: 0px;

}

#left {

	width:200px;

	background:#ede;

}

#center {

	background:#cdc;

}

#right {

	width:160px;

	background:#dddddd;

}

#header {

	background:#eee;

	height:100px;

}

h1 {

	font-size:14px;

}

</style>

</head>

<body>

<div id="container">

	<div id="header"><h1>HEADER!!!</h1></div>

	<div id="left">

		<h1>left</h1>

	</div>

	<div id="center">

		<h1>center</h1>

	</div>

	<div id="right">

		<h1>right</h1>

	</div>

</div>

</body>

</html>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">

<html>

<head>

<title>gewsgewsg</title>

<style type="text/css">

body {

	margin:0;

	padding:0px;

}

#container {

	width: 900px;

	margin: 0 auto;

	padding: 0px;

}

#left {

	width:200px;

	background:#ede;

	float: left;

}

#center {

	background:#cdc;

	margin: 0;

	margin-left: 200px;

	margin-right: 160px;

}

#right {

	width:160px;

	background:#dddddd;

	float: right;

}

#header {

	background:#eee;

	height:100px;

}

h1 {

	font-size:14px;

}

</style>

</head>

<body>

<div id="container">

	<div id="header"><h1>HEADER!!!</h1></div>

	<div id="left">

		<h1>left</h1>

	</div>

	<div id="right">

		<h1>right</h1>

	</div>

	<div id="center">

		<h1>center</h1>

	</div>  

</div>

</body>

</html>

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.