Add A Vexel Manage Vexels Account Options User Profile Your Messages Your User Page
Latest Most Favourites Most Comments No Comments
Tutorial Listing Tip Guide
Forum Index Recent Topics Search Forum
FAQ Chatroom Site Themes Competitions
Current Competition Archives
Collaborations
View Collaborations Add A Collaboration
Articles
View Articles Submit an Article
Member List Related Links Vexel Fanlisting Site Statistics

User Login

Featured Member

Essence

Link (info)

VectorPeeps

Search www.Vexels.net

 

Message Boards

Recent Search
Online Related > Website Design > GAHHH WTF!??! Page: 1
Sarah
  11th March 2006 - 10:19 pm
 
http://sewwy.com/temp/test/header.php

why the HELL does the sidebar div keep travelling down the page the more i add to the main dif on the right!? :'(
  

Lillemor
  11th March 2006 - 10:33 pm
 
Hm ... I'm not sure how to explain this, but I don't think you've "defined" it to be put next to the main div. So the sidebar div turn up under the main div, like things usually do when you don't "tell" them to do something else. The "float" thing doesn't do that, it only put the "box" of text to the left.
  

Sarah
  11th March 2006 - 10:41 pm
 
How would i go about fixing that, lillemor? :X
  

Lillemor
  11th March 2006 - 10:50 pm
 
You could put this in your css (under the #main/sidebar):

position:absolute;
left:000px;

and put a value in where it says 000. But you should do that for each div then. Like both for the main div and for the sidebar div. That will make the divs static. They will remain at so or so many pixels from left no matter what screen resolution you have. That could of course be a bad thing if you want the layout to be centered in all resolutions. I don't know how to do it in any other ways. Or another way of doing it is using tables, but I believe tables are no-no these days.

I'm sorry, I'm probably not helping much, but it's been years since I was "into" web designing, so I'm a bit rusty. :P
  

Sarah
  11th March 2006 - 10:51 pm
 
Yeah, Lillemor, i dont want to use absolute because it won't actually centre properly otherwise.. I don't know why what i have isn't working, because my current layout is almost entirely the same, and it's working fine.

:(
  

Manda
  11th March 2006 - 10:52 pm
 
Um im no expert.. but uhh ^^.. maybe you should use adobe imageready to get a table code, thats what i do for my table layouts.. i dunno im stupid >_<
  

Linda
  11th March 2006 - 10:55 pm
 
You could try reading this tutorial: http://www.tutorialtastic.co.uk/page/three_column_css_tableless_layout it's for 3 columns but I'm sure you can fiddle to make it 2. Div layouts are such a pain in the ass.
  

Sarah
  11th March 2006 - 10:59 pm
 
nvm.. i fixed it. Some stupid problem with the padding. blah.
  

Sarah
  11th March 2006 - 11:00 pm
 
thanks linda, i'll use that in the future. :)
  

Jenny
  11th March 2006 - 11:25 pm
 
Aha, yeah, remember to minus values if you use paddings and margins. :)
  

Manda
  11th March 2006 - 11:28 pm
 
Well... i like that layout :D
  

Online Related > Website Design > GAHHH WTF!??! Page: 1


Reply to thread

You must register or login to reply.
  All vexels © their respective owners. Do not use them without consent.
www.Vexels.net © 2005 · Current Theme by Linda

Related Links: