we could just wrap all those things in one extra layer of div or span tags
IMO, the markup here at the monestary is already pretty heavy. I'm also not a CSS expert, but is there any way to write a rule such that it applies to elements with a set of specified classes? For instance, if I had
<div class="node-from 57755">Look ma, a div from thor!<div>
that there'd be a way to specify "apply these rules only to elements that have both class node-from and class 57755"? If so, that's what I'd suggest. That way, if you want to ignore me, you can just put:
.57755 {
display: none;
}
in your CSS and be done with it.
thor
The only easy day was yesterday
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|