Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »CSS Forum

Notices

CSS Forum Cascading Style Sheets (CSS) and XHTML Forum


Reply
 
LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-10-2007, 04:28 PM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default Div Tags - What are they?

I've been reading up a few things and I'd like to know what exactly is a Div tag and what does it do, I've searched google and tried to understand but I've only gone though a few links and nothing was clear on what they are good for and what they do?

Also I have some book(s) on HTML but anyone know a site that lists and what they do all the HTML tags out there?
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote

  #2 (permalink)  
Old 03-10-2007, 04:47 PM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Gender: Male
Posts: 18,740
Default

This lists most tags and there meanings

HTML element - Wikipedia, the free encyclopedia
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 04-10-2007, 10:07 AM
PR Design's Avatar
CSS Wizardry -- Not Gay!
 
Join Date: May 2007
Location: Yorkshire, England
Gender: Male
Posts: 5,821
Default

It is a container. Imagine it as a cell from a table, except much more versatile.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 04-10-2007, 01:27 PM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default Div tags & Added DW hover

So it is like a table cell in other words. How much more versatile is it?

Also in specificlly dreamweaver can you convert a a:hover to a a:link ?

--- I forgot to also add, and correct me if I'm wrong, but a inline style sheet is a style sheet that is within the HTML code and not external ?

Last edited by PolarBear; 04-10-2007 at 02:00 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 04-10-2007, 01:58 PM
LeadMagnet's Avatar
Mr. Tambourine Man
 
Join Date: Jun 2007
Location: Ireland
Gender: Male
Posts: 1,709
Default

It's not like a table cell really.
It's a box shaped container that people use to logically divide up webpages. You can give them ids or classes and use css to apply styles to them and adjust their size, position, z-index etc. aswell as change the styles of anything contained inside.
You can also use css to add text into a div tag. There's more i'm forgetting probably. The main thing is positioning anyway.

a:hover and a:link are not what i think you think they are. They're both states of anchor tags.
a:link is the normal state of an anchor tag that is unvisited.
a:hover defines the style of an anchor tag when your mouse is over it.
__________________
Subtlety is my middle name... and first and last in case you didn't get the point.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 04-10-2007, 02:13 PM
PR Design's Avatar
CSS Wizardry -- Not Gay!
 
Join Date: May 2007
Location: Yorkshire, England
Gender: Male
Posts: 5,821
Default

Quote:
Originally Posted by LeadMagnet View Post
It's not like a table cell really.
What I meant by that was the fact that they are 'square' and you fill them with content. It is pretty much the table based equivalent of xhtml/css in that it contains your content.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #7 (permalink)  
Old 04-10-2007, 02:39 PM
PolarBear's Avatar
I am creative
 
Join Date: Jul 2007
Location: Toronto
Gender: Male
Posts: 364
Default

Oh, so layers are not Div. See this is what I'm still confused upon, things like ids and classes. I just tried this morning to apply a css to a image a:hover so when you go over the image it changes to another image but it's not working, then I even tried it with text and it didn't work when the other day it did work (something I'm not doing right arrgh)

So you can't change a a:hover style to a a:link, correct? and that question is more focused on dreamweaver.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #8 (permalink)  
Old 04-10-2007, 02:44 PM
PR Design's Avatar
CSS Wizardry -- Not Gay!
 
Join Date: May 2007
Location: Yorkshire, England
Gender: Male
Posts: 5,821
Default

<img class="one" src="pic.jpg" />

.one:hover{
css in here
}
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #9 (permalink)  
Old 04-10-2007, 03:22 PM
LeadMagnet's Avatar
Mr. Tambourine Man
 
Join Date: Jun 2007
Location: Ireland
Gender: Male
Posts: 1,709
Default

Quote:
Originally Posted by PolarBear View Post
Oh, so layers are not Div. See this is what I'm still confused upon, things like ids and classes. I just tried this morning to apply a css to a image a:hover so when you go over the image it changes to another image but it's not working, then I even tried it with text and it didn't work when the other day it did work (something I'm not doing right arrgh)

So you can't change a a:hover style to a a:link, correct? and that question is more focused on dreamweaver.
I really don't understand the question, sorry.

You should also know that dreamweaver does not create some special brand of webpage, so any question like "Ok, so does technique X or Y work in dreamweaver too?" is pointless, because there's nothing you can do in dreamweaver that you can't do in notepad (or textedit on a mac).
__________________
Subtlety is my middle name... and first and last in case you didn't get the point.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #10 (permalink)  
Old 04-10-2007, 03:24 PM
PR Design's Avatar
CSS Wizardry -- Not Gay!
 
Join Date: May 2007
Location: Yorkshire, England
Gender: Male
Posts: 5,821
Default

Best answer I can give: buy a book.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tags treasures comp. onesummer Logo Design & Brand Identity Forum 2 10-12-2007 03:25 PM
positioning <div> tags (DW) PolarBear CSS Forum 8 22-11-2007 05:32 AM
Position of DIV tags design153 CSS Forum 2 13-11-2007 08:41 AM
Question on using DIV tags instead of anchors dfarbey CSS Forum 11 27-10-2007 12:59 PM
css tags Alex* Graphic Design and Web Design Help 13 11-03-2007 07:59 PM


All times are GMT. The time now is 03:15 AM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0