Re: Are HTML frames good?



Water Cooler v2 wrote:

OK, I tried the solution with frames. And it worked.

...but has all the 'evilness' of frames. ;-)

Now, I am trying it with CSS and here's the CSS I use to embed the
sidebar. Please have a look at this:

DIV.sidebar
{
font-family: Georgia;
/* font-size: 9pt; */ <-- points are for printing
font-size: 100%; <-- your visitors' default size
background-color:pink;
margin-top:0px;
width: 12em; <-- need to specify a width
10 to 12 should suffice depending
upon the width of your words
}

DIV.contentPane
{
/* margin-left:200px;
margin-top: 0;
margin-bottom:0;
margin-right: 50px; */
margin: 0 0 5em 13em;
}

Yet, the side bar takes up the entire width of the browser.

If I set the width of the side bar like so:

width:200px;

The side bar squeezes to 200 pixels but the rest of the space to the
right remains empty and the contentPane still starts below the end of
the sidebar, althought at a proper left-alignment of 200 px.

If the contentpane were, say, margin-left: 210px it probably would have
worked. However, the trouble with pixel-specific layouts is that when
your visitor increases her text size (due to your 9pt microfont), all
the text escapes the box.

See this site of mine. Note the CSS ids for #crmenu and #boxcontent
Note also how my style sheet does not use: DIV.crmenu ...

http://countryrode.com/

--
-bts
-Warning: I brake for lawn deer
.



Relevant Pages

  • Re: Leopard seems not quite ready...
    ... can be added to the sidebar by dragging them there. ... Emptied trash and everything. ... my Firefox and my complete M$ Office Apps that were in the "search For" ... So you didn't remove items from the Search For side bar. ...
    (comp.sys.mac.system)
  • Re: Right sidebar on desktop
    ... There is *NO PROPERTIES* when I right-click on this bar in Home Premium. ... The RAM eating Gadget bar was on the right and was already removed. ... There is *NO Close Sidebar* when clicking on this narrow bar. ... Windows Desktop Experience ...
    (microsoft.public.windows.vista.general)
  • Re: Are HTML frames good?
    ... be larger than the width of the sidebar. ... width of 12 and the contentpane starting at 13. ... font-size: 100%; ... When you click on a link in the navigation bar, ...
    (alt.html)
  • Curser not working properly
    ... I try to move the sidebar up or down and it moves the sidebar but when I release the cursor things pop back to the other end. ... The side bar is that bar on the of screen. ... Also - it making up movies or slide shows, I see the pictures down in the storage area where you add pictures, running from one end to the other. ... I added sound to the pictures and couldn't get things stopped in order to mark where the sound was to stop. ...
    (microsoft.public.windows.vista.general)
  • Re: Are HTML frames good?
    ... Note also how my style sheet does not use: ... be larger than the width of the sidebar. ... width of 12 and the contentpane starting at 13. ... font-size: 100%; ...
    (alt.html)