Jump to content
Killersites Forums

Some pages align wrong in Firefox but OK in IE8?


Woody54
 Share

Recommended Posts

Hi All,

 

I am running DW CS4 having come over from MS Frontpage 2003 and I am struggling a bit.

My main problem is the positioning of a div tag in several but not all pages:

 

e.g. This is the page where I set up my main css style which I link to any new pages and this page centres ok:

 

http://www.tj-photography.co.uk/index.html

 

 

This page content moves over to the left side in Chrome, Firefox and Safari

 

 

http://www.tj-photography.co.uk/portfolio.html

 

I've tried comparing the code between the pages but nothing stands out.

 

If anyone can help please bear in mind I am fairly new to Dreamweaver and know very little about Code?

 

I set the following page up around the same time doing what I thought was the same procedure and it centres ok????

 

http://www.tj-photography.co.uk/themes.html

 

Any consructive help would be great.

Link to comment
Share on other sites

Look in the tw_css_rule.css file and remove float: left located around line 10.

 

body {

background-attachment: fixed;

float: left;

margin: 0px;

padding: 0px;

background-image: url(../images/home_bkg_1650.JPG);

background-position: center top;

overflow: scroll;

text-align: center;

background-repeat: no-repeat;

}

Link to comment
Share on other sites

Look in the tw_css_rule.css file and remove float: left located around line 10.

 

body {

background-attachment: fixed;

float: left;

margin: 0px;

padding: 0px;

background-image: url(../images/home_bkg_1650.JPG);

background-position: center top;

overflow: scroll;

text-align: center;

background-repeat: no-repeat;

}

 

newseed you are a star mate. You've no idea how long I have been trying to sort this out. In two minutes it is all sorted thanks to you. BRILIANT!!

 

TW

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...