DIV question

Down&Outdesigns

New Member
ok.. so i photoshopped my entire website mockup..

from the background.. to footer.. to the header...


i have it all coded in.. using

body with a background image..

then header div with my bg image..
my main content with a bg image...
then footer with a bg image...

now how do i put stuff inside THOSE separate div's??

i need to be able to put a thumbnail image that people can click on to go to a bands website... but i need to place it where i want inside the " .main_content div??

is this stuff possible but just adding a div tag inside of my main_content div and then styling it in css stylesheet?
 

AusQB

New Member
You can nest as many elements inside other elements as you like, although there are some exceptions about what types can be included in certain elements.

You just have something like this for example:

HTML:
<body>

   <div id="wrap">

      <div id="header"></div>

      <div id="main_content">

         <div class="thumbnail">

            <img src="" alt="" />

         </div>

      </div>

      <div id="footer"></div>

   </div>

</body>
 

Down&Outdesigns

New Member
and what about that JAVASCRIPT code... that if i click on the image.. the image pops up in front of you and loads for a second.. then u can click out of that...

light-source or something liek that.. ??
 

Down&Outdesigns

New Member
wow you guys are fast with responses.. THANKS so much! :]

still a little confusing, but this is my second day of trying to learn web design... im learning quite quikly.. :]
 

LouTheDesigner

New Member
Lightbox is so simple to use if you just follow their quick instructions. I use it on just about every site that I have done (except flash sites) and the client is always very impressed.
 

webby1

New Member
Photoshop (image ready) can in export the files as html and images (use slices) ...it is a start and delete section imges you dont need,
 
Top