View previous topic :: View next topic |
Author |
Message |
carvin5string -
Joined: 22 Apr 2005 Posts: 3
|
Posted: Fri Apr 22, 2005 9:23 pm Post subject: odd css-p display |
|
|
I have a company web site on a server (FreeBSD/Apache/MySQL/PHP) that is co-hosted by our isp. I have set up Abyss with PHP and MySQL on my workstation and it is working. I copied the entire company web site into the Abyss htdocs directory, and the site is working, except for one issue - css-p. My site uses css-p for the site layout, no tables. On the 'live' site it all works fine, on the Abyss site the positioning of one element is moved to the left about 20 pixels. Other than that it is fine. But this means I cannot use it for development work on the site.
This is the live site - http://www.simradusa.com
and this is a screen shot of what the same site looks like on Abyss - http://www.simradusa.com/layout-problem.jpg
Any ideas why the css-p may be off on just the one element? |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Fri Apr 22, 2005 9:37 pm Post subject: |
|
|
Can you not simply insert a spacer?
Im not sure a web server can effect CSS, but im not expert on it.
Try inserting a blank column or a spacer image. _________________
 |
|
Back to top |
 |
 |
carvin5string -
Joined: 22 Apr 2005 Posts: 3
|
Posted: Fri Apr 22, 2005 10:54 pm Post subject: |
|
|
hmm, know, it's not that simple. Notice the site works fine on the live server? question is why does it not display the same way on the development server? Inserting some 'spacer' on the development server version would screw up the live server version. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Apr 22, 2005 11:03 pm Post subject: |
|
|
Abyss Web Server does not handle the pages content , its the browsers job to
do that , if your using a different browser than it will look different. Please put
the developer server online and we will check if it looks any different.
Sincerely , TRUSTpunk |
|
Back to top |
|
 |
carvin5string -
Joined: 22 Apr 2005 Posts: 3
|
Posted: Fri Apr 22, 2005 11:09 pm Post subject: |
|
|
can't put the development server on the internet - it's inside a corporate lan. I've viewed the page from multiple workstations and in differant browsers - they all show the one 'body' section of the page moved something like 15 - 20 pixels to the left. I realize that the server is probably not the issue, but if the page is fine on one server and not on a different server, then something about that different server is where the issue lays. Yeah, I know it doesn't seem to make any sense. But the screenshot shows what's happening. |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Fri Apr 22, 2005 11:13 pm Post subject: |
|
|
carvin5string wrote: | hmm, know, it's not that simple. Notice the site works fine on the live server? question is why does it not display the same way on the development server? Inserting some 'spacer' on the development server version would screw up the live server version. |
Code: |
<?php
if ($_SERVER['SERVER_NAME'] == "127.0.0.1") {
echo "<IMG SRC='spacer.gif' width='20' height='1'>";
}
?> |
Not that I can see why it matters, why do you need 2 copys on different servers?
EDIT: After reading your last post - screw that. _________________
 |
|
Back to top |
 |
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Apr 22, 2005 11:33 pm Post subject: |
|
|
I can't make any sense of why its not working but can you send me a copy of
the developer side website in zip format to trustpunk@gmail.com and I will try
and find out what maybe causing it to do that , hope this helps. LateR!
Sincerely , TRUSTpunk |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Apr 23, 2005 1:55 pm Post subject: Re: odd css-p display |
|
|
carvin5string,
No web server will affect CSS. CSS is sent as-is to the browser and it is this latter which is responsible of processing and displaying it.
Of course, if your CSS is generated by a script or if it references hard coded URLs, you can see some differences between your development and your deployed server. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|