You are here: Re: images using css « HTML « IT news, forums, messages
Re: images using css

Posted by Jonathan N. Little on 08/29/06 15:54

Wombatwal wrote:

!TOP POSTING CORRECTED!

> "Andrew" <sorry.no.email@post_NG.com> wrote in message
> news:kpf7f21ch6cvkomp443jb4oc6cl2avur6g@4ax.com...
>> On Tue, 29 Aug 2006 00:30:53 GMT, "Wombatwal"
>> <bartsimpson@hotmail.com> wrote:
>>
>>> G'day all
>>> I am starting a Family History web site.
>>> I have a logo in the form of a small jpeg image.
>>> How do I code that into my css page so it will appear on every page.
>>> Thanks
>> Hi Bruce,
>>
>> I see someone has already helped you with the logo. Just a little
>> [OT] welcome to the Family History web site world! I have been doing
>> my father's site for several years now: see the signature file.
>>

> Thanks Andrew.
> I have not got my head around the basics of CSS as yet.
> I still cannot work out how to code my external style sheet to put this
> image on every page.
> Ed asked if I was using it as a header, footer, link etc, I do not really
> know.
> Maybe a link, but I do know I need the image on every page.
> It has me stumped, I have a book on HTML and style sheets plus I am looking
> on the internet, I am lost.
> Bruce
>

You are probably making a fundamental error here, CSS is for styling not
for adding content, that is what your markup (The HTML part) is for. A
logo I would say is content and should be defined in your HTML. Whether
or not you indent your paragraphs, or your text is black or brown, or if
the background is an image of a pretty blue sky or just plain white is a
style issue and under the auspices of your stylesheet.

If you want a common banner with your logo that should be done with
HTML. If you want to include it on every page, well that is a matter of
SSI or CGI methods of including a file.

http://www.boutell.com/newfaq/creating/include.html
(WWW FAQs: How do I include one HTML file in another?)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this 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

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