Dead Journal Dead Journal Dead Journal




Enter the Crypt
    - OpenID

The Cemetery
    - The Morgue
    - Join the Undead
    - Offerings
    - Download
    - DJ News
    - Advertise on DJ

Morgue Directory
    - Random Grave
    - Place of Death
    - Search Morgue
    - Interests

Botched Murders
    - FAQ
    - Lost Info?
    - Spoon Feeding
    - Hauntings





<keith style="OMG LYKE WTF!!1">Keith Rocks</keith> ([info]keithylishus) wrote in [info]html_help,
@ 2002-09-21 20:31:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current mood:awake
Current music:Nine Inch Nails

Resizing your journal tables [Genorator] and [Clean and Simple] styles
This tutorial will deal with resizing your journal tables with the Generator and Clean and Simple system styles.

This ONLY applys if you are using the Generator or Clean and Simple styles.

In your own style
If you have your own style, and you want to move the tables without having to go through and change all the widths, then paste this code into the <head> section of your LASTN_PAGE:

<style type="text/css">
<!--
/* change these numbers, must add up to 95% or less*/
table {
width: 55%;
margin-left: 20%;
margin-right: 20%;
}
/* do NOT change these numbers */
table table {
width: 100%;
margin:0;
}
table table table {
width: 0;
}
-->
</style>



In Overrides
If, however, you don't have your own style, and rely on overrides, then you will want to paste this into your overrides box at http://deadjournal.com/modify.bml:

GLOBAL_HEAD<=
<style type="text/css">
<!--
/* change these numbers, must add up to 95% or less*/
table {
width: 55%;
margin-left: 20%;
margin-right: 20%;
}
/* do NOT change these numbers */
table table {
width: 100%;
margin:0;
}
table table table {
width: 0;
}
-->
</style>
<=GLOBAL_HEAD



N.B. If you have more than one GLOBAL_HEAD override, you will need to merge them. See this FAQ for instructions.


Using the sample code will center the content tables and will make the content tables half the width of the screen. To change the width of the content tables you would change the percentage value highlighted in yellow. To change where on the screen the content tables appear you would change the percentage values highlighted in orange. If these two numbers are equal than your journal content will be centered.

In the above example, to shift the content to the right you would use margin-left: 50% and margin-right: 0; to shift the content to the left you would use margin-right: 50% and margin-left: 0



(Post a new comment)


[info]vorpalpoet
2002-10-02 11:50 pm UTC (link)
i used the override text and now no matter what i do i have 'GLOBAL_HEAD<=' at the top left of my journal. it's driving me nuts, and i can't make it go away.

(Reply to this) (Thread)


[info]keithylishus
2002-10-03 07:56 am UTC (link)
I updated the code. It should work now =)

(Reply to this) (Parent) (Thread)

:)
[info]vorpalpoet
2002-10-03 07:12 pm UTC (link)
whee! it works now! thanks :D

ps: love your pic

(Reply to this) (Parent)


[info]obeythefist
2002-12-16 11:17 am UTC (link)
How do I make the table length shorter? I want it so that the person doesn't have to scroll down the page to read my entries, they can just scroll in a box with all of my entries.

(Reply to this)


[info]nativenorske
2003-01-17 11:41 am UTC (link)
i have a purple box/shadow around my journal..how do i get rid of it?

(Reply to this)


[info]bewareofme58
2003-03-05 09:26 am UTC (link)
ok awesome, this werked. but i still dont know how to get all of the codes to work together. like, i got the boxes to b smaller n the font to b smaller n the comments link to change but my scroll bar went buy buy

(Reply to this)

meow.
[info]highlifecara
2003-03-28 06:51 pm UTC (link)
How do you add a different border, like dashed, or double dashed, and if there is such a place or list, can you give me a list of different borders I can use on my journal? (I resized my journal table and I was also wondering if you could just put the code for the different border with it)

(Reply to this)


[info]pthalo
2003-04-13 05:30 am UTC (link)
would you mind adding a link to the "how do i merge my global head overrides" tutorial, somewhere towards the bottom of this one?

(Reply to this)


[info]pne
2003-05-06 12:54 am UTC (link)
/* change these numbers, must add up to 100% or less*/
table {
width: 50%;
margin-left: 25%;
margin-right: 25%;
}


Is 100% safe? The equivalent tutorial on LiveJournal suggests that they add up to 95% at most. I think I've seen reports that having them add up to 100% causes a horizontal scrollbar to appear sometimes, depending on the browser and the width of the window.

(Reply to this)

Helps please?
[info]kreepykt
2003-06-13 10:24 pm UTC (link)
Okay I used this code

And it worked fine..Except..It croped off all my Text! It didn't move the text inside the box!! What did I do wrong
?

(Reply to this)


[info]keepurdistnce
2003-07-17 01:30 pm UTC (link)
When I go to edit my style, i go to my LASTN_PAGE and it doesnt show this:


But i see it in my overrides... i dont get it, please help.

(Reply to this)

hi
[info]blknirvana
2003-07-25 10:06 pm UTC (link)
i used the codes for the genitor thing so that it could make my entrys go to the right, but it made them in the middle and it took off my back round pick. could somneone help me?

(Reply to this) (Thread)

Re: hi
[info]epifany
2003-11-04 12:20 pm UTC (link)
ok... I did this too.. I put it in and it worked but it took away my background pic!

(Reply to this) (Parent)


[info]mugsyb
2003-08-23 03:41 pm UTC (link)
i used this code and it worked great. i was just wondering if i could make the menu a different size than the entry tables using and override. thanks

(Reply to this)


[info]almightymedley
2004-02-17 04:15 pm UTC (link)
I used the over rides and it worked but I lost my background image. Wat do I dooo?

(Reply to this)


[info]far_too_frail
2004-02-27 06:20 am UTC (link)
thanks a bunch, it worked great.

(Reply to this)



Terms of Service  |   Private Policy  |   Site Options  |   Login/Logout/OpenID

© 2001-2009 DeadJournal, A Service of Warped, Inc. - All Rights Reserved.