Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 V33(.03) BUG+FIX: valign="center"
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 19 November 2001 :  07:00:04  Show Profile
In various files, some of the HTML code does not conform to the w3 standards, valign="center" should be valign="middle" in the following files:

active.asp (13 occurences)
forum.asp (8 occurences)
inc_top_short.asp (1 occurence)
pop_printer_friendly.asp (1 occurence)
pop_profile.asp (1 occurence)
search.asp (9 occurences)

heptite
Average Member

USA
547 Posts

Posted - 19 November 2001 :  07:09:36  Show Profile  Visit heptite's Homepage  Send heptite an ICQ Message  Send heptite a Yahoo! Message
Choices for vAlign:

middle - Default. Aligns the text in the middle of the object.

baseline - Aligns the base line of the first line of text with the base lines in adjacent objects.

bottom - Aligns the text at the bottom of the object.

top - Aligns the text at the top of the object.

The default is middle.

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/vAlign_1.asp

Additional support files - http://www.snitz.info
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 November 2001 :  09:14:22  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Updated for 3.4

search.asp - 5 occurances found
pop_printer_friendly.asp 0 occurances found
pop_profile.asp - 1 occurance found
inc_top_short.asp - 0 occurances found
forum.asp - 7 occurances found
active.asp - 10 occurances found

I did a global search and replace on both of the following:

Search for: valign="center" | Replace with: valign="middle"
Search for: valign=""center"" | Replace with: valign=""middle""

----
-Eric | Mod Resource | Test Area
"A program is a device used to convert data into error messages."
http://phpscriptcenter.com -Quality PHP Scripts
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 November 2001 :  09:29:39  Show Profile
valign=center is in there also.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 November 2001 :  09:40:48  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Update: following accurances in addition to the above - Searched for: valign=center and replaced with valign=middle

pop_printer_friendly.asp - 1 occurrance
inc_top_short.asp - 1 occurance
search.asp - 2 occurrances
pop_profile.asp - 0 occurances
forum.asp - 0 occurances
active.asp - 3 occurrances

----
-Eric | Mod Resource | Test Area
"A program is a device used to convert data into error messages."
http://phpscriptcenter.com -Quality PHP Scripts
Go to Top of Page

heptite
Average Member

USA
547 Posts

Posted - 19 November 2001 :  09:55:44  Show Profile  Visit heptite's Homepage  Send heptite an ICQ Message  Send heptite a Yahoo! Message
quote:

Update: following accurances in addition to the above - Searched for: valign=center and replaced with valign=middle



Instead, replace with valign="middle" - to be in synch with the other changes you made.

Sue

Additional support files - http://www.snitz.info
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 November 2001 :  10:02:48  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I replaced with valign=middle because my search and replace feature cant tell the difference between an ASP string and a standard HTML attribute - if I were to do a search and replace as you said I'd end up screwing up some code.

I'll go through and search manually though.

----
-Eric | Mod Resource | Test Area
"A program is a device used to convert data into error messages."
http://phpscriptcenter.com -Quality PHP Scripts
Go to Top of Page

heptite
Average Member

USA
547 Posts

Posted - 19 November 2001 :  10:12:27  Show Profile  Visit heptite's Homepage  Send heptite an ICQ Message  Send heptite a Yahoo! Message
What are you using for search and replace?

I use UltraEdit, and it knows the difference between valign=middle and valign="middle"

Sue

Additional support files - http://www.snitz.info
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 November 2001 :  10:18:11  Show Profile
I plan on going through every single file before we release the next version and make sure that everything that should have quotes around it, does. Also, to take out extra tabs and spaces that cause problems on some system.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 November 2001 :  10:22:55  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
quote:

What are you using for search and replace?

I use UltraEdit, and it knows the difference between valign=middle and valign="middle"

Sue

Additional support files - http://www.snitz.info




I use AceHTML 4 Pro - but I think you may have misunderstood me...

If I were to do a search and replace on the below code:

<%
stringName = "<td valign=center>whatever</td>
%>
<td valign=center>whatever</td>

The result would be:

<%
stringName = "<td valign="center">whatever</td>
%>
<td valign="center">

As apposed to:

<%
stringName = "<td valign=""center"">whatever</td>
%>
<td valign="center">whatever</td>

----
-Eric | Mod Resource | Test Area
"A program is a device used to convert data into error messages."
http://phpscriptcenter.com -Quality PHP Scripts
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 November 2001 :  10:28:45  Show Profile
Yes, exactly. That's the very reason I never do a global search and replace. I always go through and do manual searches. The code is too complex to risk messing it up.
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 24 November 2001 :  12:03:47  Show Profile
Fixed valign=center or valign="center" or valign=""center"" to valign="middle" or valign=""middle"" in [v40b03patch001]...

Think Pink
Test Site not ready yet | Post v40b03 Patches

Edited by - bozden on 24 November 2001 12:11:32
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07