Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Three div side by side (theme stylo)


Print Track
Hello,I am trying to make a border using the image in theme stylo by div.

img94.imageshack.us/img94/2866/obramowanie.jpg

I've done on the left side

CodeDownload  
function opentable($title) {
 
   echo "<div class='capmain-left clearfix '></div>\n";
   echo "<div class='capmain-right clearfix'></div>\n";
   echo "<div class='capmain clearfix'>\n";
   echo "<div class='flleft' algin='center' style='padding-top: 12px; padding-left: 10px;'>".$title."</div>\n";
   echo "</div>\n";
   
 
 
   echo "<div class='main-body  floatfix spacer'>\n";
      echo "<div class='left-border-image'>\n"; ///this is border.
 
}
 
   
 
 
function closetable() {
   echo "</div>\n";
   echo "</div>\n";
 
}



CodeDownload  
.left-border-image {
   margin-left: -4px;
   margin-top: -4px;
   padding: 10px;
   background: url(images/left-border.gif) repeat-y;
}



But I can not do it right...I have added to:

CodeDownload  
float:right



But does not work,I know it should look something like this,but do not know how to implement. :| :


CodeDownload  
<div id="wrapper">
<div id="left">hi, this is left</div>
<div id="middle">hi, this is the middle</div>
<div id="right">hi, this is right</div>
</div>



CSS:

CodeDownload  
#wrapper { overflow:hidden; }
#left { float:left; width:100px; }
#middle { float:left; width:auto; }
#right { float:right; width:100px; }



Image Border:

Left:
img836.imageshack.us/img836/269/oblewa.gif
Right:
img526.imageshack.us/img526/8456/obprawa.gif

Sorry of my english ;)

0 replies

author Largo123
forumThemes Support
replies1 post
viewed1,424 times
activeLast updated on 8 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Largo123