Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 12-13-2008, 06:26 AM   #1
New Member
 
Join Date: Dec 2008
Posts: 5
Exclamation Image positioning help

Hi. I'm trying to place an image flush to the top-left edges of the screen - but no matter what I try, I get a "margin" (white space) to the top and to the left of the image.

See below link:
http://www.grafx.dk/testSite/index.html

Now. I'm aware that I can insert this graphic as a background and thus get rid of the white space - but I need to do it as an image in order to use it to define hotspots for links, as it's a menu bar.
I've tried using it in a frameset - and that doesn't seem to make any difference. Nothing I do gets rid of this whitespace to the left and top (the top especially is important - I can live with 5 pixels of whitespace to the left).
Anyone who can help?
j3ron is offline   Reply With Quote


Old 12-13-2008, 07:26 AM   #2
New Member
 
Join Date: Dec 2008
Posts: 5
Default

Got it figured out - I just needed to zero the margins and padding.



Code:
body {
background-color: #1c1811;
}

Becomes:

body {
margin: 0;
padding: 0;
background-color: #1c1811;
}
j3ron is offline   Reply With Quote
Old 12-17-2008, 01:36 AM   #3
Bronze Member
 
Join Date: Nov 2008
Posts: 70
Default

Yes, sometimes you have to tell your web page what you want, "no margin" is an order, it is interesting that the margin is default and not something that you should have to add in.
specialk is offline   Reply With Quote
Reply

Tags
graphics design, image, margins, white space

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:29 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.