|
Posted by dorayme on 11/16/06 20:43
In article <mtool21ibsllabff6bjmpcat1mcht66fkk@4ax.com>,
William Hughes <cvproj@grandecom.net> wrote:
> On Thu, 16 Nov 2006 06:58:56 +0100, in alt.html John Hosking
> <John@Hosking.name.DROPTHE.invalid> wrote:
>
> >dorayme wrote:
> >> In article <k3nnl25ji7pm7v36vtk67e60q0e8ivj750@4ax.com>,
> >> William Hughes <cvproj@grandecom.net> wrote:
> >>>
> >>>Example: http://home.grandecom.net/~cvproj/spec-space.htm
> >>>
> >> (btw, Bill, your header is badly "cut-off" by the text-size I
> >> tend to use by afternoon (when I am getting tired). I have not
> >> looked at your markup or css but may I suggest you either use an
> >> em based dim and/or else be more generous in the dim that
> >> controls the banner bottom margin or the top margin of what is
> >> under etc...
> >>
> >His header is cut off because he's specifying an iframe for it, and the
> >iframe has height=70 (by which he presumably means 70px). The height
> >specification has no relationship to the font size.
> >
> >I don't have to wait until I'm tired and have boosted my font size; as
> >soon as I size my viewport narrower than about 1248px, the header
> >breaks. And I almost never have my viewport that wide; that's almost
> >full-screen.
>
> Unfortunately, GrandeCom does not enable SSI in personal webspace, so
> I have to use IFRAME.
>
> Anybody know a way to dynamically resize an IFRAME? Or another way to
> do the same thing?
There are various things you could do:
(1) put in a height:
/* IFRAME defaults */
iframe {width: 100%; border: 0; height: 12em;}
just about gets it.
(2) improve the situation by not having the heading words "The
Carrier Project" wrap in this design (need help on this?) and
then being able to settle on a smaller em size for height (a
"good thing" because it is not good taking up too much height
space for non content stuff
--
dorayme
[Back to original message]
|