<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1023134" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1023134</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142603</link>
    <description> &lt;p&gt;Well, no? On any given page, the  should be the title of the content of the page. There are no children for your&lt;br /&gt;
&lt;h4&gt; so they are not what you should have.&lt;/h4&gt;&lt;/p&gt;
&lt;p&gt;If you have a background in your anchor, you can control the background on hover in all browsers that support it. Move the text over with margins or padding (depending on whether you mind extra spans or not, you can do that as well to control the text).&lt;/p&gt;
&lt;p&gt;i.e.&lt;/p&gt;
&lt;p&gt;Set o&#039; Links&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;&quot;&gt;Link Text&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Where &quot;span&quot; is&lt;br /&gt;
&lt;h4&gt; or
&lt;li&gt; or  or whatever markup you choose.&lt;/li&gt;&lt;/h4&gt;&lt;/p&gt;
&lt;p&gt;Then in the CSS, you can set this:&lt;/p&gt;
&lt;p&gt;#whatever a {&lt;br /&gt;
    background-image: url(someimage.jpg);&lt;br /&gt;
    width: 100%; /* so it&#039;s the same width as the containing element */&lt;br /&gt;
    padding-left: 100px; /* to move the text off the background */&lt;br /&gt;
    }&lt;/p&gt;
&lt;p&gt;#whatever a:hover {&lt;br /&gt;
    background-image: url(anotherimage.jpg);&lt;br /&gt;
    width: 100%; /* so it&#039;s the same width as the containing element */&lt;br /&gt;
    padding-left: 100px; /* to move the text off the background */&lt;br /&gt;
    }&lt;/p&gt;
&lt;p&gt;You&#039;re not doing anything earth-shattering here, it&#039;s been done quite a lot with much fooferah about it -- see &lt;a href=&quot;http://www.alistapart.com&quot; class=&quot;bb-url&quot;&gt;alistapart.com&lt;/a&gt; for how they are handling it (the image replacement) and other ways of going about swapping images using anchors as well as other options.&lt;/p&gt;
&lt;p&gt;Using :first-letter isn&#039;t really working (as you&#039;ve said repeatedly), and trying to force it to comply with your ideas isn&#039;t going to happen. Look at what&#039;s been done before, there is quite a lot of precedent for this behaviour.&lt;/p&gt;
 </description>
     <pubDate>Sat, 13 Dec 2003 02:15:08 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142603 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142602</link>
    <description> &lt;p&gt;The &lt;strong&gt;h4&lt;/strong&gt; headlines may be semantically meaningless but they aren&#039;t meaningless in regards to the content.&lt;/p&gt;
&lt;p&gt; But anyway, more on why that doesn&#039;t matter later.&lt;/p&gt;
&lt;p&gt; I use float so that it is flexible amungst various monitor resolutions. If I designed it all to fit in 800x600 then there would be a bunch of blank space. By floating them, the content dynamicaly fills the space. It&#039;s a personal preference. I&#039;ve never been fond of any site that fills in only a fraction of my monitor (esp. when it&#039;s not centered).&lt;/p&gt;
&lt;p&gt; I&#039;ve styled lists before (my main menu is a list) and I&#039;ve tried the list option you mentioned but it only displays the content horizontally or vertically. Couldn&#039;t get it to do what I have it doing right now.&lt;/p&gt;
&lt;p&gt; Here&#039;s a &lt;a href=&quot;http://capture.danvine.com/results/21423_safari.png&quot; class=&quot;bb-url&quot;&gt;screenshot&lt;/a&gt; of what it looks like on Safari (expires 24hrs). If you open it up in Moz it looks about the same.&lt;/p&gt;
&lt;p&gt; I tried the XHTML with the links within the &lt;strong&gt;h4&lt;/strong&gt; tags but I cannot get the rollovers to work that way. Having the XHTML the way I have it now is the only way those will display properly in any browser.&lt;/p&gt;
&lt;p&gt; I did manage to get the &lt;strong&gt;:first-letter&lt;/strong&gt; pseudo-class to work, but as soon as the mouse hovers over it, it dissapears and stays gone even when the mouse is no longer over it. You&#039;ll see what I mean in Moz.&lt;/p&gt;
&lt;p&gt; I&#039;ll tinker with it more later. I have to move on in getting this site up. If I ever figure it out I&#039;ll post it here.&lt;/p&gt;
&lt;p&gt; Thanks for all the help &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 13 Dec 2003 01:44:45 +0000</pubDate>
 <dc:creator>61Dynamic</dc:creator>
 <guid isPermaLink="false">comment 1142602 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142369</link>
    <description> &lt;p&gt;The headings are semantically meaningless because they don&#039;t head anything. The h4 headings, I&#039;m speaking of. The h3 headings head a list of categories/links.&lt;/p&gt;
&lt;p&gt;You don&#039;t need to float, you can control it all with margins and padding? Have you ever styled a list before? Do you have a screenshot of what you&#039;re seeing? I&#039;m not sure what wrapping effect you&#039;re speaking of.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Dec 2003 04:25:10 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142369 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142368</link>
    <description> &lt;p&gt;Thanks, I&#039;ll give it a wirl and let ya know if it works.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
Actually, I&#039;d probably use a list instead of the semantically meaningless headings, too. There has been a lot of work in this regard for navigation lists, so you should be able to find great results.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; I wouldn&#039;t say the headlines aren&#039;t meaningless, as they are the catagory titles to the primary content of my site.  How would I accomplish that and maintain the wrapping effect I have now? Setting the &lt;strong&gt;li&lt;/strong&gt; tags to float?&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Dec 2003 03:25:36 +0000</pubDate>
 <dc:creator>61Dynamic</dc:creator>
 <guid isPermaLink="false">comment 1142368 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142365</link>
    <description> &lt;p&gt;Actually, I&#039;d probably  use a list instead of the semantically meaningless headings, too. There has been a lot of work in this regard for navigation lists, so you should be able to find great results.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Dec 2003 02:31:34 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142365 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142364</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;div id=&amp;quot;content-box&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h3&amp;gt;Series&amp;lt;/h3&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4 id=&amp;quot;preston&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;s-preston.php&amp;quot; title=&amp;quot;Preston&amp;#039;s Pride&amp;quot;&amp;gt;Preston&amp;#039;s Pride&amp;lt;/a&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4 id=&amp;quot;dunes&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;s-dunes.php&amp;quot; title=&amp;quot;Dunes&amp;quot;&amp;gt;Dunes&amp;lt;/a&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4 id=&amp;quot;bass&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;s-bass.php&amp;quot; title=&amp;quot;Bass&amp;quot;&amp;gt;Bass&amp;lt;/a&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h3&amp;gt;Galleries&amp;lt;/h3&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;In the CSS:&lt;/p&gt;
&lt;p&gt;h4.preston {}&lt;br /&gt;
h4.dunes {}&lt;br /&gt;
h4.bass {}&lt;/p&gt;
&lt;p&gt;h4:first-letter {}&lt;/p&gt;
&lt;p&gt;h4 a {whatever undoes whatever problems you have from your default a declarations}&lt;/p&gt;
&lt;p&gt;h4+h3 { set margins here, don&#039;t use a spacer div }&lt;/p&gt;
&lt;p&gt;Contextual CSS *should* solve your problem better than all those spans and badly formed HTML.&lt;/p&gt;
&lt;p&gt;:hover is only supported on links (anchors) in IE (it works right in other browsers).&lt;/p&gt;
&lt;p&gt;If you&#039;re intending on a particular look, try to rethink the look rather than bastardize the HTML in such a way as rendering the markup meaningless and bloated.&lt;/p&gt;
&lt;p&gt;For instance, if you used padding and background images instead, you&#039;d have the same effect and better usability and better cross-browser consistency with the same results. Put the background images in the anchor, set the anchor to 100%, use padding, not margin.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Dec 2003 02:27:07 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142364 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142361</link>
    <description> &lt;p&gt;Mabye showing my XHTML will help...&lt;/p&gt;
&lt;p&gt;  &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt; &amp;lt;div id=&amp;quot;content-box&amp;quot;&amp;gt;&lt;br /&gt; 	&amp;lt;h3&amp;gt;Series&amp;lt;/h3&amp;gt;&lt;br /&gt;		&amp;lt;span class=&amp;quot;preston&amp;quot;&amp;gt;&lt;br /&gt;				&amp;lt;a href=&amp;quot;s-preston.php&amp;quot; title=&amp;quot;Preston&amp;#039;s Pride&amp;quot;&amp;gt;&amp;lt;h4&amp;gt;Preston&amp;#039;s Pride&amp;lt;/h4&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;		&amp;lt;/span&amp;gt;&lt;br /&gt; 		&amp;lt;span class=&amp;quot;dunes&amp;quot;&amp;gt;&lt;br /&gt;				&amp;lt;a href=&amp;quot;s-dunes.php&amp;quot; title=&amp;quot;Dunes&amp;quot;&amp;gt;&amp;lt;h4&amp;gt;Dunes&amp;lt;/h4&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;		&amp;lt;/span&amp;gt;&lt;br /&gt;		&amp;lt;span class=&amp;quot;bass&amp;quot;&amp;gt;&lt;br /&gt;				&amp;lt;a href=&amp;quot;s-bass.php&amp;quot; title=&amp;quot;Bass&amp;quot;&amp;gt;&amp;lt;h4&amp;gt;Bass&amp;lt;/h4&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;		&amp;lt;/span&amp;gt;&lt;br /&gt;	&amp;lt;div class=&amp;quot;spacer&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;	&amp;lt;h3&amp;gt;Galleries&amp;lt;/h3&amp;gt;&lt;br /&gt; &lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
 That&#039;s part of it anyway. I know having the links wrap around the &lt;strong&gt;h4&lt;/strong&gt; tags doesn&#039;t validate, but it is the only way it will display the layout properly cross-browser.&lt;/p&gt;
&lt;p&gt; The reason my example is &lt;strong&gt;a:first-letter&lt;/strong&gt; is because, like I said before, that&#039;s what makes it work- except for where I want it to work- in the &lt;strong&gt;#content-box&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt; If I were to make it &lt;strong&gt;h4:first-letter&lt;/strong&gt; then nothing would happen because the &lt;strong&gt;h4&lt;/strong&gt; tags are links and thus would be over-written by the link decoration/coloring stuff.&lt;/p&gt;
&lt;p&gt; One would think that by putting &lt;strong&gt;#content-box a:first-letter&lt;/strong&gt; the first-letter would work only within the content box. But since it does not work in to content-box even with nothing coming before &lt;strong&gt;a&lt;/strong&gt;, I would have to assume something else is wrong here. Not just the &lt;strong&gt;:first-letter&lt;/strong&gt; pseudo-class on it&#039;s own but some conflic it&#039;s having with something else. &lt;/p&gt;
&lt;p&gt; That&#039;s where I&#039;m stumped.&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 23:39:12 +0000</pubDate>
 <dc:creator>61Dynamic</dc:creator>
 <guid isPermaLink="false">comment 1142361 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142333</link>
    <description> &lt;p&gt;er... in your CSS example you had a:first-letter, not h4:first-letter... ?!?&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 18:32:33 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142333 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142330</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: the :first-letter psudo element doesn&#039;t work in IE (as far as I know)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;  I wouldn&#039;t doubt it. I&#039;ve never had it working in IE either nor am I too concerned about it showing in IE.&lt;/p&gt;
&lt;p&gt;  So I have the &lt;strong&gt;:first-letter&lt;/strong&gt; thing on &lt;strong&gt;h4&lt;/strong&gt; tags, but by making them hyperlinks, they become anchors?&lt;/p&gt;
&lt;p&gt;  So... what&#039;s the difference between an anchor and a link?&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 18:04:22 +0000</pubDate>
 <dc:creator>61Dynamic</dc:creator>
 <guid isPermaLink="false">comment 1142330 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-decorating-firstletter#comment-1142325</link>
    <description> &lt;p&gt;Headlines are. Anchors are not. Support is spotty at best.&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 15:22:03 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142325 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
