navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

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.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

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

Microsoft MVP

 

css - I don' t get it

 
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 >> css - I don' t get it
Page: [1]
 
jrrnow

 

Posts: 380
From: at the beach in NJ
Status: offline

 
css - I don' t get it - 6/11/2003 6:19:03   
ok,

I just changed my simple css on my web and it screwed everything up.

www.wetclaywebdesign.com/index2.htm

here is the css:

quote:

body { font-family: Arial; font-size: 10pt; color:#000000; list-style-type:disc }
A:link {color: #660000; text-decoration: none}
A:visited {color:#660000; text-decoration:none}
A:hover {color: #666666; text-decoration:underline}
background-color: white


All I did was add the bg color line and saved and my borders on the left and right changed to fat 3 pix as well as the justification for the paragraph changed also. But the weird thing is that it only changed the one page. (/index2.htm) all the rest of my pages are the same.

What happened?

_____________________________

Jim

We are always more anxious to be distinguished for a talent which we do not possess, than to be praised for the fifteen which we do possess.

www.JimRobinsonPhotography.com
abbeyvet

 

Posts: 5095
From: Kilkenny Ireland
Status: offline

 
RE: css - I don' t get it - 6/11/2003 6:50:48   
background-color: white is an attribute. An attribute must be applied to an element - background of what?

If you mean the page background then it should be like this:

body { font-family: Arial; font-size: 10pt; color:#000000; list-style-type:disc; background-color: white;}

_____________________________

Katherine

:: InKK Design :: InKK Domains

(in reply to jrrnow)
jrrnow

 

Posts: 380
From: at the beach in NJ
Status: offline

 
RE: css - I don' t get it - 6/11/2003 6:58:05   
I want the whole page background to be white. Because some have thier theme set for their display and I would like the page to look the way I designed it. Can I still use the same line as above or does it need to be something else.

I changed it to what you suggested and I guess it worked but now the font and size is being done by the css but the color is not. here is the new css.

quote:

body { font-family: Arial; font-size: 9pt; color:#666666; list-style-type:disc; background-color: white;}
A:link {color: #660000; text-decoration: none}
A:visited {color:#660000; text-decoration:none}
A:hover {color: #666666; text-decoration:underline}


The weird thing is that in normal view in Fp it works, it doesn' t work when I publish and try to view it on the internet. Although, like I said, the font and size is working.

I' m completely lost with the css thing if you haven' t guessed yet.

thanks

< Message edited by jrrnow -- 6/11/2003 7:47:50 AM >


_____________________________

Jim

We are always more anxious to be distinguished for a talent which we do not possess, than to be praised for the fifteen which we do possess.

www.JimRobinsonPhotography.com

(in reply to jrrnow)
gorilla

 

Posts: 2974
From: Denmark
Status: offline

 
RE: css - I don' t get it - 6/11/2003 7:47:28   
The body background will apply to the whole page. That' s what it' s for :)

The exception to this is that for any element where you specify a different background colour. Therefore if you have a body background of white and one element say a quotation for example and you choose to give that quotation a background of yellow then all the page will have a white background except for the quotation.

quote:

I' m completely lost with the css thing if you haven' t guessed yet.



Stick with it - it really is very easy and a great timesaver. You were probably completely lost the first time you started HTML too but you got there didn' t you? :):)

Karsten

_____________________________

Mháircaish

Signature self-censored to protect the sensibilities of the thin-skinned :).

May we never confuse honest dissent with disloyal subversion. – Dwight D. Eisenhower



(in reply to jrrnow)
jrrnow

 

Posts: 380
From: at the beach in NJ
Status: offline

 
RE: css - I don' t get it - 6/11/2003 7:52:34   
quote:

You were probably completely lost the first time you started HTML too but you got there didn' t you?


Got you fooled don' t I? I' m just as lost there. haha

thanks for the help

< Message edited by jrrnow -- 6/11/2003 7:53:32 AM >


_____________________________

Jim

We are always more anxious to be distinguished for a talent which we do not possess, than to be praised for the fifteen which we do possess.

www.JimRobinsonPhotography.com

(in reply to jrrnow)
gorilla

 

Posts: 2974
From: Denmark
Status: offline

 
RE: css - I don' t get it - 6/11/2003 8:14:33   
quote:

ORIGINAL: jrrnow

Got you fooled don' t I? I' m just as lost there. haha

thanks for the help


:):):):)

You are welcome

K

_____________________________

Mháircaish

Signature self-censored to protect the sensibilities of the thin-skinned :).

May we never confuse honest dissent with disloyal subversion. – Dwight D. Eisenhower



(in reply to jrrnow)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> css - I don' t get it
Page: [1]
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