By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,676 Members | 1,773 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,676 IT Pros & Developers. It's quick & easy.

Problem assigning style to the hs in this block:

P: n/a
For some reason the text in h2 tag is displaying as white in IE.

http://www.salperalta.com/

<td class="sidebar" id="sidebar-right">
<div class="block block-listing" id="block-listing-0">
<h2>Easy MLS Search for Oregon and Southwest Washington:</h2>
<div class="content">
</div>
</div>
</td>

..sidebar .block h2 {
padding: 3px 0 0 0;
margin: 0;
margin-left: 3px;
font-size: 12px;
color: black;
}

h2 { font-size: 15px; color: black;}
..sidebar .block block-listing h2 {
padding: 3px 0 0 0;
margin: 0;
margin-left: 3px;
font-size: 12px;
color: black;
}

h2 { font-size: 15px; color: black;}
body {
color: #000000;
background: #ffffff;
font-family: Verdana, Helvetica, Arial, Lucida, sans-serif;
padding: 0;
margin: 0;
}

Jan 29 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 28 Jan 2007 19:56:19 -0800, in
comp.infosystems.www.authoring.stylesheets
sp******@progressivetrail.org
<11*********************@v45g2000cwv.googlegroups. comwrote:
>| For some reason the text in h2 tag is displaying as white in IE.
|
| http://www.salperalta.com/
|
| <td class="sidebar" id="sidebar-right">
| <div class="block block-listing" id="block-listing-0">
| <h2>Easy MLS Search for Oregon and Southwest Washington:</h2>
| <div class="content">
| </div>
| </div>
| </td>
|
| .sidebar .block h2 {
| padding: 3px 0 0 0;
| margin: 0;
| margin-left: 3px;
| font-size: 12px;
| color: black;
| }
|
| h2 { font-size: 15px; color: black;}
|
|
| .sidebar .block block-listing h2 {
| padding: 3px 0 0 0;
| margin: 0;
| margin-left: 3px;
| font-size: 12px;
| color: black;
| }
|
| h2 { font-size: 15px; color: black;}
|
|
| body {
| color: #000000;
| background: #ffffff;
| font-family: Verdana, Helvetica, Arial, Lucida, sans-serif;
| padding: 0;
| margin: 0;
| }
Firebug is reporting these errors. Try fixing them and see if the
problem still exists.
----------------------------------------------------------
line 107 column 35 - Warning: missing </abefore <h2>
line 108 column 5 - Warning: inserting implicit <a>
line 116 column 1 - Warning: discarding unexpected </a>
line 116 column 5 - Warning: replacing <pby <br>
line 116 column 5 - Warning: inserting implicit <br>
line 116 column 5 - Warning: <brelement not empty or not closed
line 199 column 69 - Warning: <imgelement not empty or not closed
line 215 column 4 - Warning: <imgelement not empty or not closed
line 225 column 42 - Warning: <imgelement not empty or not closed
line 230 column 4 - Warning: <brelement not empty or not closed
line 233 column 69 - Warning: <imgelement not empty or not closed
line 233 column 343 - Warning: <brelement not empty or not closed
line 234 column 69 - Warning: <imgelement not empty or not closed
line 234 column 369 - Warning: <brelement not empty or not closed
line 235 column 69 - Warning: <imgelement not empty or not closed
line 235 column 347 - Warning: <brelement not empty or not closed
line 109 column 4 - Warning: <imglacks "alt" attribute
line 115 column 9 - Warning: <imglacks "alt" attribute
line 121 column 110 - Warning: <imglacks "alt" attribute
line 122 column 87 - Warning: <imglacks "alt" attribute
line 123 column 87 - Warning: <imglacks "alt" attribute
line 124 column 87 - Warning: <imglacks "alt" attribute
line 125 column 87 - Warning: <imglacks "alt" attribute
line 126 column 87 - Warning: <imglacks "alt" attribute
line 127 column 86 - Warning: <imglacks "alt" attribute
line 173 column 69 - Warning: <imglacks "alt" attribute
line 188 column 130 - Warning: <aescaping malformed URI reference
line 188 column 220 - Warning: <aescaping malformed URI reference
line 188 column 296 - Warning: <aescaping malformed URI reference
line 188 column 382 - Warning: <aescaping malformed URI reference
line 188 column 470 - Warning: <aescaping malformed URI reference
line 188 column 556 - Warning: <aescaping malformed URI reference
line 188 column 636 - Warning: <aescaping malformed URI reference
line 199 column 69 - Warning: <imglacks "alt" attribute
line 203 column 64 - Warning: <aescaping malformed URI reference
line 203 column 146 - Warning: <aescaping malformed URI reference
line 203 column 380 - Warning: <aescaping malformed URI reference
line 203 column 478 - Warning: <aescaping malformed URI reference
line 203 column 566 - Warning: <aescaping malformed URI reference
line 203 column 646 - Warning: <aescaping malformed URI reference
line 215 column 4 - Warning: <imglacks "alt" attribute
line 217 column 64 - Warning: <aescaping malformed URI reference
line 217 column 138 - Warning: <aescaping malformed URI reference
line 217 column 218 - Warning: <aescaping malformed URI reference
line 217 column 304 - Warning: <aescaping malformed URI reference
line 217 column 380 - Warning: <aescaping malformed URI reference
line 217 column 468 - Warning: <aescaping malformed URI reference
line 217 column 568 - Warning: <aescaping malformed URI reference
line 225 column 42 - Warning: <imglacks "alt" attribute
line 233 column 69 - Warning: <imglacks "alt" attribute
line 234 column 69 - Warning: <imglacks "alt" attribute
line 235 column 69 - Warning: <imglacks "alt" attribute
line 236 column 204 - Warning: <aescaping malformed URI reference
line 236 column 354 - Warning: <aescaping malformed URI reference
line 236 column 458 - Warning: <aescaping malformed URI reference
line 236 column 540 - Warning: <aescaping malformed URI reference
line 236 column 626 - Warning: <aescaping malformed URI reference
line 236 column 706 - Warning: <aescaping malformed URI reference
line 107 column 24 - Warning: trimming empty <p>
line 131 column 3 - Warning: trimming empty <h2>
line 137 column 3 - Warning: trimming empty <h2>

0 errors / 61 warnings
---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Jan 29 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.