view source page formatting
|
12-05-2006, 04:08 AM,
Post: #1
|
|||
|
|||
view source page formatting
when you goto my site..... http://www.webgraphicssource.com and use view source, somehow the html is not foramtted all nice and pretty. from my file it looks like this; Code: <table width="100%" border="0" cellspacing="0" cellpadding="0"> but on the website, it is all running together!!! :twistedevil: I hate that it is doing this, does anyone know what would cause this??? |
|||
12-05-2006, 04:55 AM,
Post: #2
|
|||
|
|||
Re: view source page formatting
When you have a PHP file (or any kind of dynamic server-side processing), the server processes it then returns the HTML to the visitor's browser. Unlike with HTML, where the server just turns the code over to the visitor's browser, with no processing step. When you have PHP used in your page the view source will never look like the code that you saved.
|
|||
12-05-2006, 05:05 AM,
Post: #3
|
|||
|
|||
Re: view source page formatting
it's only on the home page, it was fine yesterday.
if you view any of the other pages, it is formatted correctly, or looks normal |
|||
12-05-2006, 05:09 AM,
Post: #4
|
|||
|
|||
Re: view source page formatting
I don't know why it is doing that, but if I were you, I would not worry about it. The browser reads it even if every last bit of it is on one line. That is what I believe, anyway, from what I have read. Now, if you want something to worry about, run your CSS through the w3c.org validator. I just did, and you'll find plenty of problems there to keep you busy. sorry.
|
|||
12-05-2006, 05:22 AM,
Post: #5
|
|||
|
|||
Re: view source page formatting
yes I know about the validator, The version that is up right now is an old version trying to see if it made a difference.
cre-loaded is coded very poorly for validating, so it will take forever to fix all of the errors. That is a project to work on later down the road. Since it is open source tons of the contributions have horrible coding. I am working on making the home page validated, but that is on the back burner right now. |
|||
12-05-2006, 03:24 PM,
Post: #6
|
|||
|
|||
Re: view source page formatting
PG,
The OSCommerce coding sucks (opensource)--------------it is very difficult to work with. Kirk, your site looks great, btw! |
|||
12-05-2006, 04:44 PM,
Post: #7
|
|||
|
|||
Re: view source page formatting
Well, I do know what you mean about open source code not always being the greatest. When people are giving away something, they don't necessarily work so hard at it. Plus, the rules change, and yet the code is old in many cases, and so you have to bring it up to snuff. The errors I saw in that CSS I looked at last night did not seem insurmountable. Just little tweaks would fix them.
|
|||
12-05-2006, 04:58 PM,
Post: #8
|
|||
|
|||
Re: view source page formatting
PG,
You are soooooo lucky that you know code------I SUCK! :turkey1: |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Creating User Friendly 404 "Page Not Found" Error Pages | Kristijntje | 1 | 3,514 |
09-14-2007, 01:55 PM Last Post: Kristijntje |
|
Open Source lighttpd Web Server emerges as rival to Apache | mandy | 1 | 2,694 |
05-18-2007, 07:13 PM Last Post: rose |
|
WebEx-type technology - any open source equivalents? | Jen | 2 | 3,076 |
08-19-2006, 09:34 PM Last Post: Jen |
Users browsing this thread: 1 Guest(s)