OKay, so I'm Gr.10 and I'm taking a technology course; for my summative I have to make a website without the use of an editor. Most of the class is using tables, but the teacher thought I was ready to use CSS. We've been programming websites for about 2 months. Here's my problem: I designed my site using CSS (with absolute values for positiong objects) on a widescreen monitor with a 800x1280 resolution and when I brought it to the school computers (the one's we are being marked on), my page was all warped... I now realize why that happened, but what I want to know is can I fix it without changing the resolution and going through each of the fifteen pages, manually adjusting each pixel position? Can I have CSS or HTML or Java detect the resolution of the monitor and shrink the page and pictures accordingly, while still keeping the page centered?
Here's a section of my code:
2007-05-27
08:44:33
·
3 answers
·
asked by
StaticS
2
in
Computers & Internet
➔ Programming & Design
Oh, and if that's not possible is there a way to shrink pictures (with %) using CSS instead of going into photoshop and manually shrinking each photo for the lower resolution I'm being marked on?
2007-05-27
08:52:56 ·
update #1
Thanks for the advice, it really helped. I talked to my teacher about it, he said he's only marking how it looks in 800x600. There's only one more problem; I've got the positions and images to adjust dynamically to the size of the browser, but I have no idea how to do it with the font sizes. If you could give me an HTML or CSS code to dynamically adjust the fonts, I'm set. Thanks again.
2007-05-27
10:55:52 ·
update #2