|
This is my CSS code: .navibar{ position:relative; top: 24; text-align: center; } .page{ position: absolute; height:500; width: 900; border: 2px solid #79EB00; background: EBEBEB; left:182; top:81.44; } How do i center .navibar? (.navibar is a I love programming so much i have been looking it up for 4 hours! im using Chrome on a mac. Have not tested it on anything else. If your wondering, this is just a practise site for my blog i may make. Yes, i know "TRY IT IN ANOTHER BROWSER." but if it don't work in Chrome then i need the code for it to work in Chrome. Any one know? Just a reminder: How do i center my: < div > < img >'s ?Thanks people of Lockergnome. |
|
Here are something http://www.w3schools.com/tags/att_div_align.asp Your a god. W3schools are just wrong on the both of them for some reason. first 2 links don't work. But THE LAST ONE DOES! YAYAYAYAY!Google is your Friend But wait! Sadface! When i have centered the image and i move my div (That has position:relative;) it moves up the images that i just centered (the images also have a position:relative;). D; How can i fix this? Usualy i can move images and divs on top of each other without them moving at all. |
