HighDots Forums  

What Kind of Code is This?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss What Kind of Code is This? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deaf Mike
 
Posts: n/a

Default What Kind of Code is This? - 11-25-2004 , 05:10 PM






www.heidelbergdist.com hi, could comeone please look a the code for that page.
i know a div is related to layers in DW but i don't see the absolute
positioning in the code. are they using layers for the containers of the
content, or something else? thanks.


Reply With Quote
  #2  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: What Kind of Code is This? - 11-25-2004 , 05:30 PM






Deaf Mike wrote:

Quote:
www.heidelbergdist.com hi, could comeone please look a the code for that page.
i know a div is related to layers in DW but i don't see the absolute
positioning in the code. are they using layers for the containers of the
content, or something else? thanks.

"Layers" is DW lingo for *absolutely* positioned divs. But you can also
have divs that are relatively positioned or floating or neither. Look in
the code, e.g. for <div id="tellFriend"> then in the stylesheet for
#tellFriend and see what is says.

--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml
Call or chat me via Skype ID: danvendel, but DON'T ask questions that
you can ask here! (get Skype at http://skype.com)


Reply With Quote
  #3  
Old   
Michael Fesser
 
Posts: n/a

Default Re: What Kind of Code is This? - 11-25-2004 , 05:52 PM



.oO(Deaf Mike)

Quote:
www.heidelbergdist.com hi, could comeone please look a the code for that page.
i know a div is related to layers in DW
It isn't.

Quote:
but i don't see the absolute
positioning in the code.
A div is just a meaningless grouping element, a container. The term
"layer" is misleading, used in DW for an absolutely positioned div. But
this doesn't mean that you have to use positioning on div-elements all
the time.

Micha


Reply With Quote
  #4  
Old   
Deaf Mike
 
Posts: n/a

Default Re: What Kind of Code is This? - 11-25-2004 , 07:23 PM



ok so my next question is - is it possible for me set up the layout of my site
using these empty containers or 'layers' in DW, and then control them with CSS?
If so, which selections do i make in CSS to actually control a div? thanks.


Reply With Quote
  #5  
Old   
Nadia *TMM*
 
Posts: n/a

Default Re: What Kind of Code is This? - 11-25-2004 , 07:30 PM



"Deaf Mike" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
ok so my next question is - is it possible for me set up the layout of my
site
using these empty containers or 'layers' in DW, and then control them with
CSS?
Yes most definitely, that's how it's done.

Quote:
If so, which selections do i make in CSS to actually control a div?
thanks.
Go through this tutorial and you should get a pretty good understanding of
how it all works.
http://projectseven.com/tutorials/css/qdmacfly/index.htm

This gives some good tips:
http://www.mezzoblue.com/css/cribsheet/

--
Nadia
Team Macromedia Volunteer for Dreamweaver
--------------------------------------------
Free Templates | Free Nav Bar Sets
http://www.DreamweaverResources.com
Dropdown/Flyout Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles |Tutorials
---------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------
Email: nperre at gmail dot com
---------------------------------------------




Reply With Quote
  #6  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: What Kind of Code is This? - 11-26-2004 , 01:22 AM



Deaf Mike wrote:

Quote:
ok so my next question is - is it possible for me set up the layout of my site
using these empty containers or 'layers' in DW, and then control them with CSS?
If so, which selections do i make in CSS to actually control a div? thanks.

Of course you can. You can Google for "div css tutorial" and find lots
of info. You can study the code to any such page, get the stylesheet and
see what the developer has done and which parameters he/she had used, etc.

However, bear in mind that the technique is sometimes pretty frustrating
since DW might not show what you are trying to achieve (you need to
check in various browsers), and that there are a multitude of hacks for
making soma parameters work cross browser.

--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml
Call or chat me via Skype ID: danvendel, but DON'T ask questions that
you can ask here! (get Skype at http://skype.com)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.