why are there lines on two sides of my graphic

This is a discussion on "why are there lines on two sides of my graphic" within the Web Page Design section. This forum, and the thread "why are there lines on two sides of my graphic are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 18th, 2007, 08:36
New Member
Join Date: May 2007
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
why are there lines on two sides of my graphic

Could anyone help me with this query. I use Dreamweaver. Browser IE. For some reason, when I insert a graphic, sometimes I get a border around the top and right sides of the graphic.

www.studiowebs.co.uk/example1border.html

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
 background-color: #00164F;
}
-->
</style></head>
<body>
<img src="splash.gif" width="700" height="525" />
</body>
</html>

Sometimes, when I do eactly the same with another graphic, I do not get a border.

www.studiowebs.co.uk/example2noborder.html

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
 background-color: #ED008C;
}
-->
</style></head>
<body>
<img src="portalimage.gif" width="631" height="553" />
</body>
</html>
Does anyone know why this is?

Thanks, Matty

Last edited by Matty Brown; May 18th, 2007 at 09:14.
Reply With Quote

  #2 (permalink)  
Old May 18th, 2007, 11:56
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: why are there lines on two sides of my graphic

I copy and pasted the first image with the border into my graphics program. I placed it on a black background and it was clear that there is white space on the two edges. You need to crop that image a little better.

that's all...
Reply With Quote
  #3 (permalink)  
Old May 18th, 2007, 12:18
New Member
Join Date: May 2007
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: why are there lines on two sides of my graphic

Brill! Thanks for your help. I've cropped the image and it looks perfect now.
Matty
Reply With Quote
  #4 (permalink)  
Old May 18th, 2007, 12:20
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: why are there lines on two sides of my graphic

Ah........ isn't life great!
Reply With Quote
Reply

Tags
border, graphic

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
.PNG Shadow on Sides Aerdan Web Page Design 0 Mar 25th, 2008 13:53
Great in IE7, wierd lines in FF dangergeek Web Page Design 19 Mar 1st, 2007 12:53
Dividing lines? joel Databases 0 Nov 3rd, 2005 19:46
Dotted Lines in Tables Andy_H Web Page Design 5 May 29th, 2005 20:53
curved lines gwx03 Graphics and 3D 5 Jun 1st, 2004 14:45


All times are GMT. The time now is 05:09.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43