This is a discussion on "Centering an image on my web page" within the Web Page Design section. This forum, and the thread "Centering an image on my web page are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Centering an image on my web page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Centering an image on my web page
I have a webpage which was developped using FireWorks, so exported the image an linked it to a webpage.
Now I need to center the image on the page, but so far I only managed to center it in the length. The image is still on the top of the page. And I also need to add some shade to it. Anyone here who would know how to do that? |
|
|
|
||||
|
Re: Centering an image on my web page
css
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
|||
|
Re: Centering an image on my web page
Well, yes... I thought that. Here's what I have in my css for the image:
.oneColElsCtr #container { width: 46em; background: #FFFFFF; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ text-align: left; /* this overrides the text-align: center on the body element. */ } But what do I need to add so the image is centered all over the page and not just in the middle in it's length. What do I need to add to show some form af shade around the picture? |
|
||||
|
Re: Centering an image on my web page
from top?
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
|||
|
Re: Centering an image on my web page
Well, the image should be centered in the dead center of the page. Now it's centered on top. But I need it in the middle of the screen.
The shade would need to be around the picture itself |
|
||||
|
Re: Centering an image on my web page
Ugh! Thanks for the heads up!
Please follow the thread in the CSS forum Position image in the dead center of my webpage And to Fyscius: PLEASE DO NOT DOUBLE-POST! If you thread is in the wrong place, a mod will move where they see fit! |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Centering a Page In CSS | britishchampion | Web Page Design | 5 | Jan 3rd, 2008 16:20 |
| Centering an image within a scrollpane | tox0tes | Flash & Multimedia Forum | 4 | Dec 26th, 2007 06:00 |
| [SOLVED] Centering an image with CSS without moving anything else on the page. | Ed | Web Page Design | 5 | Oct 29th, 2007 11:34 |
| Need Help Centering my index page??? | 0413 | Starting Out | 6 | Jun 9th, 2007 06:40 |
| Centering page question | bklcomputing | Web Page Design | 1 | May 20th, 2005 18:49 |