Image Centering |
Image Centering |
Jack!!! |
Apr 4 2007, 02:51 AM
Post
#1
|
Group: Members Posts: 2 Joined: 4-April 07 Member No.: 2,420 |
How can I center an image? I mean... I want an image in the center of the screen. align="center" is not enough.
|
JamieHarrop |
Apr 4 2007, 07:18 AM
Post
#2
|
Advanced Member Group: WDG Moderators Posts: 129 Joined: 25-October 06 From: West Yorkshire, UK Member No.: 570 |
Are you referring to vertically and horizontally centering the image, or just horizontally?
If the aforementioned, you'll want to take a look at Dead Centre. If the latter, you'll probably need to put the image inside a container (Such as <div>) which is set to 100% width, and then use "text-align: center;" in your CSS to center everything inside that container to the center. This post has been edited by JamieHarrop: Apr 4 2007, 07:18 AM |
Jack!!! |
Apr 4 2007, 11:25 AM
Post
#3
|
Group: Members Posts: 2 Joined: 4-April 07 Member No.: 2,420 |
ok! I'll try. It's my first time in html. I don't even know the code...
|
pandy |
Apr 4 2007, 11:56 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
A width is superfluous.
|
Darin McGrew |
Apr 4 2007, 12:29 PM
Post
#5
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry Where can I learn about HTML?
|
Lo-Fi Version | Time is now: 19th April 2024 - 10:04 PM |