Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 10:26 PM
J
Guest
 
Posts: n/a
Default auto sizing colored bar

I would like to create an auto sizing colored bar that stretches as the
height of the section changes when
content is added. This is as close as I've gotten, but no luck. Any help
is appreciated.

div.top-section {
position:relative;
left:0;
top:0;
background: #FF0000;
}
div.leftbar {
position: relative;
top: 0%;
left: 0%;
width: 51px;
height: 100%;
background: #005BBF;
}

<div class="top-section">
<div class="leftbar"> </div>
<img src="logo.jpg">
</div>


  #2  
Old July 20th, 2005, 10:26 PM
brucie
Guest
 
Posts: n/a
Default Re: auto sizing colored bar

in post: <news:401197a3$0$43849$39cecf19@news.twtelecom.net >
"J" <sorrynospam@nobody.com> said:
[color=blue]
> I would like to create an auto sizing colored bar that stretches as the
> height of the section changes when content is added.[/color]

div{border-left:20px solid green;}

<div>stuff</>


--
brucie - i usenet nude
 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles