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.

DIV-Container in IE8 und FF6

Empfohlene Antworten

Veröffentlicht

Guten Morgen,

mir fällt es schwer mein Problem zu beschreiben, ich bitte euch mal einen Blick draufzuwerfen:

post-19359-14430449140214_thumb.jpg

So sieht die Anzeige in IE8 und FF6 aus. Scheint ja nichts ungewöhnliches zu sein, wenn sich beide einig sind. Eigentlich sollte der Text in der Hauptseite schön untereinander stehen. Allerdings bekomme ich dieses "Eck" nicht raus. Wie kann ich das mit CSS beherrschen?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

       "http://www.w3.org/TR/html4/loose.dtd">


<html>

<head>

	<title>Modell</title>

</head>


<style type="text/css">


	#container

	{

		position : absolute;

		left : 10px;

		top : 10px;

		width : 500px;

		border : 1px solid black;

	}


	#links

	{

		position : relative;

		border : 1px solid black;

		width : 100px;

		float : left;

		padding : 3px;

	}


	#main

	{

		position : relative;

		border : 1px solid red;

		width : 385px;

		left : 107px;

		padding : 3px;


	}


</style>



<body>


	<div id="container">

		<div id="links">linke Seite<br />linke Seite<br />linke Seite<br />linke Seite<br />linke Seite<br />linke Seite<br />linke Seite<br />linke Seite<br />linke Seite<br /></div>

		<div id="main">Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br />Hauptseite<br /></div>

	</div>


</body>

</html>

Vielen Dank!

trebstyle

ich habe ein Beispiellayout auf CSS4You gefunden, welches wohl dem entspricht, was du haben willst

du kannst dich ein wenig an dessen Quelltext orientieren (dafür ist das Beispiel ja da)

allerdings solltest du für die Style-Angaben, die in dem Div-Element direkt unter dem Body-Element angegeben sind, eine eigene Klasse oder eine eigene ID anlegen

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.