The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm currently trying to port my new design to vB 4.1.2
It looks generally something like this (won't show my final design here): http://www.adan0s.de/misc/template.png At the moment I added two div-layer before body_wrapper and after above_body. HTML Code:
<body> <div class="above_body"> <div id="bg_left"></div> <div id="bg_right"></div> <div class="body_wrapper"> <div class="below_body"> ... Code:
#bg_left { background-image: url(bg_left.png); width: 139px; height: 600px; float:left; } #bg_right { background-image: url(bg_right.png); width: 139px; height: 600px; float:right; } .body_wrapper{ margin-left: 139px; margin-right: 139px; min-height: 600px; } ![]() As you can see the whole content itself starts after the 600px of the two bg_left/right. Someone here who actually managed to realise such a layout? greetings, Adan0s |
#2
|
||||
|
||||
![]()
<a href="https://vborg.vbsupport.ru/showthread.php?t=255222" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=255222</a>
Now on that note, I have noticed depending on what side you want the third "column" that it can give you styling issues so I have admittedly used tables/td code to do this as well w/o any issues. |
#3
|
|||
|
|||
![]()
Thank you for your answer.
Unfortunately none of those tricks did help. I really don't know what to do now. I'm pretty firm with CSS but due to the fact that there are like 10000000 styles are taking action I just don't get it. And I really don't want to mess around with tables. |
#4
|
||||
|
||||
![]()
Can we get a link? It's really hard to figure out CSS issues just from an image.
|
#5
|
|||
|
|||
![]()
Aye, good point.
-link removed- I found a workaround which fixes the issue. If you look closely even though the content is aligned correctly it starts right after the background-images end (600px). So, if I add "margin-top: -600px" to the body_wrapper it works as it should. But as you might figure that's a really...bad fix. |
#6
|
||||
|
||||
![]()
The problem is the height you are giving to the side divs. Are those only there to add the image background? Why not just add the image to the actual background CSS? If you google "3 column CSS layout", you'll get a lot of information about what you need to do to get it to work. Your's works fine without the height, so your problem is specific to that and you'll have to try to narrow your searching down to that.
|
#7
|
|||
|
|||
![]()
Thank you. I used an other 3 column css layout and now everything works (even though chrome12 shows an error, but that might depend on the dev version).
I used the following layout: http://www.alistapart.com/articles/holygrail/ and wrapped it around the body_wrapper. |
#8
|
||||
|
||||
![]()
Glad you got it figured out.
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|