Log In · Register

 
hiding a div
nymph
post May 27 2006, 07:15 PM
Post #1


faerie
**

Group: Member
Posts: 23
Joined: Feb 2004
Member No: 2,762



okay i fixed it by using a hide span tag...
but the thing is after that i can't close my tags including my div, span, body and html, and they're not automatically closed for me. does this affect the viewing of a website especialy in terms of aesthetics?
thanks

this isn't really xanga related, but i want to hide this phrase that is added on the bottom of all USC sites... this is the code at the end of the page when i view source:

CODE
<div style="display: block; font-family: Verdana, Geneva, Arial; font-size: 10px">
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content.  All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees
</div>


since it doesn't have a div id, and i use divs all over the site, how do i hide this? i have tried giving it a name but it doesn't work

here's the site:

http://www-scf.usc.edu/~deltas/alphaupsilon.html
thanks
 
 
Start new topic
Replies (1 - 4)
talcumpowder
post May 28 2006, 12:13 AM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



I don't see that. mellow.gif And why don't you use a javascript code such as this? Assuming I even understand your point, which I'm not sure I do. mellow.gif
-> Moved to Website Help.
 
*mipadi*
post May 28 2006, 09:20 AM
Post #3





Guest






change display:block to display:none.
 
nymph
post May 28 2006, 12:16 PM
Post #4


faerie
**

Group: Member
Posts: 23
Joined: Feb 2004
Member No: 2,762



hi, i can't change the display to none because it is a div created by the usc server so i have no control over it...

well i'm just wondering if not closing <html> and <span> would matter in terms of webpage viewing
thanks
 
*mipadi*
post May 28 2006, 03:56 PM
Post #5





Guest






QUOTE(nymph @ May 28 2006, 1:16 PM) *
hi, i can't change the display to none because it is a div created by the usc server so i have no control over it...

well i'm just wondering if not closing <html> and <span> would matter in terms of webpage viewing
thanks

Doubtful, but it might work. I can't guarantee it would do the job in all browsers.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: