ReviewReview Rail in the Left 4 all themes with a Fixed WidthFeb 28, '08 3:02 PM
by maria for everyone
Category:Other
rail in the left in themes with a Fixed Width

The code works in all the Fixed Width Layouts:
such as
AVLACK

This code just put the rail in the left

Amazing uh ?

I should to test it better .. but Im really lazy
Of course For any theme you will have to find the rigth value for the displacement of the rail and the width for creating the space for the rail that you like

I have still to add the code for having a min height for the content


Bad thing not possible to assign in td#maincontent the margin-left:200px; so I use the padding-left
THIS code is a BETA VERSION



/****RAIL ON THE LEFT - 4 Fixed Width Themes ****/
/****´¯`·.¸¸.·°°****/
td#maincontent {
margin: 0pt;
padding-left: 200px; /* creating space 4 d rail */
position: relative;
}
/* moving the rail */
div#page_start {
position:relative;
}
td.rail {
right: 600px; /* displacing the rail */
position: absolute;
} /****END RAIL ON THE LEFT ver.1****/

6 Comments
diamme wrote on Feb 28
hi lampa. i adjusted some px values for custom colors theme, could you take a look at my site if it shows ok in your screen resolution? i have a wide screen and i don't know how this looks like in smaller ones. Thank you.
alogena wrote on Feb 28, edited on Feb 28
no good

you enlarged too much the view

the normal place for the left rail must be at the left border of the content with the rail CONTAINED in the body-content not out of the content.

you cannot remove d padding left of the content and displacing the rail 200 pixels more on the left
alogena wrote on Feb 28, edited on Feb 28
I have still to test the min height
not sure it works in that place
diamme wrote on Feb 28
oops! i re-sized the computer's screen to 1,024x768 and the rail including the ads is almost hidden..not my intention.
I removed the left padding and added 20 px to the right margin because the rail covers a part of the first itembox when using the custom theme (at least that's what I saw before i resized the resolution). Hope to see a code for custom colors. Great job with this one. :D I've seen posts asking how to move the rail so thisll definitely make them happy.
juicy2007 wrote on Mar 1, edited on Mar 1
i'll try it..
thank you..
alogena wrote on Mar 3
important note
at the moment
with some theme
the code does not work
( not displacing the rail)

if happens this
and u do not see the rail
click the back button in your browser and remove the code

Add a Comment
How would you rate this thing? (optional)
   
CSS 4 MP
Join this Group!RSS FeedHelp on RSS FeedsAdd to My Yahoo
Report Abuse
© 2008 Multiply, Inc.    About · Blog · Terms · Privacy · Corp Info · Contact Us · Help