Log In · Register

 
 
Closed TopicStart new topic
Help With Random CSS Layout, Help given did not work...
texijano
post Aug 24 2004, 01:47 AM
Post #1


Member
**

Group: Member
Posts: 23
Joined: Aug 2004
Member No: 39,983



ok...I went to the xanga scripts and found the random css layout script and tried it out...I tried, and tried and tried. It simply did not work. I tought ok, maybey its my css coding. So i copied the coding itself into the header and it worked fine. So i tried a few more times with the random layout script. It didnt work. Now, the example that it gave didnt work either. So, is it just me or is xanag not allowing this script. Im a little more thna a beginner at all of his and I have never had so much trouble with something since image mapping with css. Please, if you can help me, drop a line. ermm.gif
 
NatiMarie
post Aug 24 2004, 02:23 PM
Post #2


I can rot your brain ;]
******

Group: Staff Alumni
Posts: 1,160
Joined: Aug 2004
Member No: 42,261



Huh?
Try the How to Make a Xanga Skin tutorial.
=P
I have no idea what you're trying to say...
I'm kind of slow at the moment.
 
cutielilsuga
post Aug 24 2004, 02:25 PM
Post #3


fragile
******

Group: Member
Posts: 1,044
Joined: Mar 2004
Member No: 9,807



hrmmm..try posting the code up here and maybe we can help you
 
shortvi3tlaydee
post Aug 24 2004, 03:24 PM
Post #4


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



show the example?? the code your using? something?? wink.gif
 
sewerz1000
post Aug 24 2004, 04:04 PM
Post #5


PUhaha.. NJ azN
****

Group: Member
Posts: 299
Joined: Aug 2004
Member No: 41,986



yeah, im rely not sure how to use that script, show me the script!!!
 
texijano
post Aug 24 2004, 09:15 PM
Post #6


Member
**

Group: Member
Posts: 23
Joined: Aug 2004
Member No: 39,983



Hey, thank you all for helping and sorry my wording was not all great...lol..anywayz what I was trying to say , was that there is a script proved here that allows you to have random layouts every refresh. Now, i put the code in, jus like it said, i copied the urls of my external css file and it didnt work. I then tok out the script, put in the content of one my my css files, and the layout worked fine.

Here is this scipt what was provided

QUOTE
<!-- begin code provided by createblog.com -->
<script type='text/javascript'>
// random css skin on every visit by micron
// for more xanga scripts and help go to createblog.com

var skin = new Array();

// change this to reflect your set of skins
skin[0] = 'http://url/to/skin1.css';
skin[1] = 'http://url/to/skin2.css';
skin[2] = 'http://url/to/skin3.css';
skin[3] = 'http://url/to/skin4.css';

var index = Math.floor(Math.random() * skin.length);
document.write('<link rel="stylesheet" href="'+ skin[index] +'" type="text/css">');
</script>
<!-- end code provided by createblog.com -->


Or just go here to see the page where it is atScript

anywayz, here is one of the css file i used, i juss put something together real quick to see if it works,
QUOTE
body {
background-image:url(http://www.xpphotoalbum.com/data/15513/8829L1.GIF?1623);
background-repeat: none;
background-color: #ffffff;
scrollbar-face-color: #ffffff;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #ffffff;
scrollbar-arrow-color: #000000;
}
#rblEprops, #pnlEnabled table, #pnlEprops table {
width: auto !important;
}
table.blogbody {
width:747px;
font-family: Arial;
font-weight: none;
font-size: 12pt;
color: #000000;
text-align: justify;
padding: 0px;
margin-top: 2px;
}
div.smalltext{
width: WIDTHpx;
padding: 3px;
text-align: left;
}
.caption, .blogheader {
width: 380px;
padding: 3px;
font-family: Arial;
font-size: 16pt;
text-align: center;
color: #000000;
background-color: #ffffff;
text-transform: lowercaps;
margin-top: 10px;
}
P, B, I, TD, TH
{font-family: Arial; color: #000000; font-size: 8pt; }
A:link, A:visited, A:active
{color:#000000; text-decoration:none; font-size:8pt;}
a:hover
{text-decoration: underline; color:#000000; font-size: 8pt; );}
b, strong, i, u, {
/* edit colors when bold italic underline */
font-family: arial;
font-size: 8pt;
color: #000000;
font-weight: bold;
text-transform: lowercaps;


now i tried everything i could think of with the actaul css code, like putting the <style type tags, and tried to rearrange things, but it still didnt work. Well i hope i answer your questions so you can help answer mine, thanks helping!
 
NatiMarie
post Aug 24 2004, 09:31 PM
Post #7


I can rot your brain ;]
******

Group: Staff Alumni
Posts: 1,160
Joined: Aug 2004
Member No: 42,261



your style css code has to end and start with

it should look like this

<style type="type/css">
CODEBLAHBLAH
</style>

Save this on notepad as blahbla.css, upload it at geocities or something then paste the URL in there.
 
texijano
post Aug 24 2004, 09:54 PM
Post #8


Member
**

Group: Member
Posts: 23
Joined: Aug 2004
Member No: 39,983



i allready tried that, like i said, i tried everything
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: