472,111 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,111 software developers and data experts.

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 1695
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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.