logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 01-12-2011, 09:59 PM   #1
DWeaver73
 
Join Date: Dec 2010
Posts: 12
Question Need help for homework

hello everyone

i have the last question to submit before midnite and here it goes:

----------------

It is sufficient to put div id in the boy tag of a document without writing a style sheet for the CSS selector with declaration? give examples

----------------

thanks in advance!
DWeaver73 is offline   Reply With Quote
Old 01-12-2011, 10:12 PM   #2
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Quote:
Originally Posted by DWeaver73 View Post
It is sufficient to put div id in the boy tag
No, the div id should always be in the girl tag.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 01-12-2011, 10:15 PM   #3
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

Quote:
Originally Posted by DWeaver73 View Post
It is sufficient to put div id in the boy tag of a document without writing a style sheet for the CSS selector with declaration? give examples
Talking about cryptic questions here on the forum
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Old 01-12-2011, 10:29 PM   #4
DWeaver73
 
Join Date: Dec 2010
Posts: 12
Default

thats the question coming out from my teacher.... not me lol
DWeaver73 is offline   Reply With Quote
Old 01-12-2011, 10:31 PM   #5
DWeaver73
 
Join Date: Dec 2010
Posts: 12
Default

wait.... wtf, where "boy" comes from??? lmao
wait.... let me check...

sorry, i mispelled it, supposed to be body

"It is sufficient to put div id in the body tag of a document without writing a style sheet for the CSS selector with declaration?"

thanks for the laugh...
DWeaver73 is offline   Reply With Quote
Old 01-12-2011, 10:43 PM   #6
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

Man... if they ask questions like that on web design school, I would probably never got so far where I'm now... I think I would even quit web design school
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Old 01-12-2011, 10:47 PM   #7
DWeaver73
 
Join Date: Dec 2010
Posts: 12
Default

thats exactly how i feel... but i have no choice this time.... i dropped out once and i regretted it, now it seems harder but not impossible, it will take me some time...
DWeaver73 is offline   Reply With Quote
Old 01-12-2011, 10:58 PM   #8
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

Well, the answer is NO and NO! If you don't hook a style to that div then there is no need for an ID... I guess that's what she mean... BUT... if you want to hook a style to that div you also don't need an ID.

Let's say if that div is the 3rd div in the document hierarchy you can also hook styles on it like this:
Code:
body + div + div + div {styles here}
It's rarely used like this but it is possible
__________________
www.gentlemedia.nl

Last edited by gentleone; 01-12-2011 at 11:24 PM..
gentleone is offline   Reply With Quote
Old 01-12-2011, 11:02 PM   #9
DWeaver73
 
Join Date: Dec 2010
Posts: 12
Default

thank you!
DWeaver73 is offline   Reply With Quote
Old 01-12-2011, 11:17 PM   #10
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

man... that question bothers me... I understood it wrong... I think (I re-read it 10 times or so, but I'm Dutch.. so).
Anyways... she asks that if you give a div an ID is it enough without hooking styles to that div... what a stupid question.... I call it a day
__________________
www.gentlemedia.nl

Last edited by gentleone; 01-12-2011 at 11:29 PM..
gentleone is offline   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

Forum Jump


All times are GMT. The time now is 09:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com