<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Anmari &#187; css</title>
	<atom:link href="http://webdesign.anmari.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdesign.anmari.com</link>
	<description>Simply effective web services</description>
	<lastBuildDate>Wed, 16 Nov 2011 05:01:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CSS for real html tables</title>
		<link>http://webdesign.anmari.com/240/css-for-real-html-tables/</link>
		<comments>http://webdesign.anmari.com/240/css-for-real-html-tables/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 00:38:11 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Web designers]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=240</guid>
		<description><![CDATA[There are occasions when an HTML table is appropriate. One then wants the data to be presented well. Following are some websites presenting a variety of table styles. Note that a css style may require special css tags in the html. You should check that your application or html has that. EG: alternate row styling [...]
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/1564/ical-events-moved-and-htmlcss-changes/' rel='bookmark' title='Ical events &#8211; moved and html/css changes'>Ical events &#8211; moved and html/css changes</a> <small>For those of you monitoring the RSS feed for ical events, please note two things: All Ical events related work...</small></li>
<li><a href='http://webdesign.anmari.com/182/css-horizontal-menu/' rel='bookmark' title='CSS for horizontal tab menus'>CSS for horizontal tab menus</a> <small>I am having some fun (not!) in finalising some clean elegant css examples for my tab menu widget. I&#8217;m fussy...</small></li>
<li><a href='http://webdesign.anmari.com/113/category-specific-css-to-achieve-a-print-cover-page-css-look/' rel='bookmark' title='Category specific css to achieve a print &#8220;cover page&#8221; css look'>Category specific css to achieve a print &#8220;cover page&#8221; css look</a> <small>For a school&#8217;s online newsletter we wanted the &#8220;photo of the week&#8221; category to present differently from other posts. Ideally...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are occasions when an HTML table is appropriate.  One then wants the data to be presented well.   Following are some websites presenting a variety of table styles.  Note that a css style may require special css tags in the html.  You should check that your application or html has that.  EG: alternate row styling requires the application to issue html with alternating classes for the rows.</p>
<ul>
<li><a href="http://icant.co.uk/csstablegallery/">http://icant.co.uk/csstablegallery/</a></li>
<li><a href="http://www.designshack.co.uk/tutorials/10-css-table-examples">http://www.designshack.co.uk/tutorials/10-css-table-examples</a></li>
</ul>
<p>This one has a little wizard to help you remember the styling options, but requires you to have a design in mind already &#8211; use the above for inspiration, and the bottom for implementation</p>
<ul>
<li><a href="http://www.somacon.com/p141.php">http://www.somacon.com/p141.php</a></li>
</ul>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/1564/ical-events-moved-and-htmlcss-changes/' rel='bookmark' title='Ical events &#8211; moved and html/css changes'>Ical events &#8211; moved and html/css changes</a> <small>For those of you monitoring the RSS feed for ical events, please note two things: All Ical events related work...</small></li>
<li><a href='http://webdesign.anmari.com/182/css-horizontal-menu/' rel='bookmark' title='CSS for horizontal tab menus'>CSS for horizontal tab menus</a> <small>I am having some fun (not!) in finalising some clean elegant css examples for my tab menu widget. I&#8217;m fussy...</small></li>
<li><a href='http://webdesign.anmari.com/113/category-specific-css-to-achieve-a-print-cover-page-css-look/' rel='bookmark' title='Category specific css to achieve a print &#8220;cover page&#8221; css look'>Category specific css to achieve a print &#8220;cover page&#8221; css look</a> <small>For a school&#8217;s online newsletter we wanted the &#8220;photo of the week&#8221; category to present differently from other posts. Ideally...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/240/css-for-real-html-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS for horizontal tab menus</title>
		<link>http://webdesign.anmari.com/182/css-horizontal-menu/</link>
		<comments>http://webdesign.anmari.com/182/css-horizontal-menu/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 04:56:06 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Web designers]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=182</guid>
		<description><![CDATA[I am having some fun (not!) in finalising some clean elegant css examples for my tab menu widget. I&#8217;m fussy &#8211; I want minimal markup, minimal css, no hacks &#38; future proof code, as well as demonstrating or allowing a variety of styles. Some difficulties so far: list item (ol/ul li) white space Yes it [...]
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/137/why-horizontal-scrollbar/' rel='bookmark' title='Why horizontal scrollbar?'>Why horizontal scrollbar?</a> <small>You think your html and css looking good and then you notice &#8211; a horizontal scrollbar when the site should...</small></li>
<li><a href='http://webdesign.anmari.com/113/category-specific-css-to-achieve-a-print-cover-page-css-look/' rel='bookmark' title='Category specific css to achieve a print &#8220;cover page&#8221; css look'>Category specific css to achieve a print &#8220;cover page&#8221; css look</a> <small>For a school&#8217;s online newsletter we wanted the &#8220;photo of the week&#8221; category to present differently from other posts. Ideally...</small></li>
<li><a href='http://webdesign.anmari.com/240/css-for-real-html-tables/' rel='bookmark' title='CSS for real html tables'>CSS for real html tables</a> <small>There are occasions when an HTML table is appropriate. One then wants the data to be presented well. Following are...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I am having some fun (not!) in finalising some clean elegant css examples for my tab menu widget.  I&#8217;m fussy &#8211; I want minimal markup, minimal css, no hacks &amp; future proof code, as well as demonstrating or allowing a variety of styles.</p>
<h2>Some difficulties so far:</h2>
<h3>list item (ol/ul li) white space</h3>
<p>Yes it is there &#8211; for both Firefox and Internet Explorer!  Not a problem if you want to space your menu items out, and/or are not doing interesting stuff with backgrounds.   The answer for the widget I&#8217;m working on seems to be to have concise code!</p>
<p><a href="http://webdesign.anmari.com/wp-content/uploads/2008/07/Tabmenubasic.html">See the test page with image examples here.</a></p>
<p><a href="http://webdesign.anmari.com/wp-content/uploads/2008/07/Tabmenubasic.html"></a>Rob Glazebrook has some comments on the<a href="http://www.cssnewbie.com/fixing-ie6-whitespace-bug/"> whitespace problem here.</a></p>
<p>Some example ideas:</p>
<div id="attachment_264" class="wp-caption aligncenter" style="width: 510px"><a href="http://webdesign.anmari.com/wp-content/uploads/2008/08/tabmenuexamplesmh.png"><img class="size-full wp-image-264" title="tabmenuexamplesmh" src="http://webdesign.anmari.com/wp-content/uploads/2008/08/tabmenuexamplesmh.png" alt="SMH example" width="500" height="175" /></a><p class="wp-caption-text">SMH example</p></div>
<p>More later&#8230;..</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/137/why-horizontal-scrollbar/' rel='bookmark' title='Why horizontal scrollbar?'>Why horizontal scrollbar?</a> <small>You think your html and css looking good and then you notice &#8211; a horizontal scrollbar when the site should...</small></li>
<li><a href='http://webdesign.anmari.com/113/category-specific-css-to-achieve-a-print-cover-page-css-look/' rel='bookmark' title='Category specific css to achieve a print &#8220;cover page&#8221; css look'>Category specific css to achieve a print &#8220;cover page&#8221; css look</a> <small>For a school&#8217;s online newsletter we wanted the &#8220;photo of the week&#8221; category to present differently from other posts. Ideally...</small></li>
<li><a href='http://webdesign.anmari.com/240/css-for-real-html-tables/' rel='bookmark' title='CSS for real html tables'>CSS for real html tables</a> <small>There are occasions when an HTML table is appropriate. One then wants the data to be presented well. Following are...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/182/css-horizontal-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why horizontal scrollbar?</title>
		<link>http://webdesign.anmari.com/137/why-horizontal-scrollbar/</link>
		<comments>http://webdesign.anmari.com/137/why-horizontal-scrollbar/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 07:02:00 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Web designers]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=137</guid>
		<description><![CDATA[You think your html and css looking good and then you notice &#8211; a horizontal scrollbar when the site should not need to scroll! Reasons for a scrollbar They all come down to the same thing &#8211; the browser thinks it needs a bit more space&#8230;&#8230; Some situations that may trigger this perception or actual [...]
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/182/css-horizontal-menu/' rel='bookmark' title='CSS for horizontal tab menus'>CSS for horizontal tab menus</a> <small>I am having some fun (not!) in finalising some clean elegant css examples for my tab menu widget. I&#8217;m fussy...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>You think your html and css looking good and then you notice &#8211; a horizontal scrollbar when the site should not need to scroll!</p>
<h3>Reasons for a scrollbar</h3>
<p>They all come down to the same thing &#8211; the browser thinks it needs a bit more space&#8230;&#8230;  Some situations that may trigger this perception or actual need:</p>
<ul>
<li>100% width, plus some padding makes it more than 100%!</li>
<li>100% width, plus Italics : IE has to make it <em>just that bit wider</em> for the italics, perhaps forcing a horizontal scrollbar.</li>
<li>&lt;pre&gt; preformatted code that is wider than it&#8217;s containing element.</li>
</ul>
<h3>Using overflow just hides the problem</h3>
<p>A number of sites will advise using the overflow property to get rid of it.  That may well bandaid it and admittedly it is a quick fix.</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/182/css-horizontal-menu/' rel='bookmark' title='CSS for horizontal tab menus'>CSS for horizontal tab menus</a> <small>I am having some fun (not!) in finalising some clean elegant css examples for my tab menu widget. I&#8217;m fussy...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/137/why-horizontal-scrollbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a set of nested div&#8217;s clickable like a link or href element</title>
		<link>http://webdesign.anmari.com/130/clickable_link_nested_divs/</link>
		<comments>http://webdesign.anmari.com/130/clickable_link_nested_divs/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 05:09:03 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Web designers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[grids]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://www.webdesign.anmari.com/?p=130</guid>
		<description><![CDATA[The need: make a set of nested div&#8217;s clickable, like one big image The Auto CSS Layout generator has preview pages. In these we wanted the real html templates and the real tableless CSS required for each particular layout to be used, rather than screen dumps. this seemed like a more ethical approach and also [...]
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/layout-generator/' rel='bookmark' title='Layout Generator'>Layout Generator</a> <small>The CSS Layout generator generates tableless CSS only layouts or grids that have A-grade browser support. Unlike Yahoo Grids it...</small></li>
<li><a href='http://webdesign.anmari.com/157/widgetized-headers-and-footers/' rel='bookmark' title='Widgetized headers and footers?'>Widgetized headers and footers?</a> <small>Dynamic (widgetized) Sidebars are great, but would you not like to have a dynamic header and footer in your theme...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>The need: make a set of nested div&#8217;s clickable, like one big image</h3>
<p>The <a title="Link to a CSS Layout Generator" href="http://www.webdesign.anmari.com/web-tools/layout-generator/">Auto CSS Layout generator</a> has preview pages.  In these we wanted the real html templates and the real tableless CSS required for each particular layout to be used, rather than screen dumps.  this seemed like a more ethical approach and also allowed one to &#8220;test&#8221; all the layouts in one go.  We also wanted the user to be able to &#8220;click&#8217; on the preview to choose the layout style, just like a normal link.</p>
<p>You can see a working test demo of the preview<a title="Link to a test web page showing clickable nested divs" href="http://www.anmari.com/testing/keeptest_divhref.html"> here.</a></p>
<h3>The problem: Link elements are empty</h3>
<p>However we had no images to use and a link element is by definition empty &#8211; it may not contain div&#8217;s &#8211; let alone a set of nested divs.</p>
<h3>The problem2:  No content</h3>
<p>In a multi layout situation, we did not want the screen to be too busy, so we did not want superfluous &#8220;content&#8221; for our clickable links.</p>
<h3>The answer: Clickable space links that are displayed as blocks</h3>
<p>Since some &#8220;content&#8221; is needed to make sure that the div&#8217;s do not collapse, we use the old space &#8221; &#8221; &#8211; in each div that needed content.  We made each space a link to the same &#8220;chosen layout&#8221; page.  In the CSS we then made the links in the nested div&#8217;s display as block elements and that seemed to do the trick!</p>
<p><a title="Link to the test html" href="http://www.anmari.com/testing/keeptest_divhref.html">View the test</a> and view source to see the code.</p>
<h4>css:</h4>
<p><code>div.container a  {display: block; text-decoration: none;}</code></p>
<h4>html:</h4>
<pre><code>&lt;div class="container"&gt;
  &lt;div class="header"&gt;
       &lt;a href="http://www.webdesign.anmari.com/web-tools/layout-generator/"
        title="The header or branding div" &gt;     &lt;/a&gt;
  &lt;/div&gt;
  &lt;div class="wrapper"&gt;
    &lt;div class="content"&gt;
      &lt;a href="http://www.webdesign.anmari.com/web-tools/layout-generator/"
      title="The content div"&gt;      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="nav"&gt;&lt;a href="http://www.webdesign.anmari.com/web-tools/layout-generator/"
     title="The navigation div"&gt;      &lt;/a&gt;&lt;/div&gt;
  &lt;div class="extra"&gt;&lt;a href="http://www.webdesign.anmari.com/web-tools/layout-generator/"
     title="The extra or sidebar div"&gt;      &lt;/a&gt;&lt;/div&gt;
&lt;div class="footer"&gt;&lt;a href="http://www.webdesign.anmari.com/web-tools/layout-generator/"
     title="The footer div"&gt;      &lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</code></pre>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/layout-generator/' rel='bookmark' title='Layout Generator'>Layout Generator</a> <small>The CSS Layout generator generates tableless CSS only layouts or grids that have A-grade browser support. Unlike Yahoo Grids it...</small></li>
<li><a href='http://webdesign.anmari.com/157/widgetized-headers-and-footers/' rel='bookmark' title='Widgetized headers and footers?'>Widgetized headers and footers?</a> <small>Dynamic (widgetized) Sidebars are great, but would you not like to have a dynamic header and footer in your theme...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/130/clickable_link_nested_divs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

