Reply to Re: CSS and body margins

Your name:

Reply:


Posted by Chris F.A. Johnson on 09/13/06 23:56

On 2006-09-13, Christoph wrote:
>> Sorry Christoph I confused myself, it was not the 'bookends' example but
>> the following one with the 'lefty' and 'righty' nested DIVs:
>> Here is a mockup of your site to show you, CSS in in the HEAD and
>> annotated for you:
>> http://www.littleworksstudio.com/temp/usenet/alt.html.20060906.html
>> I think this is what you are after...
>
> I'm curious, why is it if I take the style definition out of the html page,
> put
> it into a seperate CSS page and link to that page
>
><link rel="stylesheet" type="text/css" href="ch_home.css">
>
> it doesn't look like it does when the style definition is part of the
> original
> page? What's going on? I didn't change any of the style definition. It
> was just a cut and paste into the .css file. Is my link tag wrong somehow?

What's different?

Did you put the <style> tags in the file? If so, remove them.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация