LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-23-2005, 01:08 PM   #1
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
MS and HTML Woes.


This is a vent, but I finally realize what it means when people say how bloated the code Frontpage produces.... I have to fix someone's website, and holy cow!!!! There are extra tags everywhere... useless things here and there..

I guess it just makes me love GNU/Linux, and Quanta that much more...

Kudos to the Linux world for making me love you.. Yes, I do mean all of you out there!
 
Old 06-23-2005, 01:25 PM   #2
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
Have you ran html tidy on the source code?

http://www.w3.org/People/Raggett/tidy/

It may save you some time. I have no experience with the program as I haven't had the need (Linux and Quanta all the way!), but in theory it could help you a lot.
 
Old 06-25-2005, 11:45 PM   #3
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Original Poster
Rep: Reputation: 30
I'll have to check that out.
Basically what the stupid thing did was set the font for the page in the <body> tag, then go through, reset the font of everyline using the <font> tag, then, before any text was typed, it used the <span> tag to reset the font and color!!!!


it's driving me crazy.
 
Old 06-26-2005, 09:21 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Moved: General... has little to do with linux.
 
Old 06-28-2005, 08:12 AM   #5
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
Be careful about the <font> tag...it is deprecated. It may work today, but not tomorrow!
 
Old 06-28-2005, 10:10 AM   #6
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Original Poster
Rep: Reputation: 30
I did not know that.
What would you suggest using? Just a <span>?
 
Old 06-28-2005, 10:33 AM   #7
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
I remember taking over running a club website from somebody who'd used Frontpage.

It only had a dozen pages from the point of view of the end user, but it had created HUNDREDS of files to generate those simply pages.

In the end, I wiped the entire thing and created the new page from scratch. It was less effort. Frontpage is an abomination.
 
Old 06-28-2005, 05:46 PM   #8
Mr. New
Member
 
Registered: Oct 2004
Distribution: Kubuntu and Mac OS X
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by oneandoneis2
I remember taking over running a club website from somebody who'd used Frontpage.

It only had a dozen pages from the point of view of the end user, but it had created HUNDREDS of files to generate those simply pages.

In the end, I wiped the entire thing and created the new page from scratch. It was less effort. Frontpage is an abomination.
What I'm wondering, is how can you have hundreds of files and it all only makes 12 pages?
were there like 10 stylesheets to every file?

back when I used windows, notepad was what you made websites with, but now i use vim
quanta just isn't cross platform compared to vim, plus vim or vi is installed on every unix computer.

Last edited by Mr. New; 06-28-2005 at 05:47 PM.
 
Old 06-29-2005, 02:47 AM   #9
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
I have no idea. I took a brief look through the dozens of subfolders and hundreds of files, and just said "Sod it!" and wiped the lot.

Small world, I use text editors for HTML too. In fact, maybe you can tell me: How do you do a find & replace on a closing tag in vim?

It gets very confused by something like :%s/</P>/</BR>/g
 
Old 06-29-2005, 05:45 AM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Whats worse is Internet Explorer's blaintant disgregard for w3c standards. Don't get me started.
 
Old 06-29-2005, 11:46 AM   #11
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
DeusEx:
Here is a link showing what is to be deprecated or already is: http://www.w3.org/TR/REC-html40/index/attributes.html

The font tag was deprecated in HTML 4.01, and will not work with XHTML strict, among others. Instead you are supposed to use CSS. Quick synopsis of CSS as it applies to fonts: http://www.w3schools.com/css/css_reference.asp#font.

The above link deals with embedding font styles, but can also be used with inline CSS (it is essentially the same). You'd just surround your text with DIV or SPAN tags and add a style="font-family:Arial...etc" in there.

Cheers!
 
Old 06-29-2005, 01:37 PM   #12
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Original Poster
Rep: Reputation: 30
sweet.. I started using CSS the other day, and fell in love with the <style=foo> stuff.



thanks for the info.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Of Html Files Into A Single Html (or Pdf) fiomba Linux - Software 10 05-11-2018 11:28 AM
html code and including html files Hockeyfan Programming 2 08-22-2005 05:11 PM
how to convert text(html) back to html. d1l2w3 Linux - Software 4 04-08-2005 08:16 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM
HTML Guru's or website Geeks (anyone who knows html) MasterC General 6 07-05-2002 01:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration