2
almost works in firefox, not in opera 7.5 and does not repeat in ie6.
you do this by adding td class to your style.css:
.articleleft {
background-image: url("/themes/yourtheme/left_bar.jpg");
background-repeat: repeat-y;
}
do the same for right side (.articleright).
now in your html give the td a class:
give the above a try and remember as a rule try to use your style.css as much as possible. this will make your theme.html lighter.
edit: you can use the same class as many times as you like in a document, but you can only use id once.
3
okay i see you have edited your template to this:
| you have 2 choices here:
1. |
or
2. add this to your newsleft class:
width: 29px; height: auto;
i forgot for a moment you were editing a template and since this is a one time occurrence you can use inline styling which will override external style sheet.
hope i have not confused you.
4
okay looks like you got it, just some pixel adjustments to do. sometimes this stuff works odd with different compliances. but, what the hay as long the presentation is as intended.
5
i think i'm getting it now tj :) thanks for the help..
had to do a little shufflin tho..
articleleft { background-image: url("/news/left_bar.jpg"); background-repeat: repeat-y; }
wouldn't work for whatever reason
but
articleleft { background-image: url(left_bar.jpg); background-repeat: repeat-y; }
worked.. i had to move the 2 images into the theme folder instead of a sub folder in the theme folder and that worked then :)
haven't used the style= function, so i will probly play around with it later to tidy the code up a bit more as u can probly see my theme code is pretty messy..
again thanks for the help, much appreciated :)
6
cool! yah the url thingie can be tricky thats why you i put an absolute path to image; its good relative path is working for you.
7
one more thing, i try to add as many things to style.css as possible because it eliminates going back and forth editing template which is time consuming. this way you edit your style.css; upload it and view almost immediately.
8
yeah, i have changed a few things and added more classes to the css.. i think it is definitely easier to use css to edit.. am currently looking at other module templates to edit them the same..
i changed a couple of modules fully and altered the default classes in them.. especially the odd/even classes as they tend to be global between all modules..
so i edited ipb welcome block and changed class="even" to class="ipbweleven"
and added those classes to css, i think it's better now as i can now have full colour control of all the modules i changed independantly from each other..
my knowledge is limited, but XOOPS has been a big learning curve for me and i know a hell of a lot more abt html, css and php than i did b4 i started usin XOOPS :)
9
yup, same here.
321 user(s) are online (215 user(s) are browsing Support Forums)
Members: 0
Guests: 321
more...
Stats |
Goal: |
$100.00 |
Due Date: |
Nov 30 |
Gross Amount: |
$0.00 |
Net Balance: |
$0.00 |
Left to go: |
$100.00 |
|
|