how can i turn off image border

Thread Solved

Join Date: Jun 2008
Posts: 10
Reputation: acediamond is an unknown quantity at this point 
Solved Threads: 0
acediamond acediamond is offline Offline
Newbie Poster

how can i turn off image border

 
0
  #1
Jun 28th, 2008
I am using an image on a background with the same color as the image. The image border is turned off but I still see a line where the colors should mesh seamlessly.
Just a little background, I am a first year CS student and have only taken an introductory class to HTML. I am trying to build a website using frames for my fiance. The navigation page is what I am working on which will have her logo from a business card image.

HTML and CSS Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <title>
  4. Greta Conrad
  5. </title>
  6. </head>
  7.  
  8. <body bgcolor = "#1f1a17">
  9. <table align = "center">
  10. <tr>
  11. <td>
  12. <img border = "" alt = "Greta Conrad - Home" src = "businessimages/gc_front.jpg">
  13. <img src = "futon2.jpg"><br />
  14. <img src = "futon3.jpg">
  15.  
  16. </td>
  17. </tr>
  18. </table>
  19.  
  20. </body>
  21. </html>
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 31
Reputation: DGStudios is an unknown quantity at this point 
Solved Threads: 3
DGStudios DGStudios is offline Offline
Light Poster

Re: how can i turn off image border

 
0
  #2
Jun 28th, 2008
HTML and CSS Syntax (Toggle Plain Text)
  1. <img style="border: 0px;" src="url" />

use the style ability within most tags and use the CSS call to get rid of borders. if it still isn't working... .delete IE download firefox and try again on a real browser.
Thank you.
http://img.photobucket.com/albums/v6.../dgstudios.jpg
When all that is becomes one. That is the anomoly. That is... Death's Gate Studios (c) 2005
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 302
Reputation: sreein1986 is an unknown quantity at this point 
Solved Threads: 33
sreein1986's Avatar
sreein1986 sreein1986 is offline Offline
Posting Whiz

Re: how can i turn off image border

 
0
  #3
Jun 30th, 2008
above code is correct,
i am helping one more option for not this problem what is that means please take one image in only one TD and also give your background color in style properties

check this code
HTML and CSS Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <title>
  4. Greta Conrad
  5. </title>
  6. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><STYLE TYPE="text/css">
  7. <!--
  8. body {
  9. background-color: #1f1a17;
  10. }
  11. -->
  12. </STYLE></head>
  13. <body>
  14. <table align = "center">
  15. <tr>
  16. <td> <img alt = "Greta Conrad - Home" src = "businessimages/gc_front.jpg" STYLE="border: 0px;"></TD>
  17. <TD><img src = "futon2.jpg" STYLE="border: 0px;"></TD>
  18. <TD><img src = "futon3.jpg" STYLE="border: 0px;"></TD>
  19. </tr>
  20. </table>
  21.  
  22. </body>
  23. </html>
Thanx,
Shiriyal

http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 10
Reputation: acediamond is an unknown quantity at this point 
Solved Threads: 0
acediamond acediamond is offline Offline
Newbie Poster

Re: how can i turn off image border

 
0
  #4
Jun 30th, 2008
Thank you for your time Sreekanth. I was able to use my css to table(background-color: #1f1a17 to blend away the left and right vertical lines but the top and bottom horizontal lines are still there. I could make it work but I know there has to be a way to blend away those lines. Is there a style for the 3D background color? I am not good at css so please spell out the code for me.
And I am running firefox 3 and have been running firefox for years.
On a side note, changing your browser is not going to fix the problem for those IE users. I did not care for DGstudios reply about browsers. I feel your code should work for all types of browsers and devices because today's audience is using all types of browsers and devices.
Last edited by acediamond; Jun 30th, 2008 at 2:12 am.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 302
Reputation: sreein1986 is an unknown quantity at this point 
Solved Threads: 33
sreein1986's Avatar
sreein1986 sreein1986 is offline Offline
Posting Whiz

Re: how can i turn off image border

 
0
  #5
Jun 30th, 2008
if you want 3d Background then you will design in Photoshop using with filters and add as a background with using css ...
Thanx,
Shiriyal

http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 10
Reputation: acediamond is an unknown quantity at this point 
Solved Threads: 0
acediamond acediamond is offline Offline
Newbie Poster

Re: how can i turn off image border

 
0
  #6
Jun 30th, 2008
Would you please show me the code to accomplish this is css. I understand the background image concept and love the idea but I don't know css except how to link them and a couple basic attributes. Will the image auto size to fit each frame?
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 302
Reputation: sreein1986 is an unknown quantity at this point 
Solved Threads: 33
sreein1986's Avatar
sreein1986 sreein1986 is offline Offline
Posting Whiz

Re: how can i turn off image border

 
0
  #7
Jun 30th, 2008
HTML and CSS Syntax (Toggle Plain Text)
  1. .mainstylesheet{
  2. background-image: background url; /*give your location of the image background*/
  3. background-repeat:no-repeat; /*if you want repeat then instead of no-repeat put repeat*/
  4. border:0 px; /*give the border size*/
  5. }

post this code between head tag in Style tag
Last edited by sreein1986; Jun 30th, 2008 at 3:27 am.
Thanx,
Shiriyal

http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 31
Reputation: DGStudios is an unknown quantity at this point 
Solved Threads: 3
DGStudios DGStudios is offline Offline
Light Poster

Re: how can i turn off image border

 
0
  #8
Jun 30th, 2008
Just my own little note in my defense.

My joke was not about IE in general as it runs pretty much as well as the other bowsers as far as CSS. However the Javascript and CSS support in IE7 is terrible and as such things that work in previous versions of IE and are standard W3C compliant css and JS do not work in IE7.

I too believe in universal compatibility there are sometimes when it is not possible however, as CSS and JS are both handled differently by each browser. You can do browser detection for it, however, IE7 is a whole new monster that even by Microsofts own admission FAILED when it comes to CSS and JS rendering and execution.

My statement was simply a joke based on that.
http://img.photobucket.com/albums/v6.../dgstudios.jpg
When all that is becomes one. That is the anomoly. That is... Death's Gate Studios (c) 2005
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 67
Reputation: casper_wang is an unknown quantity at this point 
Solved Threads: 6
casper_wang's Avatar
casper_wang casper_wang is offline Offline
Junior Poster in Training

Re: how can i turn off image border

 
0
  #9
Jul 2nd, 2008
if you want your site to be seamless try using css to set your tables rather than use frames.
Frames are a thing of the past and most people today dont like them because most new web developers dont know how to render it properly to allow the user to break out of the frame.
If I helped in solving your issue please Add to "MY Reputation" and most important: "Mark as solved"
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: how can i turn off image border

 
0
  #10
Jul 7th, 2008
I had this happen several years ago.

It turned out that the photo processing company had placed white edges on the digital files. This happened because my camera exposed the negatives in an area slightly undersized, compared to their scanner. I had to use a photo editor to crop the photo.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC