HighDots Forums  

Dynamically Extending height

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Dynamically Extending height in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
dorayme
 
Posts: n/a

Default Re: Dynamically Extending height - 12-15-2008 , 03:41 AM






In article
<859feab1-f32d-4889-89b9-90fdabfd7e02 (AT) o4g2000pra (DOT) googlegroups.com>,
donpro <donpro-2003 (AT) rogers (DOT) com> wrote:

Quote:
On Dec 11, 1:14*am, dorayme <dora... (AT) optusnet (DOT) com.au> wrote:
....
The example implies that I know the pixel width of my left hand
sidebar which I do not. It is a percentage. So....., what
dimensions do I create the background image at?

Trouble with news servers, sorry. Yes, OK. I grabbed a page I did that
was meant for footers and stuff and altered it in a hurry thinking it
would give you an idea or two. But come to think of it, and seeing
Bergamot's good post in this thread, take a look at a rather nice
explanation for faux columns at:

<http://www.communitymx.com/abstract.cfm?cid=afc58>

Especially the possibly surprising bit about how background images are
placed when background position is set with percentages - not from top
left corner of image. There is a subtle double whammy. The point
*within* the image that is x% y% from top left corner of image is placed
at x% y% from top left corner of the container iteself.

Quote:
Also. I only need this done for ONE page o my site as all other pages
will not have the left had sidebar. I know of no way to include
conditional code in a CSS file so I suppose this means a separate CSS
fle for that one page?
You can do any number of things. If it is just one page and one
container that is special, then you can id or class the container and
style the extra column by means of such as

..specialSidebar {float: left; width: 20%; or whatever you want...}

in your main style sheet. O yes I remember, you have a thousand of
them... well.. in one of them... <g>

--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.