Can anyone recommand a good book for divs

I have reached the end of being frustrated with divs.  I tried dozens and dozens of tutorial online and I can never reproduce what they show.   I would truly appreciate anyone who knows a of good book (full proof, can't go wrong COMPLETE tutorial) on how to work with divs: up, down, sideway across each other, on top no matter how...   if a div can do it, I want to learn how I can make go the way I want.  I hate divs with such an undescrivable passion that I decided to make it my life ambition to win over divs and learn everything that is possible even the unimaginable about divs. I am not going to quit until I do. I will get a PhD in Div if I have to even if it takes the rest of my life to accomplish this goal.

It is not a book on DIV's that you want, it is a book on CSS. Have a look at the following based on your other post.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
    margin: 0px;
    padding: 0px;
.blackbox {
    border-color: #000000;
    border-style: solid;
    margin: 20px;
.greenbox {
    border-color: #15F32F;
    border-style: solid;
    margin: 20px;
    padding: 20px;
    overflow: hidden;
.redbox {
    background-color: #F5070B;
    float: left;
    width: 50%;
.bluebox {
    background-color: #0CDFF1;
    float: left;
    width: 50%;
</style>
</head>
<body>
<div class="blackbox">
  <div class="greenbox">
    <h3 class="redbox">redbox</h3>
    <p class="bluebox">bluebox</p>
  </div>
</div>
<hr class="greenbox" />
</body>
</html>
Firstly I changed the ID's to CLASS's so that you can re-use the selector in the same document. Secondly, I replaced two DIV's with an H3 and a P and I added an HR. The possibilities are endless if used correctly.
You could create a rule for a box as in
.box {width:50%; float:left;}
Then create rules for the two variations as in
.box.red {background-color: #F5070B;}
.box.blue {background-color: #0CDFF1;}
NB: In the above rules, it is not neccessary to have the box selector, it just makes sure that any other red/blue class will not interfere.
The HTML will look like
<h3 class="box red">redbox</h3>
<p class="box blue">bluebox</p>
HTML and CSS are the keywords for learning.

Similar Messages

  • Can anyone recommend any good books on leaning actionscript for flash?

    Can anyone recommend any good books on leaning actionscript
    for flash?
    Intermediate level
    I have been using flash for about 2 years more as a hobby
    than anything else, some websites etc but now I realise I am going
    to need to learn more actionscripting to do what I want, I have
    come to terms with the simple stuff like goto – basic
    variables – load mov – enough to programme up website
    navigation.
    I ideally want to learn more about the dynamic side of flash,
    mostly for designing user interfaces and websites etc
    I’m after a book that doesn’t get too heavy too
    fast yet I’m a little past the more basic functions
    Any thoughts?
    Cheers

    You appear to be stuck on iOS 4.2.1. That means up really have a 2G iPod. A real 3G can go to 5.1.1
    .To find compatible apps more app for 4.2.1 see:
    Old Apps
    VintApps 3.1.3 for iPhone, iPod touch, and iPad on the iTunes App Store
    apps for ios 4.2.1: Apple Support Communities
    Finding iOS 4.2.1 Apps Compatible with Older Devices - Apple Club
    HT4972 Touch Game 4.2.1 Apps: Apple Support Communities
    apps for 4.2.1 (also works for 3.1.3)
    Tip - Finding 4.2.1 apps that work on an...: Apple Support Communities
    4.2.1 iPod 2nd generation unable to use any...: Apple Support Communities

  • Can someone suggest some good books for sql reporting services (SSRS) 2012 or above?

    Hi Everyone,
        Can someone suggest some good books for sql reporting services (SSRS) 2012 and above? I ave been working on ssrs for past 2 months and have a basic understanding of ssrs.
    Regards
    Regards

    Hi,
    you can look for below options;
    http://www.amazon.in/Microsoft-Server-Reporting-Services-Recipes/dp/0470563117#reader_0470563117
    http://www.goodreads.com/book/show/18147604-learning-sql-server-reporting-services-2012
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • Can anyone recommend a good printer for working with an iMac and a MacBook Pro wirelessly?

    Can anyone recommend a good printer for working with an iMac and a MacBook Pro wirelessly?

    canon pixma 6200 series works

  • Can anyone recommend a good app for designing and printing labels?

    I have just switched from pc to mac and have pages on my macbook but it does not have a label function (please apple sort this out its the only major flaw!) so can anyone recommend a good app that will do what a pc does? I do not really want to pay £85+ for office for mac just for the word program

    One way to find an app at the App Store is to use keywords.
    Type   print labels   in the search field top right corner of the App Store window then press Enter or Return on your keyboard.
    Click one of the apps listed. Always check Requirements under Information and definitely read customer reviews before purchasing and make sure there is a support link available in case you need to contact the app developer for questions.
    This forum is mainly for troubleshooting the App Store.
    For feedback for software designed for printing labels, try posting your topic in the Mac OS X community here.

  • Can anyone recommend a good document for Cisco IDS and AAA

    I need some basic tutorial for Cisco IDS and AAA. can anyone recommend any document for it?
    thanks

    The Cisco IDS/IPS senors do not perform any AAA functions. You can not validate a user/password externally.

  • Can anyone recommend some good headphones for iPhone?

    I know because of the recessed headphone jack not all headphones will work. Just for music playing, what's a good pair for around $100-$150? Thanks for any help!

    I recently bought a pair of Sleek Audio SA1 headphones for $80 and like them extremely well. They sound far better (to me anyway) than my much more expensive Shure buds. Sleek has other models and they also have a wireless option that I haven't gotten yet, but intend to.

  • Can anyone recommend very good books on Forms and Reports

    SOS,
    I still have not been able to find smashing text books or website that treated forms and reports so excellently.
    Would you be able to recommend a few please.
    Many thanks
    in advance
    Cube60

    the best way i feel is go thru the forms online doc..and the help files in your developer cd..along with a live project
    There is a very good book also..
    Advanced Forms and Reports
    -Peter Koletzke and Paul Dorsey..
    shankar

  • Can anyone recommend a good book?

    About DreamWeaver of course, not the latest novel you have enjoyed, oh ok then that too!
    Have you used any books to get to know how to use DW and which ones could you recommend and which were not very good at all.
    I have only been using DW for 3 days so pretty new to it. However apart from the basics I would like to know extras like inserting video etc.Hmm maybe that is basic!

    elwoode2 wrote:
    I suppose it was but that guy was experienced with webstie making and wasnt wanting a basic book, etc.
    "Webstie"... Nice typo. It reflects the quality of a lot of websites - they have a lot in common with pig sties.
    If you have only just started working with websites, it's not a book about Dreamweaver you really need, but a book about HTML and CSS. Unless you understand the basic technologies underlying website development, you will find working with Dreamweaver an uphill struggle, or you'll fall into a lot of bad habits that will make your life much more difficult later on. You can learn a lot about both HTML and CSS even without a book. Take a look at the free tutorials on www.w3schools.com. I would also recommend using the build your first website tutorial in the Adobe Developer Connection: http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt1.html.
    While I'm at it, I might as well also give a shameless plug for my book on CSS, "Getting StartED with CSS". There are three chapters available for free download at http://www.adobe.com/devnet/dreamweaver/articles/bk_getting_started_css.html.
    As for general books on Dreamweaver, "Dreamweaver CS4: The Missing Manual" is very good. Many years ago, when I first started using Dreamweaver, I found "Dreamweaver Bible" extremely useful, but I haven't seen the most recent version, so can't say whether it's still as good as it used to be.
    I have written "The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP", but I would not recommend it to a beginner. It's aimed at readers who already have a reasonable grasp of web development basics, and want to dive deeper into using Dreamweaver.
    This question gets asked quite frequently, so you could also use the forum's search feature to look for other recommendations.

  • Anyone recommends a good book for object oriented programming

    I am a college student in computer engineering (Software) and have been programming using Java for over a year. I have become really interested in the design of softwares and the "beauty" of object oriented programming, and thus would like to advance my knowledge about the topic (my university offers an advanced oop class but I would have to wait another 6 months to take it). So my question is, could you recommend me any book that covers the subject of object oriented programming extensively? (I have learned most of the oop I know from "An Introduction to Programming and Object Oriented Design Using Java" by Nino and Hosch.
    Thanks in advance

    Some years ago I remember cutting my teeth on OOP using an excellent book by Grady Booch. If it's still in print and has been updated, it may be worth a look. Again it was decent. Also consider picking up a book on design patterns. Good luck.
    Edit: I found it, it's called "Object-Oriented Analysis and Design with Applications", and it's in its third edition. You can find it here on Amazon.
    Edited by: Encephalopathic on Apr 22, 2008 2:48 PM

  • Can Anyone Recommend Any Good Tutorials For A Beginner?

    Hi,
    I just purchased Pro Logic 9 and was wondering if anyone knows of any good lessons/tutorials to help a first time user of the Pro Logic series. Im excited to get into this program and record but it is so powerful that it is a bit overwhelming. Any suggestions? Thanks in advance!

    I agree with JG99.
    +1 macprovideo
    I've seen both the lynda and macprovideo logic training. Don't get me wrong the Logic training at lynda is ok for the basics. The macprovideo ones are excellent and go much further. So I could learn in depth how all the instruments, like the EXS24 sampler, Ultrabeat drum machine, synths and plugins work and how to use them. There are proper whole tutorials dedicated to mixing and mastering. For me and my studio buddies macprovideo for final cut, logic and now the photoshop titles has saved us countless hours and a lot of hair!
    http://www.macprovideo.com/tutorials/logic-application
    The macprovideo iPad and iPhone apps rock too!

  • Can anyone recommend some good apps for ipod touch 3rd gen can't find any its for my niece thanks

    hi i recenty got an ipod touch 3rd gen,
    its second hand but after a master reset and recover its working fine, ive updated it but dont seem to be able to find any apps too work on it. i got if fot my niece and would like to down load a few things for her before passing it over, any help would be great

    You appear to be stuck on iOS 4.2.1. That means up really have a 2G iPod. A real 3G can go to 5.1.1
    .To find compatible apps more app for 4.2.1 see:
    Old Apps
    VintApps 3.1.3 for iPhone, iPod touch, and iPad on the iTunes App Store
    apps for ios 4.2.1: Apple Support Communities
    Finding iOS 4.2.1 Apps Compatible with Older Devices - Apple Club
    HT4972 Touch Game 4.2.1 Apps: Apple Support Communities
    apps for 4.2.1 (also works for 3.1.3)
    Tip - Finding 4.2.1 apps that work on an...: Apple Support Communities
    4.2.1 iPod 2nd generation unable to use any...: Apple Support Communities

  • Can anyone recommend a good paperback for beginners Logic Pro 9?

    Hi guys,
    This question has probably been asked countless times, however...
    Just purchased Logic Pro 9 and wouldn't mind getting a paperback tect book that will take me through the ins and outs.
    I've jumped on Amazon and had a look but thought Id get a recommendation from the community before purchasing.
    My interests are in electronic music production if that helps.
    Cheers!!

    I never looked into the user manual (sorry for not being very helpful) but if you dont use it you wont learn it. Your best bet is to find what type of music your looking to create... and then search on youtube. That is how i learnt and i am now a whiz. http://www.youtube.com/user/SFLogicNinja - this guy has videos for every plug in and every synth and even more which is really helpful and it is also free.
    http://www.youtube.com/results?search_query=dance+music+in+logic&oq=dance+music+ in+logic&gs_l=youtube.3..0j0i5.3603.6297.0.6464.20.16.0.1.1.1.302.2773.0j3j8j1.1 2.0...0.0.GzLvSWsnNY8
    http://www.youtube.com/results?search_query=classical+music+in+logic&oq=classica l+music+in+logic&gs_l=youtube.3..33i21.21631.25221.0.25333.24.18.0.4.4.1.237.183 4.1j6j4.11.0...0.0.POszetoOfOA
    http://www.youtube.com/results?
    search_query=dubstep+in+logic&oq=dubstep+in+logic&gs_l=youtube.3..0l4j0i5l5.1652 2.19079.0.19286.16.10.0.0.0.0.364.1071.0j1j2j1.4.0...0.0.P9W8ZC80M_M
    http://www.youtube.com/results?search_query=Drums+in+logic&oq=Drums+in+logic&gs_ l=youtube.3..0l4j0i5l6.42440.44816.0.44960.14.12.0.0.0.0.335.1831.0j4j2j2.8.0... 0.0.ZoHK8hjDYzo
    http://www.youtube.com/results?search_query=es2+synthesizer&oq=es2+synthesizer&g s_l=youtube.3...33856.37523.0.37649.15.14.0.1.1.1.299.1814.0j7j3.10.0...0.0.VHAS PSPkyA4
    Youtube has everything. Also it comes with a Eusermanual explaining everything

  • Anyone recommends a good book for object oriented programming (advanced)

    I am a college student in computer engineering (Software) and have been programming using Java for over a year. I have become really interested in the design of softwares and the "beauty" of object oriented programming, and thus would like to advance my knowledge about the topic (my university offers an advanced oop class but I would have to wait another 6 months to take it). So my question is, could you recommend me any book that covers the subject of object oriented programming extensively? (I have learned most of the oop I know from "An Introduction to Programming and Object Oriented Design Using Java" by Nino and Hosch.
    Thanks in advance

    jwenting wrote:
    I never tire of pushing ["Agile Software Development, Principles, Patterns, and Practices "|http://www.amazon.com/Software-Development-Principles-Patterns-Practices/dp/0135974445] by Robert Martin.
    You probably meant [Agile Software Development, Principles, Patterns, and Practices|http://www.amazon.com/Software-Development-Principles-Patterns-Practices/dp/0135974445] ;-)
    Remember, quotes in link names break the forum ...

  • Suggest a good book for learning?

    Hey, all.
    Trying to get into the automating/scripting thing as I've started a new job that has to do a lot of versions of similar animations/illustrations. I'm no programmer, but have had some success with simple AppleScripts in Illustrator and Photoshop, but After Effects doesn't like to play nice with AS. So I figure I may as well focus my efforts on ExtendScript/JavaScript to work with all the apps, be cross-platform, plus help with my limited Expressions knowledge.
    So can anyone suggest some good books for learning the JavaScript language? I've done online tutorials, which have helped a little, but just a big ol' consolidated JavaScript book, teaching the structure and syntax from the beginning (again, not a programmer by trade) would be best for me. Thing is, 95% of the books I've looked at are focused on web design, which I'm not that interested in. I'll use one if the core JavaScript teachings are well-presented and I can just ignore the web stuff; just don't want to buy a book that I'm only going to read half of and not learn everything I need to.
    All suggestions welcome, and thanks in advance.

    Hi there - lots of resources...
    Look up "eloquent javascript" online for a pdf.
    Javascript - The Definitive guide
    NewThinkTank on youtube
    Codeacademy
    Then it's the scripting guide for the other half.

Maybe you are looking for

  • Unable to create database error

    Hello all- I've been working on a project in Robohelp7/HTML for about a week. I come in today and try to open my project and receive the error "Unable to create database. Check that the directory is not read-only.". I've done the obvious of checking

  • HT5622 How do I get my iPhone off of being disabled and "connect to iTunres"?   It will not connect to iTunes.

    I inadvertently pressed "emergency"  then put in the   too many times.  I am technologicallly handicapped---that is how I got in trouble to begin with --> by playing with my iPhone 3G!  Any and all help will be very much appreciated. In one place on

  • NT 의 PERFORMANCE MONITOR 를 CHECK 하기

    제품 : ORACLE SERVER 작성날짜 : 2003-11-27 NT 의 PERFORMANCE MONITOR 를 CHECK 하기 ======================================= PURPOSE NT의 performance MONITOR에서 ORACLE PERFORMANCE를 CHECK 하는 방법을 알아보자. Explanation NT 의 performance 에서 oracle 의 performance 도 check 가 가

  • I can't click and drag

    All of a sudden, last night while I was doing homework, I tried to copy a sentence by the highlight portion wouldn't drag across. I restarted my computer just in case it was over heated and still nothing. I need help! I'm a full time student!!

  • I Photo DVD

    I created a slideshow in i DVD. It runs through on computer but stops when playing on a DVD. I am told that I need to create a slideshow on i Photo...which I have now done. To add music, however, I still have to go to i DVD, do I not? Any suggestions