Click to See Complete Forum and Search --> : Black Background Nitemare!
lex luther
08-13-2006, 09:45 PM
Its like this. I have created a small graphic in COrel 10 and exported it in jpg format for use on my webpage. The graphic has a black background and when I place it on my page (which also has a black background - Using Dreamweaver 8) , the graphic shows a border. I checked Corel, removed any outline etc....tried every other expoert option png, gif etc. Tried same this from Illustrator, photoshop ...... no luck .... CANT GET RID OF BORDER. Whats the deal ...... please help .......
Red Kittie Kat
08-13-2006, 09:55 PM
Is it showing a blue or purple border?
lex luther
08-13-2006, 10:00 PM
kinda a grey / white border
Red Kittie Kat
08-13-2006, 11:05 PM
are you sure the black background of the image is the same shade as the main background?
Did you set your body to have a border?
otherwsie try overlapping your image with the border and set a crop. Then save a jpg, gif, etc.
resdog
08-14-2006, 09:19 PM
I know you probably already did this, but just so it's been addressed, does that border show up when you preview the page, or is it just visible in the design window? Have you "unselected" the image in Dreamweaver (i.e.-clicked somewhere else on the page)? Just wanted to make sure you did the obvious first (not to impunge your intellegence).
in dreamweaver, check to see that border is set to zero when you select the image
xplod_ldg
08-15-2006, 09:37 PM
In the <img> tag add border="0". I don't know another solution.
Jackimalyn
08-15-2006, 09:45 PM
yea, im doing a page now that I dont want a border but one shows up in dreamweaver. when i preview the page, though, its gone
lex luther
08-16-2006, 05:22 PM
hey guys n gals, thanks for the responses. I half figured the prob out, its not dreamweaver! If I check the image (jpeg) by zooming in ... you can see the white hairline border. I exported the image from Corel 10. The image DOES NOT have a border in corel. WHAT AM I DOING WRONG??
SharkFinStudios
08-16-2006, 05:33 PM
Can you just go into Photoshop and crop out the white border you are seeing?
I am not sure with Corel, but I know older versions of Illy showed a borger in some .gif files when they were saved out. They have since corrected the problem (Many moons ago).
If I had Corel 10 I'd try it out, but alas, I do not.
chris_bcn
08-16-2006, 06:37 PM
In the <img> tag add border="0". I don't know another solution.
That's invalid markup - don't do that. If you want to set borders for your images then do it in the CSS.
best bet would be to crop it out as sharkfin suggested. Try postin in hte corel forum here - I've never used any of there products.
JPnyc
08-16-2006, 07:32 PM
It's not invalid per se, depending on the doctype. With some it is, with some it isn't.
there's a thing in illustrator where if you have your artwork setup with dimensions other than integers, or positioned at say 1.2px it will have to add .8px of white space because jpegs can't have half a pixel.
make sure all your image dimensions are example
100 pixels x 100 pixels
and x is 10 and y is 10
or whatever it needs to be.
i'm assuming corel draw would be the same because it's vector based and therefore allows you to have decimal places in your pixel positions
chris_bcn
08-16-2006, 08:58 PM
It's not invalid per se, depending on the doctype. With some it is, with some it isn't.
True, but I firmly believe any NEW site should have a strict doctype - xhtml or html - and there is no attribute border in html 4.01 or XHTML 1.0
JPnyc
08-16-2006, 09:10 PM
Well it depends. I still use trans once in a while.