Jump to content

[SOLVED] Trying to learn to use divs instead of tables


jordanwb

Recommended Posts

I assume that you want to know how to do this (you didn't ask a question).

 

Google '3-column layout alistapart' to get a good 3-column layout for the top half, and then add two divs underneath it using a 2-column layout technique. Just keep them entirely separate.

 

I should warn you though, that you will probably find this fairly difficult if you are new to CSS. It's not an easy layout you have chosen there.

Link to comment
Share on other sites

It looks like the attached file.

 

Actually, as you had been talking about tables, I thought you had done what you wanted on tables, and didn't look at the code to realize you had done it with CSS.

 

[attachment deleted by admin]

Link to comment
Share on other sites

well its Pretty simple mate ...

First Creat your main frame size -- the size that your whole size be in for e.g 1024 /768 .. or what ever by makeing  a big div like this ...

 

#Bigframe {
Position:reletive;
Hight:769px;
Width:1024px;
}

thats will make you big frame .. -- just check my spelling laters thoughs .

then you make the smaller Frames the way you want ...

 

#Fram1 {
left:5px;
Position:reletive;
Hight:100px;
Width:500px;
}

#Fram2 {
Left:510px;
Position:reletive;
Hight:100px;
Width:500px;
}
#Fram3 {
Left:xxx  what ever works for you 
Position:reletive;
Hight:xxxx what ever works for you 
Width:xxx  what ever works for you 
}
#Fram4 {
Left:xxxxx  what ever works for you 
Position:reletive;
Hight:xxxx  what ever works for you 
Width:xxxx  what ever works for you 
}


 

as simple as that then in the body you just call this Frams to appear by divs or what ever you like Span / P/table/ allmost everything will work i thinks

[body]
<div id="Bigframe ">
<div id="Fram1"></div>
<div id="Fram2"></div>
<div id="Fram3"></div>
<div id="Fram4"></div>
</div>
</body>

 

thats it basicaly and just put what ever you like inside this dives

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.