PDA

View Full Version : need help with website...



hockey97
April 17th, 2008, 06:52 PM
Hi I need some help I have a problem...

I am currently making a website I am half way done just need to make the finishing touches.

Today I felt lazy and decided to not work on it so I thought I would give it a test try to see how it looks and if it works on ohter computers.

I boot up 3 other computers and typed my domain name in and looked at the website it was ok on 2 of the computers but the laptop had different display size.

This made the website look ulgy.

I used css to make fixed positions to display the images and links ect and I also had css applied to the body of the html page to make the backround image fixed and when I looked on the laptop it shows the backround image being displayed with a repeat of the image at the bottom it starts to repeat the top of the background image.

How would you go abouts to have a website display on each computer the same way???

would I have to check the users web browser and the current display settings and then grab a version of that??

or is there a way where I can resize my images or changed how they are displayed base off the users current display settings??

CptPicard
April 17th, 2008, 07:22 PM
Welcome to the realization of why you don't use fixed positioning but instead try to create a so called fluid layout that scales to all screen and browser window sizes.

LaRoza
April 17th, 2008, 07:25 PM
You need to get yourself the web developer toolbar for Firefox.

It allows you to resize to preset dimensions so you can test during development. (It does a lot more than that as well)

Your design has to be redone to be fluid.

DrMega
April 17th, 2008, 07:27 PM
Don't use a background image if it doesn't tile well. An large image will just slow down your page (there are still a remarkable number of people using slow connections).

If you can't avoid it, then just define a single layer, fixed at the size of your image, and set that layour to house your image rather than having it as the overall background of the page, then draw all your other layers over the top of that one.

timcredible
April 17th, 2008, 07:29 PM
have you tried joomla? (http://joomla.org) for web creation? it's open source, has tons of templates, plugins, allows for html coding if you want, etc.

hockey97
April 17th, 2008, 09:11 PM
Thanks for the replies. The reason I used fixed is becuse if I don't use the fixed settings in css then my images and text when rezied would shift to the left causing overlapping on ohther images and texts.

I am going to play around with the display/position. I will see if it still shifts the images to the left when the window gets resized.

hockey97
April 17th, 2008, 09:47 PM
oops my mistake I mean I am using position:absolute;

that's what I am using. it resizes when you resize the window.
It dosen't resize my website when the user has different display settings.

so my the laptop I have the settings for the display were high.

So my website now looks small where my images and texts are.

It looks like the website is small which is displayed at the top of the window and then all the areas far out of my website reach would repeat my background image.

my background image I made is at the size of my display settings which is 1024 by 768 pixels. the laptop is 1680 by 1050.

LaRoza
April 17th, 2008, 09:47 PM
Links to the site would help.

hockey97
April 17th, 2008, 10:26 PM
sure no problem I am still working on the website it's not done yet.

could you also give me comments on what you think of it so far??

here is the link and this will only be up for like 1 to 4 hours.

so if it dosen't work that's becuse my server will not be up I will have it up just to let you guys see the problem.

resize your display settings to see the problem I face.

here is the link: Click Here (http://67.149.150.40/cpro.html)

hockey97
April 18th, 2008, 12:16 AM
so what do you guy's think of it??

I know some of you already looked at it .

Can+~
April 18th, 2008, 12:57 AM
Okay, here goes my opinion about the website, mainly, in terms of graphic style:

-The background is a huge image, kinda unnecessary, adds weight. Try to use a tiny repeatable/tiled background.
-I'm still wondering what this page is.
-The content is presented in 4 tiny boxes, is there a reason for such minimalistic style?
-There's no cohesion between the elements. There's a blue-gray background, there's an image placed over a wooden background for no reason.
-I don't get that effect like.. blur on the objects, it's supposed to look like ice?
-The font on the titles is ugly.
-Use a fluid design, as someone pointed above, but quite a lot more fluid, instead of solid boxes with fixed numbers (you know, like width:100px), use %, like (width:10%), float:left/right for fixed divs, etc.

Please read my comments above as in "trying to help you", not the "boo, it sucks!" tone..

For further information on how to improve design, try to read and watch good design, smashing magazine has a lot of good examples:
http://www.smashingmagazine.com/2007/05/21/60-elegant-and-visually-appealling-designs/

hockey97
April 18th, 2008, 01:28 PM
Post closed!!!!

era86
April 18th, 2008, 05:23 PM
I would like to give input, but the website is not coming up for me..

hockey97
April 18th, 2008, 07:57 PM
Closed post!!!!

Can+~
April 18th, 2008, 08:44 PM
Image backup:
http://img.photobucket.com/albums/v517/CanXp/hokey97page.png

hockey97
April 18th, 2008, 10:25 PM
Closed post!!!

Can+~
April 18th, 2008, 10:56 PM
When I make websites, I usually start with a mockup made on fireworks (my favorite graphic tool, at least for web stuff).

I break it down into segments, see where I need to repeat elements, slice them accordingly, breaking it down to single image files, trying to save space depending on the type:

-Small image, usually for repetition: .gif
-Big image, poor colors: 16-bit -> 32-bit png
-Photograph: 80 quality: jpg.

Image of my localhost (apache2). It's behind a router anyway.
http://img.photobucket.com/albums/v517/CanXp/local.png

My server is named "Asgard". My windows partition has another name "Utgard". Go figure.


Oh, and my desktop has:
-minimalist murrine theme, running on gtk2 cairo engine gnome look (http://www.gnome-look.org/content/show.php/Murrine+Compact?content=78182).
-gnome-elephant icons again, gnome look (http://www.gnome-look.org/content/show.php/Gnome%2BHumanElephant+Savane%2BMarine+?content=755 00)
and my KDE apps have qt-curve and kde3-curve respectively with oxygen icons.

hockey97
April 19th, 2008, 05:40 PM
Closed post!!!!

hockey97
April 21st, 2008, 02:26 AM
Closed post!!!!

mssever
April 21st, 2008, 04:00 AM
If I remember correctly, the CSS properties for controlling background image repeats are repeat-x and repeat-y. But your decision to eliminate the image altogether is wise; it looks like it was quite a large download.

For most purposes, trying to get the window dimensions for page layout purposes will cause more problems than it will solve. As you gain experience, you'll find fluid designs to be easier. But the other way, you'll encounter a number of browser differences; plus, what will you do about people who disable Javascript or who are using a setup that doesn't support it (screen readers, some cell phones, etc.)?

Can+~
April 21st, 2008, 04:34 AM
One typical solution in web design is using a wrapper. Is a big div (or table) which contains all the elements that must be positioned. If you need it to be centered, use both center for the parent (for compatibility with IE) and margin: auto; for firefox.

Grab Web Developer extension for firefox, and go look other pages, enable "Outline Custom element: Div" and see.

soapytheclown
April 21st, 2008, 11:49 AM
So is there no way I can make a script to figure out the users web browser and version and the display settings the userser uses. Then change the hight and width of each element value?

you can using javascript to work out the resolution using:

screen.width();
screen.height();

then selecting each element and altering its css on the fly..
but this way would be greatly inefficient a complete redesign is needed imo based on that screen shot :)

hockey97
April 23rd, 2008, 12:13 AM
Closed post!!!!

mssever
April 23rd, 2008, 07:12 AM
I also got a question since someone brought it up, I don't know much about the cellphones. I had saw board froums saying you have to know mhtl or some new markup lango for the cellphones to display your page on the cellphone browser is that true or html would be read on all cellphones that have internet capabilites is that true??

It depends on the phone. Some phones are very primitive. Some (smart phones, especially) have normal browsers. the iPhone includes Safari, and Since Opera has a cell phone browser, presumably it's on some phones.

There is a separate language for cell phones (I don't remember what it's called). It seems silly to me to have a separate language, though. Just teach the phone HTML. But the mistake I'm making is in assuming that all cell phone companies have intelligent employees.

hockey97
April 24th, 2008, 01:18 AM
Closed post!!!!

hockey97
April 26th, 2008, 10:25 PM
Closed post!!!!

mssever
April 27th, 2008, 01:44 AM
If there is any other way to resize my website and the elenments inside it so that the layout dosen't change due to the users display settings please do tell...

Make a container with a fixed size. Although I tend to frown on fixed layouts. Unless you've seriously redesigned your page from what you posted earlier, JavaScript is overkill--and it slows your page down. You don't need to calculate the page width. CSS will take care of that for you.

hockey97
April 29th, 2008, 07:32 PM
Closed post!!!!