Computing.Net > Forums > Web Development > Photo Placment

Photo Placment

Reply to Message Icon

Original Message
Name: chrismr
Date: December 11, 2005 at 03:32:05 Pacific
Subject: Photo Placment
OS: XP
CPU/Ram: P4
Comment:

I have a personal web page, www.chrismr.com
I added a Christmas roll over photo of my son and daughter at the top of the page. In Dreamweaver 8, the photo and text is shown in the middle of the page. In IE and Mozilla, it puts the photo at the top right of the page.
Why and how do I adjust where the photo shows?

Chris


Report Offensive Message For Removal

Response Number 1
Name: Michael J (by mjdamato)
Date: December 11, 2005 at 08:08:12 Pacific
Subject: Photo Placment
Reply: (edit)

The image is within a div with the class of "pageName". In your style sheet there is the following entry:

#pageName img{
position: absolute;
top: 0px;
right: 6px;
padding: 0px;
margin: 0px;
}

The first three attributes are the ones responsible for placing the image there. Just remove these lines and it should display fine:

position: absolute;
top: 0px;
right: 6px;

Michael J


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Photo Placment

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software