Boxes around images

  • Thread starter Thread starter Guest
  • Start date Start date
I use this style in a general style sheet (style.css) called from my
webpage(s)

img {
border: 0;
margin: 0;
padding: 0;
}

I am not sure how many of these "0" specs are need, but it works for me.
 
By default, all images that have are in a hyperlink will have a border
around them. To get rid of this, you need to set the border attribute of the
image to zero. In FP you can do this by right-clicking on an image and
selecting Image Properties, then set the border option to 0.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Trevor:

You may need to do this -

a img { border:0; }

or even -

a:hover img { border:0; }
 
In code view find the line starting with "Powered by..." and change it to:

Powered by <a href=http://hosting.CFE-Clan.com/><img src="images/cfe.gif"
border="0"> <img Src="images/storage.gif" border="0"> <img
src="images/and.gif" border="0"> <img src='images/image.gif"> <img
src="images/hosting-ad.gif" border="0"></a>

(notice use of quotes)
 
Sorry, if you're going to copy and paste the correct code is:

Powered by <a href=http://hosting.CFE-Clan.com/><img src="images/cfe.gif"
border="0"> <img Src="images/storage.gif" border="0"> <img
src="images/and.gif" border="0"> <img src="images/image.gif" border "0"> <img
src="images/hosting-ad.gif" border="0"></a>

(forgot one quote and border="0" on one of the images in my first post)
 
Well dan that doesn't help, I'm in PHP

I got this $copypic = "<img blahlablahlashlahlahl>"


Then down here $copypic and everything has to be in the echo, I know there
is a problem with using quotes and stuff I tried chaning some things to '...
I think I will try trevor's suggestion.

Thats for tryin for me :D
 
Back
Top