Follow us on Twitter!
The measure of a mans life is not how well he dies, but how well he lives.
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 20
Guests Online: 19
Members Online: 1

Registered Members: 82889
Newest Member: Geriztul
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

First website

noamma
Member

Your avatar

Posts: 4
Location: Israel
Joined: 04.08.08
Rank:
Guest
Posted on 14-10-11 14:19
Hi,
I'm building now my first website (http://whub27.web. . ./index.php), using HTML, CSS, JavaScript and PHP.
Anyway, when I load it to the server, some problems created:
When i'm getting into the page, sometimes it crooked, probably because the browser shows it before it loading all the code.
And in some computers, the pictures are not where they should be, although I use percentages when I put them.

I have no idea why it's happened. Someone have?

Thanks anyway,
Noamma
Author

RE: First website

starofale
Member



Posts: 218
Location: England
Joined: 05.12.07
Rank:
Moderate
Posted on 14-10-11 16:33
At the end of the window.onresize function, you should probably call setp() and setpich() so the text and pictures are resized. I haven't looked too carefully, so if there are any other functions to set the size of images etc., call them as well. I suppose this could be what is causing the images to show in the wrong places.


Other suggestions (not related to your question):

- The server says your page is encoded in UTF-8, but you have some non UTF-8 characters in it. If you know what charset you're using you can declare it at the beginning of the <head> section with something like "<meta http-equiv="content-type" content="text/html; charset=UTF-8">"

- It would be nice to have a version of your site which works without Javascript, instead of just telling people to enable it.


Try a new search engine
Author

RE: Thank you.

noamma
Member

Your avatar

Posts: 4
Location: Israel
Joined: 04.08.08
Rank:
Guest
Posted on 14-10-11 17:42
When everything will work properly with JavaScript, I'll make also a version without it.
As for the pictures problem- sometimes two pictures that need to end on the same height, ends with pixel or two difference. Calling the functions on resize will not help...
did you have an idea for the first problem?

Thank you anyway...