TranceAddict Forums (www.tranceaddict.com/forums)
- Chill Out Room
-- confused
Pages (3): [1] 2 3 »
confused
Ok, so I'm making a website. Refer to the bottom pic:
I basically want the main page to be a set size (the white column down the middle), say 1024*768. And if the persons resolution is more, I want black columns down the sides, with the main page centered. How would I go about doing this (no details, just the general idea - tables, etc.).
| quote: |
| Originally posted by Echo of Silence (I learned you should use 800 pixels for width since most users still set their computers to 800p x 600p) |
No need to take it personally, I was just pointing out your error so he doesn't propagate it.
| quote: |
| Originally posted by DigiNut Most users where, in Upper Mongolia? 1024 x 768 is standard, 1280x1024 will probably overtake that in a year or two. |
) that as of Jul '03:
).
800*600 is an unwritten rule.
use fixed tables for what you want to do, but you must be warned. When someone will try printing your webpage it will be cut off on the right side.
When designing a website ALWAYS deign for the least common denominator. That means putting alt tags on images, having some form of text navigation, and making it viewable on lower resolutions. 800x600 is a good one to use because many people still run at that resolution. Just because the graphics cards sold today can all handle 1024x768 easily does not mean everyone is using it. A lot of people use 15 in monitors still and unless you like to look at small text 1024x768 is too high a resolution for most people on that monitor size.
www.htmlgoodies.com is a good place to look for tutorials and pointers Turbonium....it is where I figured out how to do my javascripting of buttons 
MrS
| quote: |
| Originally posted by Echo of Silence Background: black table background: white table size: 1024 pixels, position centered (I learned you should use 800 pixels for width since most users still set their computers to 800p x 600p) |
also guys, tables don't allow more than 1 space in a row, which is stupid. i compensated by making transparent GIF files (height 1 pixel, several pixels wide) and inserted them into where I needed spaces. Is this bad? I think so, it's too crude, and ups the page download time.
Any better solutions? Help would be greatly appreciated.
1 space in a row?!?!?
what do you mean ?
you could always subdivide a cell into smaller cells by creating a nested table...
| quote: |
| Originally posted by Turbonium also guys, tables don't allow more than 1 space in a row, which is stupid. i compensated by making transparent GIF files (height 1 pixel, several pixels wide) and inserted them into where I needed spaces. Is this bad? I think so, it's too crude, and ups the page download time. Any better solutions? Help would be greatly appreciated. |
I suck at this shit.
What I mean is, it's like this forum. You can make a post, and put in 50 spaces between 2 words, but it shows up as only 1 space. Try it.
hahaaha
you need to use the special word for each space
do i have it spelled right?
& n b s p ;
just remove the spaces between the characters or else they won't appear in my post.
Like so                                                    fitty spaces for ya.
You really should read some form of HTML primer before building a site....like the aforementioned www.htmlgoodies.com . It will make a lot of this stuff easier to figure out.
MrS
You can use the nbsp, but that doesn't display properly in every locale.
Transparent GIFs are good, they're called "spacers". You should only make them 1 pixel by 1 pixel, though, it's not necessary to make them any larger because you specify the height/width it's scaled to in the HTML code.
As for people using 15" monitors and shit resolution, I seriously have to question how up-to-date those stats are. But if they are, then screw those people, even most laptops are 1024x768 or above, even the library computers here are 1024x768... if someone's too bloody cheap to get a half-decent monitor, I wouldn't want to try and sell something to them anyway.
yeah but still, its not because you have a 1024 width screen that you can display a full 1024 width page... thats why people still use 800 width pages because they look nice on a 1024 monitor...
but indeed they look small on a 1200 display :/
| quote: |
| Originally posted by DigiNut You can use the nbsp, but that doesn't display properly in every locale. Transparent GIFs are good, they're called "spacers". You should only make them 1 pixel by 1 pixel, though, it's not necessary to make them any larger because you specify the height/width it's scaled to in the HTML code. As for people using 15" monitors and shit resolution, I seriously have to question how up-to-date those stats are. But if they are, then screw those people, even most laptops are 1024x768 or above, even the library computers here are 1024x768... if someone's too bloody cheap to get a half-decent monitor, I wouldn't want to try and sell something to them anyway. |
| quote: |
| Originally posted by ahlamalek yeah but still, its not because you have a 1024 width screen that you can display a full 1024 width page... thats why people still use 800 width pages because they look nice on a 1024 monitor... but indeed they look small on a 1200 display :/ |
HTML doesn't care how many spaces there are on the document, it just renders one.
The only way to force it is using a non-breaking space:
so, if you want 5 spaces:
(or just a regular space followed by 4 nbsps, or regular space, 3 nbsps, regular space, or alternate regular ones with nbsps
).
Although, you usually shouldn't need that kind of things.
ok thanks, wasn't seeing that last night, way too tired...
for the spaces, I just used a 1x1 transparent pixel and stretched it accordingly, I figure that's better.
still, how do I solve this stupid problem where when the user changess the font text size in their browser, it spills over to a new line in the table... I basically want to make the text size unchangeable I guess.
Am I supposed to use pixels tod efine size, rather than percentage?
ugh, you're playing a dangerous game here...
the game of "html is a poor interfacing language"... in other word, try to put as little constraints as possible, fixing table widths, font sizes, colors, etc is very hard to maintain in the long run and could nice in one browser and awful in anoter.
if you want to fix a certain text element, use an image. But if you're talking about the main content of your webpage, don't fix its size. its not good HTMLing 
Set the text to wahtever size you want it to be, I don't think the viewers of your webpage can change that.
yes they can!
Ok ahlamalek, so you're saying replace the buttons with images?
ugh
| quote: |
| Originally posted by arleetec Set the text to wahtever size you want it to be, I don't think the viewers of your webpage can change that. |
Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.