Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
HTML and PHP

 
Post new topic   Reply to topic Printable version
 View previous topic  Happy New Year! Post :: Post Spam  View next topic  
Author Message
Contempt+
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Oct 17, 2010 12:03 am   Post maybe stupid    Post subject: HTML and PHP Reply to topic Reply with quote

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?
_________________
SSE Network Administrator
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Sun Oct 17, 2010 2:03 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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.
_________________
(Insert a bunch of dead links here)
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Oct 17, 2010 11:28 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Sun Oct 17, 2010 12:38 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Welcome to the wonderful world of browser compatibility...
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Oct 17, 2010 12:57 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

So, any idea how to get this corrected? I'm pretty sure there is a way.. but I forget how to.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Sun Oct 17, 2010 1:03 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I personally have no idea, try google tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Arnk Kilo Dylie
Seasoned Helper


Age:36
Gender:Gender:Male
Joined: Jul 14 2006
Posts: 108
Offline

PostPosted: Sun Oct 17, 2010 3:43 pm   Post maybe stupid    Post subject: Re: HTML and PHP Reply to topic Reply with quote

Contempt+ wrote:
So, when I have my index.php opened in Frontpage


there's your problem
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Contempt+
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Oct 17, 2010 4:33 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

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..
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
L.C.
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Mon Oct 18, 2010 1:24 pm   Post maybe stupid    Post subject: Re: HTML and PHP Reply to topic Reply with quote

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; */
}
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
L.C.
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Mon Oct 18, 2010 1:43 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Contempt
Guest


Offline

PostPosted: Mon Oct 18, 2010 6:41 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Alright, i'll give that a shot here in a bit and let you all know how it turns out.
Back to top
L.C.
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Mon Oct 18, 2010 11:02 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Contempt+
Server Help Squatter


Age:34
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Mon Oct 18, 2010 11:30 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Heyo, that fixed it.. I had no idea something like that would resolve the issue.. Thanks man =)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Tue Oct 19, 2010 10:46 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

i write my websites using NOTEPAD

since you use frontpage, you have no idea how or why your site looks like it does.
_________________
SSC Distension Owner
SSCU Trench Wars Developer
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Contempt
Guest


Offline

PostPosted: Tue Oct 19, 2010 12:04 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

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.
Back to top
Hakaku
Server Help Squatter


Joined: Apr 07 2006
Posts: 299
Location: Canada
Offline

PostPosted: Tue Oct 19, 2010 12:40 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List Send email
L.C.
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 03 2003
Posts: 574
Location: Missouri, US
Offline

PostPosted: Wed Oct 20, 2010 9:38 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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).
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Mon Feb 14, 2011 8:24 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

http://hsivonen.iki.fi/doctype/

tldr: make <!doctype html> the very first line of code, validate, fix remaining issues
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 654 page(s) served in previous 5 minutes.

phpBB Created this page in 0.648908 seconds : 43 queries executed (65.9%): GZIP compression disabled