469,125 Members | 1,685 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,125 developers. It's quick & easy.

strange <strong> - problem

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
Apr 12 '06 #1
3 1644
Els
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/
Apr 12 '06 #2
Els
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/
Apr 12 '06 #3
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" <el*********@tiscali.nl> schreef in bericht
news:14****************************@40tude.net...
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/

Apr 14 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.