You are here: Re: CSS - multiple images « HTML « IT news, forums, messages
Re: CSS - multiple images

Posted by Neredbojias on 09/30/05 16:54

With neither quill nor qualm, mal_k100@hotmail.com quothed:

> I have checked a few posts and found that this is not strickly possible
> so I could do with some practical advice please...
> I am using a style for my heading on a help system
> <style>
> H1 {color: black; font-size: 150%;border: ridge; text-align: center;
> background: url("myrightlogo.gif") lightyellow right no-repeat; }
> </style>
> In practice I am imorting from a .css file but the values work either
> way.
>
> All works fine but what I really would like is to have a left and a
> right logo. It has to be in the style sheet as all the HTML files have
> a consistent look and feel that may change (other than the text).
>
> So what I want is..
> Logo1 (with transparency to show the backgroung color) MUST be a fixed
> width as the logo cannot change when the HTML screen is resized
>
> Background color (with the text from the H1 in the HTML page)
>
> Logo2 (with transparency to show the backgroung color) MUST be a fixed
> width as the logo cannot change when the HTML screen is resized)
>
> It sort of seems as though what I might need is a 3 column table with
> the first and third having fixed widths so that the logo cannot change
> in size - also the heading must not change either. That is the one
> problem I have with my current one in that if the screen is narrowed
> too far, the logo overwrites the text on the heading. This is not too
> important though, as noone would really narrow it that much in practice
> as nothing would be readable.
>
> So...any ideas ... can I somehow put an H1 in the style and tell it
> that it must be a 3 column table ?
>
> Anyother ideas would be great. One thing...no changes to the HTML as it
> is already written and there are too many screen to change and I want
> to keep flexibility.

What you want is impossible without altering the html.

--
Neredbojias
Contrary to popular belief, it is believable.

 

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

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