|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Jun 2006
Location: Over there.
Posts: 817
|
Problems not closing a DIV class tag? Help please.
I have a piece of code where there is a DIV class tag <div class="XXXXX"> but when I close it </div> it doesn't work. Only when I don't close it does it works.
I've never come across something like this before. I've cross browser tested it, works, but there is no closing tag. Of course it doesn't validate but it works. Any of you code pros care to tell me if this can cause a real problem or not?
__________________
|
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Apr 2002
Location: State Of Bliss
Posts: 2,438
|
You probably are missing a quote to close the tag somewhere.
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Apr 2002
Location: Sweden
Posts: 1,688
|
Take a look here: http://validator.w3.org/
|
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: Beck's City, North Teutonia
Posts: 3,185
|
maybe you shud post the class params?
__________________
There aren't enough faces and palms on this planet for an appropriate reaction to religion. |
|
|
|
|
|
#6 | |
|
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: Beck's City, North Teutonia
Posts: 3,185
|
Quote:
__________________
There aren't enough faces and palms on this planet for an appropriate reaction to religion. |
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Feb 2003
Location: CheapAssDesigns.com
Posts: 1,874
|
<div style="clear:all"></div>
after the closing div has saved me on numerous ocassions
__________________
CheapAssDesigns.com - when you need quality designs at affordable prices. icq: 230-729-205 info |at| cheap ass designs dot com |
|
|
|
|
|
#8 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
|
Html Validator - Puts icon at bottom right of browser, red if errors.. open, shows source and errors listed.
https://addons.mozilla.org/en-US/firefox/addon/249/ Web Developer - Has a validator in it, out line divs, div orders, all types of goodies. https://addons.mozilla.org/en-US/firefox/addon/60/
__________________
It's all disambiguation ![]() |
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Jun 2006
Location: Over there.
Posts: 817
|
<div class="updates">
<div class="item"><a href="#"><img src="images/model/name.jpg" alt="Watch Video"></a></div> </div> should go here But if I put it there, for some odd reason it's not working. But if I just leave it out, it works. For sure there is a problem, and there are no extra div tags anywhere else.
__________________
|
|
|
|
|
|
#10 | |
|
Confirmed User
Industry Role:
Join Date: Jun 2006
Location: Over there.
Posts: 817
|
Quote:
__________________
|
|
|
|
|
|
|
#11 |
|
Confirmed User
Industry Role:
Join Date: Jun 2006
Location: Over there.
Posts: 817
|
.updates .item {position: relative;} .updates .item .comment {background: url("images/play_movie.png") no-repeat center center; cursor: pointer; display: none; height: 265px; left: 0; position: absolute; text-indent: -9999px; width: 355px;} .updates .item {float: center; margin: 0px;} I'm clearly missing something that I can not find. Never had this problem before where closing a div tag wouldn't work.
__________________
|
|
|
|