Jump to content
xisto Community
Sign in to follow this  
unicykel

How To Align Grafic To Screen Edge

Recommended Posts

I am using Deramweaver to make my homepage, but I have a challenge. I can not get my logo (a GIF grafic) all the way to the edge of the browser.I guess I will have to insert some code manually. I dont thing Dreamweaver can do it.Can anyone help me with some code?

Share this post


Link to post
Share on other sites

all the way to the edge? You mean either on the left or right? Just set the margins to 0 (zero) and it should work. I'm sure Dreamweaver is capable of this...but I'm not a hundred percent sure being that I'm a notepad user =P

if all else fails, put this as your body:

<body margins="0">
or do it through css:
<style>body{margin:0;}</style>

Share this post


Link to post
Share on other sites

Thanks. That is part of the solution. The problem is that it takes EVERY THING to the boarder.The logo is in the same frame as my menu, and the menu is not going to bee all the way to the edge.How can I get it to be only the picture?I first tried to use the pure code, but I could not figure out where to place it. In what area of the coding is that going to be?

Share this post


Link to post
Share on other sites

<img style="float:left;" src="">or float: right; whatever.CSS rules your behind.

Share this post


Link to post
Share on other sites

Another way is this

<divstyle="position:absolute;left:0;top:0;WIDTH=0;HEIGHT=0;">

You can set it anywhere by changeing the top and left poistion. Its in pixals as usual and you can set it anywhere. Its a good bit of code even if there are shorter ways to go about it.

Share this post


Link to post
Share on other sites

I'm going to say the best way would be by CSS.

<html><head><title></title><style type="text/css">body {margin: 0;padding: 0;}</style></head><body><img src="YOUR URL" width="?" height="?"></body></html>

That should do the trick.

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.