Posts: 38
Threads: 3
Joined: Jul 2011
(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)
Posts: 14
Threads: 0
Joined: Sep 2011
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
Posts: 14
Threads: 0
Joined: Sep 2011
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.
Posts: 38
Threads: 3
Joined: Jul 2011
(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.
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
Posts: 535
Threads: 31
Joined: Jul 2010
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...
Posts: 38
Threads: 3
Joined: Jul 2011
(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.
Posts: 14
Threads: 0
Joined: Sep 2011
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.
Posts: 13
Threads: 5
Joined: Sep 2011
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
Posts: 99
Threads: 30
Joined: May 2011
(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-php
5 //
Posts: 2,894
Threads: 59
Joined: Jun 2010
Have
you completed
the interview?