FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

adding link to images..the whole thing gets messed up?

 


ncwdavid
Hey,
I have just made a header for my site on photoshop and sliced it and then save it. Then i fix all the tables up in dreamweaver and it looked perfect. Then i put a link around one of the images and it kind of turned purple around the image and that cuase everything else to scatter all around the page. Any ideas? thanks for your help in advance.
sonam
Jeah, you need to put in img definition:

Code:
border="0"


Sonam
ncwdavid
ok thanks for that. I should of thought of that myself.
rohan2kool
sonam wrote:
Jeah, you need to put in img definition:

Code:
border="0"


Sonam


that's gonna give you problems with validation. Use this instead:

Code:

<img src="imagelocation" alt="" style="border: none" />
mathiaus
I'll extend on this further. Smile
You need to that for each and every one of your img tags which is a pain. It makes your code longer which will in turn use more bandwidth! I suggest using one line in your css file. This line will apply to all images.
Code:
img { border: 0px; }
The_Gamer294
ugh! mathiaus you took my idea -_-
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.