Server Help

Trash Talk - HTML and PHP

Contempt+ - Sun Oct 17, 2010 12:03 am
Post subject: HTML and PHP
So, when I have my index.php opened in Frontpage (weird I know) the layout looks great, everything works fine. but when I upload the index.php, everything goes wacky with the layout.



any ideas?
Samapico - Sun Oct 17, 2010 2:03 am
Post subject:
Not that I can help much, but maybe post your code?

And maybe try viewing the page with Internet Explorer... Frontpage most likely uses IE to render the page.
Contempt+ - Sun Oct 17, 2010 11:28 am
Post subject:
Hmm... weird.. I tried it in IE and it works just fine.. So why would it work fine in IE and not in Google Chrome? It worked before just fine, never had problems with it before.
Samapico - Sun Oct 17, 2010 12:38 pm
Post subject:
Welcome to the wonderful world of browser compatibility...
Contempt+ - Sun Oct 17, 2010 12:57 pm
Post subject:
So, any idea how to get this corrected? I'm pretty sure there is a way.. but I forget how to.
Samapico - Sun Oct 17, 2010 1:03 pm
Post subject:
I personally have no idea, try google tongue.gif
Arnk Kilo Dylie - Sun Oct 17, 2010 3:43 pm
Post subject: Re: HTML and PHP
Contempt+ wrote:
So, when I have my index.php opened in Frontpage


there's your problem
Contempt+ - Sun Oct 17, 2010 4:33 pm
Post subject:
Yeah? Because I've never had the problem before.. How would it make a difference opening a .php that was originated from notepad?

I've also got a problem with php that I have listed down in the non-subspace related coding section..
L.C. - Mon Oct 18, 2010 1:24 pm
Post subject: Re: HTML and PHP
Arnk Kilo Dylie wrote:
[..]



there's your problem
I would say that is more of an inherited element of the problem, which would be that the page code structure is poor. ;o

Then again, if the website was made using Frontpage, then yes, there's your problem (and code structure would merely be an inherited element of using Frontpage).

>.<

IT COULD BE EITHER ONE.

Can you boot your website up to the internetz and then perhaps I/we could suggest XHTML/CSS modifications?

EDIT: nevermind. Already up. One sec.

EDIT2:
FIND
Quote:
#tableright {
...
width: 675px;
}


REPLACE WITH
Quote:
#tableright {
...
/* width: 675px; */
}

L.C. - Mon Oct 18, 2010 1:43 pm
Post subject:
Ignore last post.

FIND
Quote:
#tableright {
...
width: 675px;
...
}


REPLACE WITH
Quote:
#tableright {
...
width: 650px;
...
}


The code structure to your page is messy/unethical (to webdesigners; not referring to the usage of table) and could be much better. I would be willing to redo the code structure (the XHTML/CSS element of it) for some $$ if you'd like. tongue.gif
Anonymous - Mon Oct 18, 2010 6:41 pm
Post subject:
Alright, i'll give that a shot here in a bit and let you all know how it turns out.
L.C. - Mon Oct 18, 2010 11:02 pm
Post subject:
Ok, cool. Hope it works. icon_smile.gif I wouldn't mind recoding (in XHTML/CSS) for free, but school is in the way. icon_sad.gif I realize now how much of a difference it makes to my time.

But maybe within ~2 years I shall have some free time again? *shrugs* sa_tongue.gif
Contempt+ - Mon Oct 18, 2010 11:30 pm
Post subject:
Heyo, that fixed it.. I had no idea something like that would resolve the issue.. Thanks man =)
Cheese - Tue Oct 19, 2010 10:46 am
Post subject:
i write my websites using NOTEPAD

since you use frontpage, you have no idea how or why your site looks like it does.
Anonymous - Tue Oct 19, 2010 12:04 pm
Post subject:
To each his own.

I used to use notepad a few years ago. I use frontpage now because of the split code/design modes.. I edit everything in the code section to see how it affects on the design page.
Hakaku - Tue Oct 19, 2010 12:40 pm
Post subject:
Just know that these types of rendering issues and browser differences will always occur when you're designing a website. If you're using a graphical editor, you should necessarily expect things to break, and be prepared to fix them by hand. The file works fine in Internet Explorer because Frontpage was made by the same company, which means that they focused on the specifications of a single engine (IE).

Assuming Chrome is akin to its sister browsers Safari and Maxthon, you should be able to right click and select "Inspect this element". This will allow you to edit bits of the page on site and disable or modify the CSS elements dynamically, so that you know what changes are necessary.
L.C. - Wed Oct 20, 2010 9:38 am
Post subject:
I use Notepad++, Photoshop, PNG Monster, Mozilla Firefox, and the Firebug plugin for Mozilla Firefox.

http://www.hlrse.net/ was made from scratch (including graphics) by me using those tools (not so much Firebug though; only used that for debugging).
SuSE - Mon Feb 14, 2011 8:24 am
Post subject:
http://hsivonen.iki.fi/doctype/

tldr: make <!doctype html> the very first line of code, validate, fix remaining issues
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group