|
|
|
charliecat
new user
Reg'd: Sun
Posts: 1
|
|
Hello. I have designed a website using Dreamweaver which looks find in dreamweaver on both my 17" screen and my brothers 15" screen, however when it is uploaded on my brothers the images look so big and have replaced 2 images which I have put in layers.
Can anyone offer any advice on how to design sites which will not resize when viewing on different screen sizes.
Many thanks.
|
|
Dunx
regular
Reg'd: Tue
Posts: 142
|
|
All you need to do is add width="100" and height"100" inside the img tag.
Just change the 100 to whatever dimensions you need.
All the best - Duncan
-------------------- bolitho
Under One Roof
|
JMM
new user
Reg'd: Mon
Posts: 6
|
|
As a rule you shouldn't use pictures larger than those you actually want to see. For example, if you have added an image to a webpage that is 800x600 but have set the varibles to say 400x300 it takes longer to load that picture. Instead use Fireworks (or other such program) to create a duplicate of that picture but resize it to 400x300 and save it as a seperate picture and use the new one. But yes, always add the elements height and width to the <img> tag.
If you don't want the whole page to resize then you will have to use absolute values and not relative. px instead of % for example.
|
|
|