
Originally Posted by
Mr.Bill
would it be easier to wrap a div around all of them and then hide that div using something like
<div style:visibility="hidden"></div>
or even with javascript
Seems if something like that would work then it would be less work
inline CSS is not recommended at all and javascript could slow down website performance.
A CSS class is best, you can assign it to any element on any page at any time
What can be more time-saving?
Code:
.hide {
display:none;
visibility: hidden;
}
Code:
...<img class="hide" src="image.gif" alt="" />...
...<div class="hide"><!-- hidden content --></div>...
...<p class="hide">hidden text</p>...
Bookmarks