Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Help: "A Tag" extra-space problem
Old 03-08-2007, 06:47 PM Help: "A Tag" extra-space problem
Experienced Talker

Posts: 44
Name: English Hentai Team
Trades: 0
Greetings. I'm having a problem with an "a tag".

I have this piece of code at my page:
Code:
<a href="http://website">
    <img alt="Alt" src="html_files/x" style="background-color: rgb(206, 207, 206);" border="0" height="90" width="14">
</a>
This works fine in IExplorer (it appears this way):
(Picture 1)


But not in Opera, nor Firefox (appears this way):

(Picture 2)



When I delete the "a tag" (so that only the image appears):

Code:
<img alt="Alt" src="html_files/x" style="background-color: rgb(206, 207, 206);" border="0" height="90" width="14">
It displays like Picture 1 in all browsers... But, of course, I need the link... Can anyone tell me how to resolve this problem?

Thanks.
By the way, the website is http://english-hentai.blogspot.com
__________________

Please login or register to view this content. Registration is FREE
ehentai is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-08-2007, 07:50 PM Re: Help: "A Tag" extra-space problem
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
check the stylesheet or the <style> portion of your site... it must be some attribute for the links.
__________________
Jyoz
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 03-09-2007, 03:43 AM Re: Help: "A Tag" extra-space problem
Experienced Talker

Posts: 44
Name: English Hentai Team
Trades: 0
Quote:
Originally Posted by jyoz22 View Post
check the stylesheet or the <style> portion of your site... it must be some attribute for the links.
It isn't... I deleted all styles related to the "A Tag". Still, the problem continued...

It only disappears when I delete the "A Tag"...
__________________

Please login or register to view this content. Registration is FREE
ehentai is offline
Reply With Quote
View Public Profile
 
Old 03-09-2007, 02:44 PM Re: Help: "A Tag" extra-space problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
It isn't... I deleted all styles related to the "A Tag". Still, the problem continued...
Of course it is. If you have not removed all default padding and/or margin from the <a> tag, you will run into this. The other possibility is the line-height for the font size being used.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-09-2007, 05:06 PM Re: Help: "A Tag" extra-space problem
Experienced Talker

Posts: 44
Name: English Hentai Team
Trades: 0
You were right... The source of the problem was in the <a> tag style... The problem was that I deleted the wrong <a> tag.
Thanks for helping...

Anyway, I can't find the reason for this problem. This is the code that was creating problems:
Code:
#sitetitle a{
color:#fe7003;
font-weight:normal;
background-color: #666666;
}

#sitetitle a:hover{
color:#fe7003;
background-color: #666666;
}
When I deleted the "background-color" properties, the problem vanished... Isn't that weird?
__________________

Please login or register to view this content. Registration is FREE
ehentai is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help: "A Tag" extra-space problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28978 seconds with 12 queries