weniger Eigenkapital

Magazine
Go Back   Computer-Saft > Computer Software > Web Design, Hosting & SEO

Register


 Default 

Automatische Größenänderung DIV




Reply
 
Thread Tools
  #1  
Old 5. Juni 2009, 15:02
Neues Mitglied Fraktion
 
Default Automatische Größenänderung DIV

Ok, also hier ist die Situation. Ich habe eine Seite mit einem div auf der Seite, oben und unten. Die div auf der Seite liegt auf der linken Seite auf 225px. Die div auf 25px ist, und die div unten ist 20px. Was ich will ist ein div in der Mitte von ihnen allen, und deshalb ist die Größe (und scrollbare) basiert auf dem Besucher-Browser Größe.
Was habe ich funktioniert, aber nicht navigieren, und ist nicht der richtige Breite, damit ich alle meine Inhalte Center in sie. Die nur mit der Breite des Browsers, sondern stieß ein wenig über die Marge, so dass ihr tatsächlich ein wenig in der Seitenleiste unter.

Eine schnelle Skizze von dem, was ich hier habe, ist in den Anlagen.

Irgendwelche Ideen?

Key:
Menü oben.
bottom_menu ist der untere Menü.
Inhalt ist der Teil Ich brauche Hilfe bei der, in der Mitte.
Seitenleiste ist, was auf der Seite.

CSS:
Code:
@ charset "UTF-8";
/ * CSS Document * /

html **
height: 100%;
)

img
**
border-style: none;
color: # FFF;
text-align: center;
)

Stelle **
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
background-color: # 000;
)

. Seitenleiste **
background-image: url (.. / images / sidebar / background.png);
background-repeat: repeat-y;
width: 225px;
min-height: 100%;
Position: fixed;
top: 25px;
left: 0px;
overflow: hidden;
padding-left: 5px;
padding-top: 5px;
font: 12px Helvetica, Arial, sans-serif;
color: # 666;
z-index: 1;
)

. Menü **
background-image: url (.. / images / top_menu / background.png);
background-repeat: repeat-x;
width: 100%;
height: 25px;
Position: fixed;
top: 0px;
left: 0px;
overflow: hidden;
padding-left: 5px;
)

. Inhalt **
width: 100%;
top: 25px;
height: 100%;
overflow: hidden;
Position: fixed;
padding-left: 5px;
padding-top: 5px;
background-color: # FFF;
margin-left: 112px;
font: 14px Helvetica, Arial, sans-serif;
)

. bottom_menu **
background-image: url (.. / images / bottom_menu / background.png);
background-repeat: repeat-x;
width: 100%;
height: 20px;
Position: fixed;
bottom: 0px;
left: 0px;
overflow: hidden;
padding-left: 5px;
z-index: 2;
font: 12px Helvetica, Arial, sans-serif;
)
HTML (DIV Platzierung):
Code:

INHALT in der Seitenleiste

INHALT IN TOP MENU

Inhalt In Bottom menu

INHALT im Content
Reply

Register

Lesezeichen

Ähnliche Themen
Faden Thread Starter Forum Antworten Last Post
Powerpoint 2007 Resizing Text selbst! xactly Office Suites & Applications 2 27. November 2009 16:27
Windows-PC Abmelden automatisch Tinkerbell General Software Chat 7 3. Februar 2009 04:40
Bild Größenänderung Programm? pete21 Multimedia & Codecs 3 26 Januar 2009 03:47
Hängende Computer automatisch sherytiger Allgemein Hardware Chat 28 9 Apr 2008 09:19
Forum Größenänderung Athlon Community News & Chat 1 4. Oktober, 2006 08:38
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright © 2006 - 2009 Computer-Saft.

Powered by vBulletin ® Copyright © 2000 - 2009 Jelsoft Enterprises Ltd SEO by vBSEO © 2009, Crawlability, Inc.