This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > April 2006 > strange <strong> - problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author strange <strong> - problem
Mr. T.

2006-04-12, 6:47 pm

Hi,

i've got a strange problem with text marked as <strong></strong>

On this page: http://www.baekelandfonds.be/content/view/14/20/ you can
notice there's a large space between "wordt" and "operationeel beheer" that
shouldn't be there.

The moment i take away the <strong> everything is fine, but the moment i
mark text as <strong> it gets that space. Anyone got an idea?

I validated the css and the page through w3 validators and i have looked
into all the tags in the css but i totally can't find what goes wrong.

I even have no special tag for <strong> in my css. But even if i do, and put
something in, it doesn't change.

Any help would be greatly appreciated!

Thx,

Thomas


Els

2006-04-12, 6:47 pm

Mr. T. wrote:

> Hi,


Goeiemiddag :-)

> i've got a strange problem with text marked as <strong></strong>
>
> On this page: http://www.baekelandfonds.be/content/view/14/20/ you can
> notice there's a large space between "wordt" and "operationeel beheer" that
> shouldn't be there.
>
> The moment i take away the <strong> everything is fine, but the moment i
> mark text as <strong> it gets that space. Anyone got an idea?


From your stylesheet:
..rechts * {margin-left: 15px;}

Any element inside your div.rechts has a margin-left of 15px :-)
This includes <strong> inside <p> inside <td> inside <tr> inside
<table> inside <div class="right">.

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Els

2006-04-12, 6:47 pm

Els wrote:

> .rechts * {margin-left: 15px;}
>
> Any element inside your div.rechts has a margin-left of 15px :-)
> This includes <strong> inside <p> inside <td> inside <tr> inside
> <table> inside <div class="right">.


I meant <div class="rechts"> of course...

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Mr. T.

2006-04-14, 3:45 am

Hello,

thx alot! That was it indeed! Removed that line and added margin-left of 15
px to the specific elements that needed it.

Thx!

Regards,

Thomas

"Els" <els.aNOSPAM@tiscali.nl> schreef in bericht
news:142zi38y5lc8d.vb82tbmw4t45.dlg@40tude.net...
> Els wrote:
>
>
> I meant <div class="rechts"> of course...
>
> --
> Els http://locusmeus.com/
> accessible web design: http://locusoptimus.com/



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews