Banner vs. Description Styles

| | Comments (0) |

I had a problem trying to get the "building" link to display correctly in the description. The banner has is an "id" style and the description is a "class". The style for the link kept being picked up from the banner and not the description style in the stylesheet. (Too big!)

buildinglink1.gif

I had to eliminate the "span" from all templates replacing it with its own "div", changing this:

<div id="banner">
<h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName$></a></h1>
<span class="description"><$MTBlogDescription$></span>
</div>

to this:

<div id="banner">
<a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName$></a>
</div>
<div class="description"><$MTBlogDescription$></div>

By removing the span tag, the link I created in the description (building) would adopt the correct style. Otherwise, it kept picking up the banner style. I don't understand the difference between "id=" and "class=".... something to study.


Categories

Leave a comment

About this Entry

This page contains a single entry by Jeb published on June 3, 2003 7:45 PM.

Port Scanner by G-lock was the previous entry in this blog.

Caste System is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.31-en

Good Reads

Flickr Badge

www.flickr.com
This is a Flickr badge showing items in a set called Wallet. Make your own badge here.