html frames question

Chris F.A. Johnson cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Mon May 22 14:02:41 UTC 2006


On Mon, 22 May 2006, Peter wrote:

>
> On Mon, 22 May 2006 zleap-Tp5KeRqLOeNeoWH0uzbU5w at public.gmane.org wrote:
>
>>  What about css, if I understand your question when a user changes the size
>>  of the browser window, the text adjusts to suit,
>>
>>  my site does this pretty well,  it's at www.zleap.net, you should be able
>>  to view the source code and also the code for the css (unless the
>>  permissions have been changed),
>>
>>  is this what you are looking for?
>
> Speaking of which, in your site, if I hover over the line 'Brother DCP310' 
> which is the longest, the line expands and contracts cyclically (the writing 
> moves out from under the pointer when it expands, then it contracts, etc).

    That's caused by the addition of a border in the stylesheet:

a:hover {
 	color: #00f;
 	background: fff;
 	border: 2px solid #fff;
 		}

> This causes the bottom of the selector to also move up and down. If this 
> selector would be a frame pane then the frame would constrain it. This is my 
> problem. I cannot tell the frame what size it will be without describing ALL 
> distances (including fonts etc) in pixels. That would be a bear.

     Specifiying absolute sizes is the most frequent cause of broken
     HTML pages.

> So far the only way I can solve it is to specify and iframe and hope for the 
> best if the contents are too small to fill it. html sucks.

-- 
    Chris F.A. Johnson                      <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list