This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Integration in html page
#21

(24-Sep-2011, 11:06 PM)jason4886 Wrote:  hy
then i put this code <Files index.html>
</Files>
in the line, after leftside missing like other side you can side th the grey margin or thi is just need align?
but i remove the above sorce code the site show good align but no color.

UPDATE
hy i found the problem then i use mozilla the site is good.i try explorer the site leftside gone.

Hey,

Is this for feltamadas.com? what version of Internet Explorer are you running? left side has gone or the layout is all to the left? The layout for me is all to the left hand side but i don't see a sidebar in Firefox, IE or Chrome if you mean a sidebar.



also if you style your input fields this will improve your site and such also, here are three examples you're more than welcome to use. (click me)
Reply
#22

oke
this is my good site1 http://imageshack.us/photo/my-images/339/32689927.gif/
this is i want integrat the comment box http://imageshack.us/photo/my-images/196/38594220.gif/ original
And now i use the some code i did before i get this http://imageshack.us/photo/my-images/195/28111516.gif/
So as you can see after i added the code the all page moving leftside and the field gone.
And the comment system working perfect just the left field no show up.
thank you again
Reply
#23

hy
i solved the problem it was the css
.page
margin:auto;
color:ffa;
the margin was auto and i change like this
margin-left:150 px;
margin-right:auto;
and good
so thank you again.
Reply
#24

(25-Sep-2011, 10:38 PM)jason4886 Wrote:  hy
i solved the problem it was the css
.page
margin:auto;
color:ffa;
the margin was auto and i change like this
margin-left:150 px;
margin-right:auto;
and good
so thank you again.

Hi,

No problem. Smile

Code:
.page {
       margin: auto;
       color: #ffa;
       margin-left: 150px;
       margin-right: auto;
}

or a better way,


Code:
.page {
       margin: 0px auto 0px auto;
       color: #ffa;
       margin-left: 150px;
       margin-right: auto;
}

Quote:* top margin is 0px
* right margin is auto
* bottom margin is 0px
* left margin is auto
Reply
#25

Actually, the best way is simply
Code:
.page {
margin: auto;
color: #ffa;
}
since having the top and bottom margins 0px doesn't really affect anything on the page (but may still be included if needed: 'margin: 0px auto;'), and having 'margin-left' be 150px makes the page look correct on some resolutions, but on higher resolutions or when you zoom out the page sticks to the left side. Currently the page has 'margin-left: 150 px;' which at first looks fine, but is actually a css error because of the space between the '150' and the 'px'. The reason it looks correct is because the browser ignores the erroneous declaration, and uses the rest, which would end up having both margin-left and margin-right at auto.

I'm giving you three guesses...
Reply
#26

(26-Sep-2011, 08:16 PM)Static Wrote:  Actually, the best way is simply
Code:
.page {
margin: auto;
color: #ffa;
}
since having the top and bottom margins 0px doesn't really affect anything on the page (but may still be included if needed: 'margin: 0px auto;'), and having 'margin-left' be 150px makes the page look correct on some resolutions, but on higher resolutions or when you zoom out the page sticks to the left side. Currently the page has 'margin-left: 150 px;' which at first looks fine, but is actually a css error because of the space between the '150' and the 'px'. The reason it looks correct is because the browser ignores the erroneous declaration, and uses the rest, which would end up having both margin-left and margin-right at auto.

Yes this would be infact the best way of doing it.
Reply
#27

hy
yes it was the original
.page {
margin: auto;
color: #ffa;
}
and i upload the original index evryting good the page is in center i can zoomed and still in center. [picture 2 last comment].the problem then i integrated the php with this code for the front of html
<?php
session_start();
ob_start();
?>

the left margin gone is not there.above the picture number 3 you can see.so i need change the css and after is good,but then i zoomed the page is no center.
i relly dont know what is the problem i am just a beginner .maybe then i intgrated the php to the html something i missed.

Reply
#28

Hi,

I moved to another host and "AddType application/x-httpd-php .html" which worked before now make firefox pop-up asking me to chooce to open or to save the page. When I choose to open with browser, the page was downloaded first before opened locally but raw without any script along

Thanks in advance
Reply
#29

(22-Dec-2011, 05:51 PM)iwede Wrote:  ...and "AddType application/x-httpd-php .html" which worked before
Try to nominate the PHP version "5" by chaining the .htaccess entry to // AddType application/x-httpd-php5 //
Reply
#30

This FAQ may also help:
http://www.commentics.org/support/knowle...article=28

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by paulkienitz
06-Dec-2024, 08:53 PM
Last Post by drwx
29-Jun-2023, 09:34 AM
Last Post by nsuomine
20-Jan-2023, 08:32 AM
Last Post by Steven
04-Jul-2020, 06:46 PM
Last Post by MattyP
13-Apr-2020, 08:33 PM
Last Post by Steven
23-Jan-2019, 02:07 PM

Forum Jump:


Users browsing this thread: 9 Guest(s)