Strange <a> CSS Property (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


markhawker -> Strange <a> CSS Property (7/24/2007 13:34:14)

Hey all. I've stumbled across a really peculiar "feature" that I'm not sure why it is happening. It's causing a link tag to be extended by a space. As it would if the link were <a href="#">Text </a> when the link is definitely <a href="#">Text</a>.

Is there any CSS that could alter do this?

[image]local://upfiles/11548/3158B5EC679A4B72BE5A909576E8A30A.gif[/image]




Tailslide -> RE: Strange <a> CSS Property (7/24/2007 14:15:23)

I guess it could be caused by padding. Can we see the link concerned live?




rdouglass -> RE: Strange <a> CSS Property (7/24/2007 14:19:15)

Is it fed by a DB that might be 'padding' it? It kinda' looks like it may be DB results.

I know *some* developers (not me of course[;)]) use a space by default in their DB results just to preserve table formatting when there are no results, to avoid Nulls, and things like that.

Just a thought.




markhawker -> RE: Strange <a> CSS Property (7/24/2007 14:39:19)

It's actually fed via Facebook FBML which I have no control over. I managed to sort it with a margin-right: -5px; although this was quite hacky!

Cheers for the suggestions.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875