How can i get everything in my site aligned? i used to use tables years ago and use the <CENTER> tag dont work with CSS below is a screenshot of how it looks at the minute...

[IMG]http://i5.photobucket.com/albums/y161/lochii/websiteimg.gif[/IMG]

Recommended Answers

All 5 Replies

I copied that into my browser and just got a blank screen.

use div container and set css text-align property of it.

thanks danger i'll look into that container tag, still gettin to gips with CSS ^^

To center an image (or other block object) you would use something like:

.centered {
    display: block;
    margin-left: auto;
    margin-right: auto 
}
<IMG class="centered" src="..." alt="..." />
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.