Log In · Register

 
Sidebar?, Looking for help with sidebars in lj.
cherrybomb___
post Sep 24 2005, 07:02 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Sep 2005
Member No: 225,165



Hey everyone, I honestly have searched and searched for some kind of help with sidebars, be it here, or on livejournal, but I just can't seem to find anything of any use.
Could anyone either help me with this, or point me in the direction of someone who can?

Also, if anyone could help me center the image/background that would also be great, at it isn't in line with the tables.
ho hum.

thanks in advance.
x

Here are my current codes;

<textarea>DAY_TALK_LINKS=><P ALIGN="RIGHT"><FONT FACE="arial" SIZE=1>(%%readlink%%<A HREF="%%urlpost%%">COMMENT</A>)</FONT></P>

LASTN_TALK_LINKS=><P ALIGN="RIGHT"><FONT FACE="arial" SIZE=1>(%%readlink%%<A HREF="%%urlpost%%">COMMENT</A>)</FONT></P>

GLOBAL_HEAD<=
<style type="text/css">



<!--
table {
border: 2px solid #000000;
}
table table {
border: 0;
}
-->


<!--
body {
scrollbar-base-color: #f9e9f6;
scrollbar-track-color: #f9e9f6;
scrollbar-face-color: #f9e9f6;
scrollbar-highlight-color: #f9e9f6;
scrollbar-3dlight-color: #f9e9f6;
scrollbar-darkshadow-color: #f9e9f6;
scrollbar-shadow-color: #f9e9f6;
scrollbar-arrow-color: #000000;
}
-->

<!--
/* change these numbers, make them add up to 100 or less*/
table {
width: 50%;
margin-left: 25%;
margin-right: 25%;
}
/* don't change these numbers */
table table {
width: 100%;
margin:0;
}
table table table {
width: 0;
}
>-->


</style>
<=GLOBAL_HEAD

FRIENDS_TALK_LINKS=><P ALIGN="RIGHT"><FONT FACE="arial" SIZE=1>(%%readlink%%<A HREF="%%urlpost%%">COMMENT</A>)</FONT></P>

LASTN_TALK_READLINK=><A HREF="%%urlread%%">%%messagecount%% %%mc-plural%%</A> |

FRIENDS_TALK_READLINK=><A HREF="%%urlread%%">%%messagecount%% %%mc-plural-%%</A> |

LASTN_WEBSITE<=
<style type="text/css">
tr.caption{display:none}
.shadowed td div{visibility:hidden; position:absolute; top:1px}

<!-- table table table table .meta {visibility:hidden;position:absolute;top:1px}
table table table table table .meta {visibility:visible;position:relative;top:1px}-->
</style>

<center><tr><td colspan="5" width="100%">
<table style="float:right" cellspacing="0" border="0" cellpadding="0">
<tr><td class="meta">
<img src="http://i4.photobucket.com/albums/y133/_happyphantom/layouts/favouritecities.jpg"><br><br>
<center> <a href="http://www.livejournal.com/users/erection___/"><u>PLAY</u></a> <a href="http://www.livejournal.com/userinfo.bml?user=erection___"><u>STOP</u></a> <a href="http://www.livejournal.com/users/erection___/friends/"><u>PAUSE</u></a> <a
href="http://www.myspace.com/pickscab"><u>FASTFORWARD</u></a>
<br>

</td></tr></table></td></tr></center>
<=LASTN_WEBSITE

DAY_TALK_READLINK=><A HREF="%%urlread%%">%%messagecount%% %%mc-plural-%%</A> |
</textarea>
 
 
Start new topic
Replies (1 - 3)
*Libertie*
post Sep 24 2005, 10:37 PM
Post #2





Guest






You're on the right track by putting all the nav info in the LASTN_WEBSITE part of the code.. Replace the navigation with a div layer:

CODE
<div style="position: absolute; left: ##px; top: ##px; width: ##px; height: ##px; visibility: visible;">
sidebar text goes here
</div>


If you wanted to use that image as a header image, I'd just use it as a background image instead..

CODE
body {
background-color: ######!important;
background-image: url(IMAGE URL) !important;
background-repeat: no-repeat !important;
background-attachment: scroll !important;
background-position: center 0px !important;
margin-top: ###px;
overflow-x: hidden;
overflow: -moz-scrollbars-vertical;
color: ######;
}


Then change the "margin-top" to equal the height (or a little more than that) of your image.
 
cherrybomb___
post Sep 25 2005, 01:43 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Sep 2005
Member No: 225,165



Hi, sorry, I'm new and not sure how to edit a post.
So I'll just post a again as a reply to this one. let me know if that's not ok.
I got my sidebar, eventually. However, it wont let me put images in.
Anyone know why?

<textarea>

GLOBAL_HEAD<=
<style type="text/css">




<!--
table {
border: 2px dotted #000000;
}
table table {
border: 0;
}
-->






</style>
<=GLOBAL_HEAD

LASTN_TALK_READLINK=><a href="%%urlread%%">%%messagecount%% </a>;

LASTN_OPT_ITEMS=>5

LASTN_HEAD<=
<style type="text/css">
body{
background: #f9e9f6;
}
td, .index, .meta, .comments{
color: #000;
font-family: Tahoma, sans-serif;
font-size: 7pt;
}
tr.caption, .shadowed .meta, .shadowed div, .shadowed img{
display: none;
}
div{
width: 405px;
position: absolute;
top: 0;
left: -50px;
padding-top: 300px;
}
div div{
width: auto;
padding: 0;
position: relative;
top: 0;
left: 0;
}
table{
width: 400px;
margin-left: 330px;
cursor: default;
}
table table{
width: 100%;
margin-left: 0;
}
table table table{
width: auto;
}
.entrybox td{
text-align: justify;
}
.entrybox td.index{
text-align: right;
}
.entrybox td.index, .entrybox td.caption{
text-transform: uppercase;
font-weight: bold;
}
.entrybox td.index{
visibility: hidden;
}
.entrybox td.index span{
visibility: visible;
position: relative;
left: 4px;
}
.shadowed img.header{
display: block;
position: absolute;
top: 0;
left: 150px;
}
.shadowed div.menu{
display: block;
width: 150px;
position: absolute;
top: 350px;
left: 170px;
text-align: justify;
cursor: default;
}
.menu h1{
font-size: 7pt;
font-weight: bold;
margin: 5px 0;
text-transform: uppercase;
}
a{
text-transform: uppercase;
text-decoration: none;
color: #000000;
}
a:hover{
text-decoration: none;
color: #000000;
border: 2px dotted #000000;
}
td.comments{
text-align: right;
}
</style>
<=LASTN_HEAD

LASTN_DATE_FORMAT=><span>%%12h%%%%ampm%% on %%m%%/%%d%%/%%yy%%</span>

LASTN_WEBSITE<=
<img src="http://i4.photobucket.com/albums/y133/_happyphantom/layouts/favouritecities.jpg" border="0" usemap="#truck" class="header">

<div class="menu">
<h1>NAVIGATION</h1>
<a href="http://www.livejournal.com/users/erection___/"><u>RECENT</u></a><BR>
<a href="http://www.livejournal.com/userinfo.bml?user=erection___"><u>INFO</u></a><BR>
<a href="http://www.livejournal.com/users/erection___/friends/"><u>FRIENDS</u></a> <BR>
<a href="http://www.myspace.com/pickscab"><u>SPACESHIP</u></a> <BR>


<p>

<h1>ABOUT ME</h1>
My names Mahri. I hate it. If you want to continue breathing, never call me by my real name. I'm Nineteen, and I'm in love with this total dork. He makes me way happy. &We have been together for 1Year4Months. I'm pretty anti-social, &have few friends. I don't like big crowds. I'm happier on my own, or with only a few people around me. I've been with Livejournal since 2003 &I'll probably still be here in 2009. I also have a myspace, which I never use. It can be found <a class="sidelink" a href="http://www.myspace.com/pickscab">HERE.</a><br>
<br>
<br>
<marquee direction="up" scrollamount="3">
<BR>*<br><BR>
30 seconds to mars<br>
<BR>A<BR>
<BR>
a perfect circle<br>
a static lullaby<br>
afi<br>
alexisonfire<br>
alkaline trio<br>
avenged sevenfold<br>
azure ray<br>
<BR>B<BR>
<BR>
bleed the dream<br>
bleeding through<br>
bloc party<br>
boxcar racer<br>
boys night out<br>
brand new<br>
breaking benjamin<br>
bright eyes<br>
broken social scene<br>
bury your dead<br>
<BR>C<BR>
<BR>

comeback kid<br>
converge<br>
cristian death<br>
cursive<br>
<BR>D<BR>
<BR>
dashboard confessional<br>
death cab for cutie<br>
death in june<br>
dropkick murphys<br>
<BR>F<BR>
<BR>
fall out boy<br>
finch<br>
fiona applie<br>
from autom to ashes<br>
from first to last<br>
funeral for a friend<br>
<BR>G<BR>
<BR>
gratitude<br>
gravy train!!!!<br>
<BR>H<BR>
<BR>
hawthorne heights<br>
<BR>I<BR>
<BR>
interpol<br>
<BR>J<BR>
<BR>
jimmy eat world<br>
<BR>L<BR>
<BR>
ladytron<br>
le tigre<br>
<BR>M<BR>
<BR>
mineral<br>
mr bungle<br>
<BR>N<BR>
<BR>
neon blonde<br>
nine inch nails<br>
norma jean<br>
<BR>P<BR>
<BR>
peaches<br>
phantom planet<br>
<BR>R<BR>
<BR>
rilo kiley<br>
rise against<br>
<BR>S<BR>
<BR>
snow patrol<br>
story of the year<br>
sublime<br>
<BR>T<BR>
<BR>
taking back sunday<br>
tapping the vein<br>
the academy is<br>
the birthday massicre<br>
the blood brothers<br>
the cramps<br>
the futureheads<br>
the get up kids<br>
the hurt process<br>
the killers<br>
the mars volta<br>
the postal service, <br>
the used<br>
third eye blind<br>
this day and age<br>
thrice<br>
thursday<br>
tilly and the wall<br>
tool<br>
tori amos<br>
<BR>V<BR>
<BR>
velvet revolver<br>
<BR>Y<BR>
<BR>
yellow card<br>
</marquee>
<br>
<br>
The glove compartment isn't accurately named,
and everybody knows it. So i'm proposing; a swift orderly change.
Cause behind it's door there's nothing to keep my fingers warm.
And all i find are souvenirs from better times..<BR>
</div>
<=LASTN_WEBSITE

LASTN_TALK_LINKS<=
<tr><td class="comments" colspan="2">
%%readlink%% <a href="%%urlpost%%">FOLLOW YOU INTO THE DARK.</a>
</td></tr>
<=LASTN_TALK_LINKS


</textarea>
 
*Libertie*
post Sep 25 2005, 06:05 PM
Post #4





Guest






Whenever you want to add an image in LJ, you hafta add this code:

CODE
style="visibility: visible;"


And since I'm just like that, I'll show you an example of the entire image code:

CODE
<img src="IMAGE URL" style="visibility: visible;">


It's because you had to hide your navigation and userpic that normally show up at the top of the page, and the code you use to do that makes every image invisible. Go figure.

And don't worry about adding the new post; it makes it easier on us - I wouldn't have even checked this thread if I hadn't seen that there was a new post. But for future reference, if you have a need to edit your post, look in the upper right corner of the post and there should be an edit button.

PS Congratulations on getting the layout to work, it looks nice! :)
 

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