OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

RE: stylesheet layout

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> RE: stylesheet layout
Page: <<   < prev  1 [2]
 
 
ritarun

 

Posts: 680
From: Upstate New York USA
Status: offline

 
RE: stylesheet layout - 3/23/2004 10:29:36   
The line numbers--- how do you add them automatically in the text editor. I am using Notepad. I can't image that they are entered manually.

_____________________________

Success often occurs in private, but failure usually in full view.

(in reply to c1sissy)
lilblackgirl

 

Posts: 288
Joined: 5/16/2002
From:
Status: offline

 
RE: stylesheet layout - 3/23/2004 10:51:43   
Other than manually adding them in, i discovered apps like Top Style adds the numbers automatically. And once you use the app, all style sheets will load in it automatically, so you'll always see the lines. Plus, it's a great app, very user friendly and is really helping me learn CSS.

(in reply to ritarun)
c1sissy

 

Posts: 5094
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: stylesheet layout - 3/23/2004 10:55:28   
quote:

ORIGINAL: ritarun

The line numbers--- how do you add them automatically in the text editor. I am using Notepad. I can't image that they are entered manually.


Using Notepad light, what I did was this
quote:

1 body {style information
}

Then I just saved it as a text file, and opened it up, worked fine.

I'm sure that you could add -line 1 body- etc... and since you are only doing this as a reference to your normal css file, I'm sure that you could number this with whatever notes etc.. that you seem to feel is necessary.

lilblackgirl, I think that maybe what she is looking for is to have the numbers inside of her file? Unless I am mis-understanding what it is that she wants?

< Message edited by c1sissy -- 3/23/2004 10:56:42 >


_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://cssinfo.debsplace.org
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to ritarun)
ritarun

 

Posts: 680
From: Upstate New York USA
Status: offline

 
line number question- ANSWERED - 3/23/2004 11:53:23   
Clarification- I was talking about adding line numbers for reference only in the coding. It does not show up except in the text view mode. I have just been told that Notepad does not have this feature. A more robust text editor (such as Notetab PRO, TextPad or a specialized application like TopStyle) is used and is the only way that it can be done.

Reason I wanted the numbers? I want to go thru line by line and figure out what each tag does and make notes and to be able to ask questions by e-mail such as "what does the coding in lines 48-55 do?" or "line 88 to 99 are for the top header"

Make more sense? Anyway, my question has been answered. Thanks.

_____________________________

Success often occurs in private, but failure usually in full view.

(in reply to c1sissy)
lilblackgirl

 

Posts: 288
Joined: 5/16/2002
From:
Status: offline

 
RE: stylesheet layout - 3/23/2004 11:53:32   
wouldn't adding numbers inside the style sheet mess up how it works?

i.e., wouldn't her html code be looking for
<div class="1 navigation"></div>

if the css stated:
1 .navigation
{
etc.
????
Granted, i'm speaking in total ignorance here, but this just seems logical to me if nothing else. :)

i'll shut up now,
Lil

(in reply to c1sissy)
ritarun

 

Posts: 680
From: Upstate New York USA
Status: offline

 
RE: line number question- ANSWERED - 3/23/2004 11:56:12   
Example:


Thumbnail Image
:)

Attachment (1)

_____________________________

Success often occurs in private, but failure usually in full view.

(in reply to ritarun)
c1sissy

 

Posts: 5094
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: stylesheet layout - 3/23/2004 11:56:26   
Hi lilblackgirl,
Actually what she would be doing is creating a css file for reference, which would be the one that has the numbers in it. This numbering would not go into her user css file, the one that she would link to her files for the web. This would just be a sort of recording keeping type css file that has notations more then what you would noramally put into a css comment. And this would create a way for her to go line by line with numbers if she wishes. (lol, I hope that I am understanding what it is that she wants)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://cssinfo.debsplace.org
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to lilblackgirl)
ritarun

 

Posts: 680
From: Upstate New York USA
Status: offline

 
RE: stylesheet layout - 3/23/2004 12:15:31   
You guys were posting while I was writing and finding an example!:)

Deb I think you misunderstood a little bit. I do not want to add the line numbers to the master.css file. What I wanted was to be able to add the line numbers to the coding to ask questions and learn:

[snipped section for example only]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>


<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="description" content="add your site description here">
<meta name="keywords" content="add your search engine keywords here separated by commas">
<link rel="stylesheet" type="text/css" href="xxxxx.css">
<!-- what ever is in the .css style sheet will control the style cascading of the whole web. This is an external style sheet. Change the style sheet and it changes the whole thing.-->

</head>

<body>

<div align="left">
<!-- This Ends the Top Table Area (this comment was orignally in the template right here)

Was it in the correct location?-->

<!-- Exactly what is the Top Table Area? -- just the top row of the table that says Add your Special Text and/or Company-->
<!--Why would this be different from the rest of the Top Table?? just so you could use a different font?? And should have the comment be placed below the /div tag? and what is being
aligned left??-->

</div>

<div align="center">

<center> <!-- what is being centered? The complete table? on the page??-->


I was under the impression that by figuring out a way to add the line numbers my "virtual mentors" could see exactly where my questions were and could refer to them by numbers. The comments are really learning questions to understand.

With the right program I can add the numbers to the CSS also and not have it affect the styles.


Thumbnail Image
:)

Attachment (1)

< Message edited by ritarun -- 3/23/2004 12:23:23 >


_____________________________

Success often occurs in private, but failure usually in full view.

(in reply to c1sissy)
c1sissy

 

Posts: 5094
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: stylesheet layout - 3/23/2004 13:08:29   
Ritarun,
I wasn't suggesting that you add the numbers to the normal master css, I was suggesting that you create 2 css files. One as your master, the other with the lines with the numbers in it.

I think I sort of got what it was that you wanted to do, lol, I think, but I was suggesting that you do two files(?) one as a master and a duplicate with the lines that are numbered. I guess that would be your sample that you would need?

< Message edited by c1sissy -- 3/23/2004 13:08:56 >


_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://cssinfo.debsplace.org
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to ritarun)
Giomanach

 

Posts: 6191
Joined: 11/19/2003
From: England
Status: offline

 
RE: stylesheet layout - 3/25/2004 7:39:41   
IF you use Dreamweaver to create the Stylesheets, it has a bar on the left hand side that has the line numbers for you. I find them annoying, but thats just me. Having line reference numbers can be handy. On the back-up copy with the number you don't have to put numbers on every line, just every 5 or so. It's only for your reference, so it won't matter

_____________________________




(in reply to c1sissy)
Donkey

 

Posts: 4077
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: stylesheet layout - 3/25/2004 14:11:24   
I use MatrixY2K (which was originally reccomended by our wise hairy member many moons ago) it also numbers your lines and it makes validation "repairs" very easy for an amateur like me.

You can download it from here.

_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to Giomanach)
Page:   <<   < prev  1 [2]

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> RE: stylesheet layout
Page: <<   < prev  1 [2]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts