Elxis CMS Forum
Extensions => Modules => Topic started by: dados on May 26, 2009, 22:19:39
-
Hello, I want to do it style with rounded corner, and do it with this tutorial https://www.elxis.org/guides/developers-guides/rounded-corners.html but I have some errors, so can you please tell me where I can edit module style, where is this file in which are defined hove will be displayed modul if you put -2 or -1 or -3.
from tutorial I put in my layout.css code:
/* First div (top left) */
div.module-round {
background: #FF0000 url(../images/tl.gif) 0 0 no-repeat;
margin: 0; .............................................................................. etc.
And in index.php I put:
<div class="module-round">
<div>
<div>
<div>
<h3>Module title</h3>
Module content
</div>
</div>
</div>
</div>
And of course I put -3 on module in inex.php, and I get this
[attachment deleted by admin]
-
Ho man, please help somebody, I use now another solution, and now I have this erorr please see image attach
[attachment deleted by admin]
-
C'mon dados, it's just a simple rounded box! I know you can make it.
You have 25 options listed here: http://www.cssjuice.com/25-rounded-corners-techniques-with-css/
EDIT: You can generate round corners box here: http://www.roundedcornr.com/
-
C'mon dados, it's just a simple rounded box! I know you can make it.
You have 25 options listed here: http://www.cssjuice.com/25-rounded-corners-techniques-with-css/
EDIT: You can generate round corners box here: http://www.roundedcornr.com/
Thanks Ivan, I do it... I did not why but I have one div tag plus, so I delete it in file frontend.html.php where is -3 style and now its Okay !!! ???
And thanks for this links, its great... ;)
-
I did not why but I have one div tag plus, so I delete it in file frontend.html.php where is -3 style and now its Okay !!! ???
There is no extra div! What do you mean ???
-
I did not no why but, in first problem with rounded corners without border and red color I have some plus div in index.php in my template, when I delete this its been Okay but with one error, bottom right image was show 2 times, and when I delete one div tag in frontend.html.php its Okay then.
My index.php
<div id="box-position1">
<div class="module-round">
<?php mosLoadModules('user1', -3); ?>
</div>
</div>
In second problem where I get rounded corners with border I use png images without background and its been problem, there was no background to cover surplus image...
-
Браћо, сад и ја ко грци на нашком језику пишем, али ми није јасно зашто се дописујете на енглеском делу форума а не на нашем? ???
-
Sory braco, nemam pojma zaneo sam se :-\ mislio sam da cu brze dobiti odgovor na engleskom... ali cini mi se da sam pogresio :-[ :-[
Uglavnom sad mi radi zaobljeni uglovi i sa svim divovima u frontend.html.php , cini mi se da sam ja nesto zeznuo u index.php fajlu od templejta ali sad sve radi kako treba.
Now its all working well, and with extra div in file frontend.html.php, I think I have some error in my index.php file in my template...
-
Please write in English in this part of the forum.
-
Okay, Sorry. I replay on Serbian and on English same post.