Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
how to make expandable bow with images?
Old 06-18-2010, 08:40 PM how to make expandable bow with images?
Super Talker

Posts: 142
Name: William
Trades: 0
URL: http://www.uuilliam.net/box

Problem: Pretty obvious, It doesn't show as I wish.

What I want: I want the content to expand both Vertically and horizontally using the images as the border

demo of what I want:

css:
Code:
@charset "utf-8";
/* CSS Document */
.box {
    min-width:20em;
    min-heigh:20em;
}
.1 {
    background:url(images/top_corner_left.png) no-repeat;
    height:32px;
    width:15px;
    float:left;
}
.dot {
    background:url(images/dot_stretch.png) repeat-x;
    height:27px;
    width:4px;
    float:left;
    }
.name {
    background:url(images/content_name.png) repeat-x;
    height:32px;
    width:4px;
    float:left;
}
.2 {
    background:url(images/x.png) no-repeat;
    height:32px;
    width:20px;
    float:left;
}
.3 {
    background:url(images/edge_left_y.png) repeat-y;
    height:1px;
    width:9px;
}
.4 {
    background:url(images/edge_right_y.png) repeat-y;
    height:1px;
    width:8px;
}
.5 {
    background:url(images/bottom_corner_left.png) no-repeat;
    height:15px;
    width:14px;
}
.6 {
    background:url(images/bottom_width_x.png) repeat-x;
    height:9px;
    width:1px;
}
.7 {
    background:url(images/bottom_corner_right.png) no-repeat;
    height:14px;
    width:14px;
}

.top {
    height:32px;
}
html:
Code:
<div class="box">
<div class="top">
<div class="1" />
<div class="dot" />
<div class="name">
<!--type name here!-->
Name
</div>
<div class="dot" />
<div class="2" />
</div>

<div class="3" />
<div class="content"> 
<!--type content here!-->
Some content here
</div>
<div class="4" />
<div class="5" />
<div class="6" />
<div class="7" />
</div>

Last edited by UUilliam; 06-18-2010 at 08:42 PM..
UUilliam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-19-2010, 03:31 AM Re: how to make expandable bow with images?
Super Talker

Posts: 142
Name: William
Trades: 0
that was not a tutorial, I was asking for advice.

sorry.
UUilliam is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how to make expandable bow with images?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.69272 seconds with 12 queries