Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: IOS Reservations online hotel booking system for Elxis CMS.
 
Pages: [1]
  Print  
Author Topic: contentpaneopen_text with 4 images bg (round corners)  (Read 1915 times)
babis1
Hero Member
*****
Offline Offline

Posts: 1496



WWW
« on: September 25, 2009, 19:02:57 »

i would like to make something like this in all contentpaneopen_text bg not with fixed width or height, first i have 4 images left_top right_top left_bottom right_bottom and maybe 2 images for borders

so far so good...is there a tutorial for that ?


* oval.png (3.09 KB, 250x250 - viewed 200 times.)
Logged

ks-net
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2075

Kostas Stathopoulos


WWW
« Reply #1 on: September 25, 2009, 20:15:48 »


http://www.html.it/articoli/niftycube/index.html
Logged

babis1
Hero Member
*****
Offline Offline

Posts: 1496



WWW
« Reply #2 on: September 25, 2009, 20:25:52 »

i found and that guy here http://sperling.com/examples/box/
but he use this for all the template so now i need all the content items to have that bg
Logged

ks-net
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2075

Kostas Stathopoulos


WWW
« Reply #3 on: September 25, 2009, 20:35:18 »

Code:
<div id="box">

<!--- box border -->
<div id="lb">
<div id="rb">
<div id="bb"><div id="blc"><div id="brc">
<div id="tb"><div id="tlc"><div id="trc">
<!--  -->

<div id="content">
<h1>Simple  Box by tedd</h1>

<p>
View the source code via your browser.
</p>


</div>

<!--- end of box border -->
</div></div></div></div>
</div></div></div></div>
<!-- -->

</div>

to apply  this you have to overwrite elxis core code.... not so easy..not flexible..not wise

try that javascript above ..needs only a single call !

****
<script type="text/javascript" src="niftycube.js"></script>
< script type="text/javascript">
window.onload=function(){
Nifty("div#contentpaneopen_text","big");
}
</script>

or something like that

Logged

babis1
Hero Member
*****
Offline Offline

Posts: 1496



WWW
« Reply #4 on: September 27, 2009, 14:46:19 »

i cant do nothing with those ways, i make something different, the only bad is that must make if you have 2 or more items pe at the home page you must make theme leading because the bottom image is fixed width (pe 607px) so i make 2 images the bottom going here
Code:
.contentpaneopen_text {
padding: 1em 0 1em 0;
margin: 0;
position: relative;

width: 607px;

margin-top: 0pt;

margin-right: 0pt;

margin-bottom: 5px;

margin-left: 0pt;

overflow-x: hidden;

overflow-y: hidden;

background-color: transparent;

background-image: url(home-practice-bg.png);

background-repeat: no-repeat;

background-attachment: scroll;

background-position: left bottom;
}

and the top here
Code:
h1.contentheading, h1.componentheading {
font-size: 14px;
font-weight: bold;

border: 0;
padding-left:8px;
font-family: Tahoma;

padding: 0 0 1em 0;
margin: 0;
position: relative;

width: 607px;

margin-top: 0pt;

margin-right: 0pt;

margin-bottom: 0;

margin-left: 0pt;

overflow-x: hidden;

overflow-y: hidden;

background-color: transparent;

background-image: url(up-practice-bg.png);

background-repeat: no-repeat;

background-attachment: scroll;

background-position: left bottom;
}

a little problem is with h1 titles i want to remove but not hide theme


* round.jpg (30.4 KB, 631x132 - viewed 213 times.)
« Last Edit: September 27, 2009, 14:49:01 by babis1 » Logged

Pages: [1]
  Print  
 
Jump to: