Page 1 of 1

css and html

Posted: Tue Aug 09, 2011 6:10 pm
by amirbwb
hello, I have been creating a website with php language, first I have designed the web with photshop and then code it with html and css using dreamweaver and I tested it in my localhost, everything looks great at my localhost (till now I have coded approx 42 pages).

The problem is that when I have opened the site using the laptop of my brother the design looks confused and so mixed ... any one has any idea ?

Re: css and html

Posted: Tue Aug 09, 2011 6:45 pm
by twinedev
While this does not fit this area of the forum, my guess would be since you are using dreamweaver, somewhere you have reference to the CSS that is pointing to YOUR file system, so on your machine, it can find file:///c:/site/styles.css but it isn't on his computer. Seen people do that before.

-Greg

Re: css and html

Posted: Wed Aug 10, 2011 1:45 am
by amirbwb
hello,
thanks for you reply but the problem is that the design is the same but the <div> tag aren't in their place (example : the footer is in the middle of the page, it hides a big part of the content)

___________
|..content.|
|..._____..|
|.|footer|.|
|.|.......|.|
|..._____..|
|............|
___________

Re: css and html

Posted: Wed Aug 10, 2011 1:51 am
by Dodon
Can you post the link you use to include your stylesheet?

Re: css and html

Posted: Wed Aug 10, 2011 5:46 am
by amirbwb
the site is amir.comoj.com (test site) in my pc everything looks great, at my brother laptop the design isn't correct
the 2 photos shows some example of the errors

PS: at my brother laptop, with firefox the design is good but another thing went incorrectly like ( pop up box : are you sure you want to delete this question ? (image
sasasa.jpg
))

with internet explorer there is lot of errors and the design is incorrect ....
Untitled.jpg

Re: css and html

Posted: Wed Aug 10, 2011 6:02 am
by Dodon
There is a difference in the way Firefox and IE render their pages, if it looks good in one doesn't automatically mean it looks good in the other. the only thing you can do is adjust the styles attached to the divs and find a way so it looks the way you want in both Firefox and IE, maybe even chrome and safari.

I checked your site in IE9 and Firefox 5 and the site looks normal. This can ofcourse be different for IE6-8

Re: css and html

Posted: Wed Aug 10, 2011 7:13 am
by amirbwb
mmm ok i will try to fix it but the prob is that there is 42 pages :P

anyway may you please rate my design with a comment ...

thank you, your argument means to me =)

Re: css and html

Posted: Wed Aug 10, 2011 7:15 am
by amirbwb
and here is the username and password to access the page quest.php where the pop up box doesn't work on firefox of my brother's laptop

please if you can check it from your browser ... thank you

user:test
pass:test

Re: css and html

Posted: Thu Aug 11, 2011 1:40 am
by amirbwb
??