What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » <div> placement [solved]

<div> placement [solved]
Author: Message:
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
O.P. <div> placement [solved]
ok, another quick problem. I have a webpage consisting of 4 main divs... a header, div1, div2, and the content. What i want it to look like is this...

[Image: 12ad1.th.gif]

but when i use the code...
code:
<div id="div1">
(content)
</div>

<div id="div2">
(content)
</div>

along with some css to define the colours and sizes the page ends up looking like this....

[Image: 22ev.th.gif]

anyone got any ideas as to how to solve this problem? thankies

EDIT: solved the problem, i simply created a new div to hold both of these divs, so i ended up having a container to contain divs 1 + 2... :D

This post was edited on 05-31-2006 at 05:01 PM by stoshrocket.
formerly methos
05-31-2006 03:46 PM
Profile PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: <div> placement
well it would help if you actually told us the css you're using it do it in the first place..
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
05-31-2006 03:51 PM
Profile PM Web Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
O.P. RE: <div> placement
code:
.div1 {
margin:5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
width:140px;
float:left;
background: #2F2117;
border: 1px solid #231705; }


that's it...

This post was edited on 05-31-2006 at 03:59 PM by stoshrocket.
formerly methos
05-31-2006 03:59 PM
Profile PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: <div> placement
well i don't see how you expected positioning to work if you didn't put any code for it..
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
05-31-2006 04:04 PM
Profile PM Web Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
O.P. RE: <div> placement
well, i dont know how to position it, that was the whole point of the thread, you could've seen in my first post that i didnt enter any code for positioning seen as though i said 'and some css for sizes and colours'... can anyone tell me the code you need to position them then please?

EDIT: solved the problem, see top post

This post was edited on 05-31-2006 at 05:00 PM by stoshrocket.
formerly methos
05-31-2006 04:14 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On