User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,721 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,580 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 190 | Replies: 3 | Solved
Reply
Join Date: Mar 2008
Posts: 14
Reputation: kireol is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
kireol kireol is offline Offline
Newbie Poster

page looks different between dev box and live

  #1  
Jul 16th, 2008
I was developing a web site locally with PHP/MySQL on my windows PC running XAMPP.

I got all of my scripts running well! I have it to the point where I decided to purchase the domain name, link my existing 1and1.com account for the server to the domain, and upload all of my scripts/files/images/etc.

For some reason, when I view it on the actual domain(not locally), it looks entirely different from my local windows/xampp copy. My page is way stretched(margins screwed with), and all of the fonts look different.

I've never ran into this before, and I figured someone here would know the answer.

I'm seeing the same results in Firefox and IE.

I checked the CSS with the firefox webdeveloper add-on. no errors.

I checked the site for HTML validation and "found to be valid XHTML 1.0 Strict." http://validator.w3.org/check?uri=ht...Inline&group=0

I uploaded my entire site again thinking maybe I missed something.

I can deal with the fonts being different although I'd like to know why.

The bigger problem is I can't figure out why the page is "stretched" on live(you can see on the right where it should end based off of the space between the grey box and the right margin), and not on development local box. It's the exact same code!

http://www.loanmodassistant.com/ only the index page is correct at the moment, so excuse the mess on the other pages until i get the index looking correct.


Thanks!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2008
Posts: 8
Reputation: seagreen is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
seagreen's Avatar
seagreen seagreen is offline Offline
Newbie Poster

Re: page looks different between dev box and live

  #2  
Jul 16th, 2008
Can you post comparison screenshots or something?
Use SeaGreen to collect form data in a database without programming:
* Features an easy-to-use WYSIWYG Form Layout Designer
* SeaGreen automatically writes the database tables for you
* Easily create an administration module with just a few clicks
Download your FREE TRIAL today at www.SeaGreenSoftware.com/freetrial.htm
Reply With Quote  
Join Date: Mar 2008
Posts: 14
Reputation: kireol is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
kireol kireol is offline Offline
Newbie Poster

Re: page looks different between dev box and live

  #3  
Jul 16th, 2008
I was actually just going to do that and I think that I figured it out.


The problem was me being stupid and programming until 5AM. Long day!

I use an old header.css file. When I FTPd "everything over", i forgot to include the header file. I sorted by date, so of course the old .css file wasnt a current file. I keep a lot of junk in my directories when developing. PEBKAC (problem existed between keyboard and chair!) hahaha.
Reply With Quote  
Join Date: Apr 2008
Posts: 8
Reputation: seagreen is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
seagreen's Avatar
seagreen seagreen is offline Offline
Newbie Poster

Re: page looks different between dev box and live

  #4  
Jul 16th, 2008
Programming until 5am? That will do it! =)
Use SeaGreen to collect form data in a database without programming:
* Features an easy-to-use WYSIWYG Form Layout Designer
* SeaGreen automatically writes the database tables for you
* Easily create an administration module with just a few clicks
Download your FREE TRIAL today at www.SeaGreenSoftware.com/freetrial.htm
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 2:14 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC