Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Can't position DIV tag.

10:49 pm on Mar 22, 2011 (gmt 0)

New User

joined:Mar 22, 2011
posts: 1
votes: 0

Hello everybody.
I am new around here and am in desperate need of help.
I am not a webdesigner and am not familiar with html nor css.
However I have managed to a small website for me using dreamwever CS5.

My problem now is that after inserting 3 div tags, which one is to the left and the other 2 are to the right with a total hight of 150px which is the same hight as the divtag to the left.

I done this with no problem. Now I want to to just the same but the other way. I need to add 2 div tags to the left and one to the right with the same hight together as the one in the left.

No matter what I do, I just can't get it to move. When I select float left it does slightely but it stays at the same level as the div tag above and it wont move any more to the right.

What am I doing wrong with div tags? Why is this so hard? Or am I just better of to just use tables instead?

I got the whole index done last night using tags as I needed them but lost the file as it was deleted somehow. Now I need to redesign it again and I just can't seem to do it.

I do not know what am doing diferent than yesterday.

I have inserted all tags in various ways, before tag, after tag, after start of tag, before end of tag, at insertion point but nothing moves it to the left as I need it to be.

Any help well appreciated.

Albert, C
5:38 am on Mar 24, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Aug 9, 2008
posts: 961
votes: 0

Hi albertc30, and welcome to WebmasterWorld :)

Your desciption was very detailed, and I think I can visualise the basic layout, but I'm not sure I understand exactly how you want the "additional" divs to behave.

Plus it sounds as if you may have a list, in which case using a <ul> (unordered list) might be easier. (Or maybe not! ;))

So in this case it might be helpful to post some code - even if it is still not working properly. This Guide to posting [webmasterworld.com] explains how to reduce the html and css to just the "problem" bits.