homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Can't position DIV tag.

Msg#: 4286021 posted 10:49 pm on Mar 22, 2011 (gmt 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



WebmasterWorld Senior Member 5+ Year Member

Msg#: 4286021 posted 5:38 am on Mar 24, 2011 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved