css and html

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
amirbwb
Forum Commoner
Posts: 89
Joined: Sat Oct 30, 2010 6:10 pm

css and html

Post 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 ?
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: css and html

Post 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
User avatar
amirbwb
Forum Commoner
Posts: 89
Joined: Sat Oct 30, 2010 6:10 pm

Re: css and html

Post 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|.|
|.|.......|.|
|..._____..|
|............|
___________
Dodon
Forum Commoner
Posts: 64
Joined: Wed Aug 03, 2011 4:11 am
Location: Netherlands

Re: css and html

Post by Dodon »

Can you post the link you use to include your stylesheet?
User avatar
amirbwb
Forum Commoner
Posts: 89
Joined: Sat Oct 30, 2010 6:10 pm

Re: css and html

Post 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
Dodon
Forum Commoner
Posts: 64
Joined: Wed Aug 03, 2011 4:11 am
Location: Netherlands

Re: css and html

Post 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
User avatar
amirbwb
Forum Commoner
Posts: 89
Joined: Sat Oct 30, 2010 6:10 pm

Re: css and html

Post 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 =)
User avatar
amirbwb
Forum Commoner
Posts: 89
Joined: Sat Oct 30, 2010 6:10 pm

Re: css and html

Post 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
User avatar
amirbwb
Forum Commoner
Posts: 89
Joined: Sat Oct 30, 2010 6:10 pm

Re: css and html

Post by amirbwb »

??
Post Reply