homepage Welcome to WebmasterWorld Guest from 54.196.197.153
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Netscape boggles align="right"
tedster




msg:581523
 7:39 am on Apr 25, 2001 (gmt 0)

I have this line of code:

<p align="right"><b>>> Part One</b><br><a href="cb2.html">Part Two</a>

Explorer does just what I expect and creates a nice straight alignment down the right hand side, but Netscape 4.7 does not -- it's jagged by a visible amount.

I found a fix, but it blows my mind. If close the <p> tag, all is well. Looks like it's time to start writing XHTML.

Is this peculiarity part of a bigger issue? Are there other circumstances where NN requires a </p> to get the expected behavior?

Edited by: tedster

 

theperlyking




msg:581524
 8:49 am on Apr 25, 2001 (gmt 0)

I believe there was a certain build of netscape (4.02?) that actually crashed if you didnt close the <p> tag :)

I've got into the habit of closing <p> tags but then again I write pidgin HTML.

chiyo




msg:581525
 9:15 am on Apr 25, 2001 (gmt 0)

It looks like the writing is on the wall for us old time HTML writers. 1,876 custom pages all with unclosed P tags await.

I guess waiting for a script or macro to fix them up for us is beyong hope, considering the different pernutations and combinations. Does anyone know of a HTML tool that automatically edits pages to close P tags? I just cant see, logically, how it would be done.

Could do a mega search on <P> and replace with </P><P> I guess, then add a <P> at the start of each page and table cell and a </P> at the end of each page and table cell but I am sure there will be problems.

Anybody who faces the same problem and has tried such workarounds please let me know before i write off the next 3 months of weekends!

Xoc




msg:581526
 2:28 pm on Apr 25, 2001 (gmt 0)

You should use <p></p> not <P></P>, as xhtml requires lower case. Otherwise you get to do it all again some time later! I believe the html tidy program on the w3 web site will clean up your code for you. [w3.org...]

mivox




msg:581527
 6:34 pm on Apr 25, 2001 (gmt 0)

Oh jeezis.... My first HTML editor (GoLive Cyberstudio Personal Edition) put </p> tags in every spot they (apparently) belonged.

When I 'upgraded' to Adobe GoLive 5, all the </p> tags showed up as 'orphaned' tags (meaning they had no 'mate', and were useless)... so I *DELETED* almost ALL of the </p> tags in every document I've edited in the past 6 months...

AIGH!!! AIUUGGHHHH!!!! Thanks SO much, Adobe... *grumble*

Xoc




msg:581528
 8:49 pm on Apr 25, 2001 (gmt 0)

LOL!

Sorry, I sympathize. Most of the HTML editors produce really bad HTML.

The HTML Tidy program, though, will go through and put them back in. There is a Mac interface for it. Combined with a script, it can go through and modify all the pages on a site. I'd suggest getting it to convert to XHTML while you are at it.

I'll see if I can't put together a tool that can be pointed at a web page and fix it up the "right" way.

mivox




msg:581529
 9:02 pm on Apr 25, 2001 (gmt 0)

The missing </p> is the only problem I've come across with GoLive... It produces validating HTML 4 code with no problem (With 1 exception: it doesn't automatically create 'alt' attributes for images... you gotta remember that one yourself.). I'd assume the next version will "make nice" with the new XHTML standards.

I downloaded the BBedit HTML tidy plug in already, so I'll have to give that a test run, I guess.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved