Jump to content
xisto Community
Sign in to follow this  
mrdee

Image Not Taking The Right Size In Web Page An image is correct when designed, but not when put in a website

Recommended Posts

When trying to make a web page with a GIF image on it which runs a coloured bar along the top and a coloured curve along the side, I come across the weird thing that, when I put the image on a web site, it does not take in the whole top and does not run from top to bottom completely.The image is made in Adobe Photoshop at a resolution of 1024X768 pixela and looks correct , ie. the horizontal bit runs completely from left to righ and the vertical bit completely from topright to bottom right, yet when put in to the web page, it shows with big margins left and right and top and bottom.This is the source code, and I will upload the image as well.Has anyone got any suggestions to get it right?Thanks in ad vance,Mr. Dee.

<html><head><meta http-equiv="Content-Language" content="tr"><meta http-equiv="Content-Type" content="text/html; charset=windows-1254"><title></title><STYLE type=text/css>A:link {	COLOR: darkblue; TEXT-DECORATION: none}A:visited {	COLOR: blue; TEXT-DECORATION: none}A:hover {	COLOR: red; TEXT-DECORATION: underline}INPUT.radio {	BACKGROUND: #c4d1e6; COLOR: #000000}</STYLE></head><body topmargin="0" leftmargin="0" style="background-image: url('index3.gif'); background-repeat: no-repeat; background-attachment: scroll; background-position: left top">	</body></html>

Notice from BuffaloHELP:
Please use the proper bbcode and no reason to sign off with every post--we all can see who made the post.

post-46682-1185213647_thumb.gif

Share this post


Link to post
Share on other sites

well .. i would suggest to slice the image in photoshop.and slice the header, right side(the yellow part) and leftside(the white part).then save for web with html and images.then you open the html in your favorite editor. And you are ready to edit it.But if you want to have the layout to fit any resolution then you have to make a imagewhich repeats itself.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.