delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

<span class=text>
<b>I want this text to appear normal and not bold.</b>
</span>
Thanks in advance for any help.


I am looking for a way to define my html text as <b>, but then counteract it with css, so that it does not appear bold to the user.
I was thinking something like this but so far it has not worked out.
/* CSS */
.text {font-weight: normal;}
/* HTML */
<span class=text>
<b>I want this text to appear normal and not bold.</b>
</span>
Thanks in advance for any help.

TOP

<html>
<head>
<title>untitled</title>
<style type="text/css">
b .notbold { font-weight: normal; }
</style>
</head>
<body>
<b><span class="notbold">non-bold class inside &lt;b&gt;&lt;/b&gt; tags</span></b><br>
<span class="notbold"><b>non-bold class outside &lt;b&gt;&lt;/b&gt; tags</b></span><br>
<b>&lt;b&gt;&lt;/b&gt; tags alone</b><br>
</body>
</html>
Not sure what the point is though...you can also redefine the inherent formatting of a tag in a style sheet.
readme: http://www.westciv.com/style_master...nheritance.html
http://www.brainjar.com/css/using/default3.asp

TOP

for search engine optimazation, thanks that worked out well...

TOP

Might want to read this:
http://www.apromotionguide.com/css_tricks.html



<span class=text>
<b>I want this text to appear normal and not bold.</b>
</span>
Thanks in advance for any help.

TOP

Back Forum