Hello people, i need a code so when someone join my site, the site resize after the size of the screen on the coputer joining.
cause i have seen my site on a small screen and big screen but they look different...
så if the site could resize so it would be same in every screen that see it, i would be happy.
I haven't tried the above, but I think it should work. The problem will arise when inline elements push each other "over the edge". Certain floated elements may also end in a float drop, if not careful.
Older websites used to have a 'choose resolution' option, which usually stored a cookie or a DB entry for the user. This value was then used to call a specific CSS file. This has, for obvious reasons, died a virtual death.
JS (or sometimes server-side scripts) are still used to resize text, although this has been pretty much superseded by browser-based text resizing.
If you are using a mobile for perusing the site, you could have a handheld specific CSS file:
I think so, just remember to have your widths as %ages. They'll take the containing element as 100% and make themselves a %age of that. However, you have to be careful at larger/smaller resolutions w.r.t setting something like 49% + 49% as above. At smaller sizes, the "space" between columns may be too small and at larger sizes, it may be quite big. You should also have a 'clear:both' attribute on the next non-floated element, otherwise that element (especially if text) may decide to live in that gap.
i dont really understand what you are saying...
can you maybe explain it on another way?
the site is in danish (but that dont matter) take a look on the site and see what i mean cause i made it on a 21 inches screen (widescreen) but many visitors dont have same size screen so it look too different...
i just need a code that make it look like the same.
OK, I see your problem. You've done the above. You've come to the wrong forum. Try the HTML and CSS. However, CSS probably won't help if you've stuffed your page with . I suggest you learn HTML first - plenty of online tutorials available. Next try CSS. You may be some time ...
i have learned html.....
and i wont try learn css....
and ofc i can fix that, but im just using a program that makes the codes for me. (microsoft expression web)
but i try to move it.
OK, but CSS is the root of your display options. Unless you learn some CSS syntax (not difficult), you may struggle to deal with that horrible html code that MS Expression spits out. Those will really make you hurt when trying to style. It's the rough equivalent of using a spacebar to indent text as opposed to using the centre alignment on a word processor.
If you want this moved, I think you can "flag bad post" and in the reason ask for a request to move it to another forum. However, it'd probably be best to just start a new thread there.
i have just started another thread in html/css.
and the most of the   have been deleted (it was to many space i did have seen).
and now im using "%" instead of "px" and hope it work.
so i want to close this now