Jump to content

Div in css


mivpl

Recommended Posts

That's a very general question. I suggest that you look at w3schools Learn HTML section

http://www.w3schools.com/

and try a simple layout using divs instead of tables, using Notepad, save the code with .html filename extension, and gradually make it more complicated as you learn.

When you have a specific problem, ask again showing your code inside forum code tags and someone will help.

Link to comment
Share on other sites

  • 2 weeks later...

I guess the most important thing to learn here is CSS to use table-less design. You need to learn CSS in order to be able to position your elements (div's).

 

So for that try read an article about "CSS Box Model" at: http://www .addedbytes .com/css/box-model/

 

You need to understand first how BLOCK elements and INLINE elements stack if you put

 

onetwothree....

 

and what margin, padding do etc

 

It's a very interesting subject in my opinion, I had some really frustrating times, but had good times if I solved those problems frustrating me. CSS is tricky, but if you can grasp the basics, the rest comes with experience.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...