Jump to content
View in the app

A better way to browse. Learn more.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

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.

html/css IE 6.0 align probleem

ik heb een probleem met de container div die in IE 6.0 niet in het midden wil staan.

in firefox gebruik ik altijd: margin: 0px auto; ervoor maar die wil hij niet pakken in IE 6.0, en ik heb ook al text-align: justify; gebruikt maar dat geeft hetzelfde probleem.

hier de css code

.container{
width: 900px;
height: 100%;
margin: -10px auto;
text-align: justify;
text-indent: 5px;
}

en hier de uitkomst:

IEvoorbeeld.jpg

Featured Replies

Helpt tekst-align: center niet? Dat zou ervoor moeten zorgen dat het in het midden staat. Ik weet het niet zeker, maar ik zou zelf voor margin aangeven of het een left of top-margin is, aangezien je dat nu niet hebt aangegeven (ik weet niet zeker of en hoe het werkt, maar het is wel handiger als je het later opnieuw gaat bewerken).

Doet de code het wel goed in Internet Explorer 7 en/of Firefox 2? Zo ja, dan zou ik dit gewoon laten voor wat het is, aangezien IE6 nu wel begint te verouderen. :)

Edited by Thundercover

  • Author

ik ben nu me IE 6.0 aan het updaten en ga ik kijken of hij het in IE7.0 doet en als hij het doet zeg ik het wel.

edit: in IE 7.0 doet hij het ook niet helaas :-(

edit 2: ik heb het voor elkaar om in de body van het css text-align: center; te zetten

Edited by Dead-Dodo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

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.