Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS was applied to every page (i didnt want that)
Old 03-08-2009, 08:58 PM CSS was applied to every page (i didnt want that)
Experienced Talker

Posts: 37
Name: Rafael
Trades: 0
I dont know much about CSS but i tried it on one of my pages. It worked, but the code was applied to every page. Is that meant to happen?
__________________

Please login or register to view this content. Registration is FREE
- My Community for those special people who love Funk & Soul music
leafar is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-08-2009, 09:56 PM Re: CSS was applied to every page (i didnt want that)
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
Well, it depends. If you put the CSS content in a page that is included on all pages, then yes, it will do that. If you include the stylesheet on all your pages, it will do that. But it's very difficult to troubleshoot without code. Could you give us a URL, or code for the page?

- Steve
__________________
if($stevej == "helpful") { $talkupation += $user_power; }
stevej is offline
Reply With Quote
View Public Profile
 
Old 03-08-2009, 10:05 PM Re: CSS was applied to every page (i didnt want that)
Experienced Talker

Posts: 37
Name: Rafael
Trades: 0
www.leafarmusic.web.officelive.com

I discovered the style sheet completely by chance. I put some code in there (ive deleted it), and it changed the background colour (on a test page that i use to see if things work). When i checked the homepage it made the same change.

I dont know anything about including the style sheet on every page, all i know is that on each page i have that option (under a tab called page layout, when im editting), and there doesnt seem to be a way to turn that off on a page. But, what if i want css code on more than one page, but just different code on each? I would think that its good to have it on all pages, so that i can apply different code (or no code) on different pages.

A page that is included on all pages? Isnt a page just a page?

I dont know how you people can understand so many different topics. Its such a minefield, and i like to think that im quite intelligent (and willing to go into all this), but sometimes its just too much. Its hard enough making music and mixing it right, but all this too, its enough to make my head explode. Geez, all i want is a nice little trickle of money coming in.

If i was in charge (of what? i dunno) id make it all so easy to understand.
__________________

Please login or register to view this content. Registration is FREE
- My Community for those special people who love Funk & Soul music

Last edited by leafar; 03-08-2009 at 10:06 PM..
leafar is offline
Reply With Quote
View Public Profile
 
Old 03-08-2009, 11:23 PM Re: CSS was applied to every page (i didnt want that)
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
When you create a page and want to use CSS to STYLE those pages, then you must tell it where to find that CSS, typically in an external css file. To do that, you would need a link like this:

Quote:
<link rel="stylesheet" href="styles.css" type="text/css" />
If that is not on every page, then only those pages that have the link to the CSS file will be affected.

If you want to change styles on different pages, then you do it by creating classes and/or ID's (which must be unique) to control what styles appear on any given page.

CSS and HTML are not rocket science, but you do need to put some effort into learning both, just like you'd have to learn the notes on a piano or the chords on a guitar.

I highly recommend this book:
http://www.sitepoint.com/books/html2/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-09-2009, 12:06 AM Re: CSS was applied to every page (i didnt want that)
Experienced Talker

Posts: 37
Name: Rafael
Trades: 0
No idea what any of that means. Thanks for your response and i will check out that link. All ill say is that technology is supposed to help people, not make their heads explode. My instinct tells me that this is unnecessarily complicated.
__________________

Please login or register to view this content. Registration is FREE
- My Community for those special people who love Funk & Soul music
leafar is offline
Reply With Quote
View Public Profile
 
Old 03-09-2009, 06:15 AM Re: CSS was applied to every page (i didnt want that)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
What makes it "unnecessarily complicated" is that outdated, invalid, bloated garbage "code" that the officelive system spews out.

There is absolutely no way at all you could even begin to get the merest hint of how HTML & CSS work together smoothly and simply while you are using a system that creates code like it is still 1995.

I've already said this in another thread, but just go and signup at Wordpress for a freebie blogging account and start learning what decent code looks like.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-09-2009, 07:24 AM Re: CSS was applied to every page (i didnt want that)
Experienced Talker

Posts: 37
Name: Rafael
Trades: 0
Actually when i have a moan about stuff, and how "they" do things, im not referring to anyone in particular because i dont know who to refer to, and yes, officelive does seem limited (youre probably thinking "yeah right, to say the least").

So i should start all over again at wordpress, the whole website? (im ready to do that this instant, as long as its the thing to do)
__________________

Please login or register to view this content. Registration is FREE
- My Community for those special people who love Funk & Soul music
leafar is offline
Reply With Quote
View Public Profile
 
Old 03-09-2009, 07:31 AM Re: CSS was applied to every page (i didnt want that)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
believe you me, It is.

Your layout should take around 40 mins to an hour for you to set it, probably about 10 mins for somebody experienced with HTML, CSS and Wordpress.
Just copy the text from the officelive site NOT the source code

BTW. register your own domain name as well
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-09-2009, 07:37 AM Re: CSS was applied to every page (i didnt want that)
Experienced Talker

Posts: 37
Name: Rafael
Trades: 0
Wordpress it is then. Lets see how this goes. Just to be clear, registering a domain name costs very little, is a one time thing, can be done at any time (ie i dont need to do it just yet), and means that anyone who goes to www . leafarmusic . com be directed to wherever my website happens to be hosted? And should i go to wordpress.com or org? (By the way ive just looked up wordpress in wikipedia and it says that there are many security issues)
__________________

Please login or register to view this content. Registration is FREE
- My Community for those special people who love Funk & Soul music

Last edited by leafar; 03-09-2009 at 07:47 AM..
leafar is offline
Reply With Quote
View Public Profile
 
Old 03-09-2009, 07:48 AM Re: CSS was applied to every page (i didnt want that)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by leafar View Post
Just to be clear, registering a domain name costs very little, is a one time thing, can be done at any time (ie i dont need to do it just yet),
It cost something for every year you keep it up. But it is cheap, maybe $5 - $6 a year depending where you register it. The sooner you do register it the better, before somebody steals it away in the event of your site becoming well known.

Quote:
Originally Posted by leafar View Post
, and means that anyone who goes to www . leafarmusic . com be directed to wherever my website happens to be hosted?
Yep that's it exactly.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-09-2009, 08:36 AM Re: CSS was applied to every page (i didnt want that)
Experienced Talker

Posts: 37
Name: Rafael
Trades: 0
Ive already got a wordpress account which i previously gave up on. Ive logged in, and realised that CSS is absolutely not an option for me on wordpress, as i have to pay to be able to use it and my budget is 0.00. Ive just looked again and its cheap so ill consider it.

Can i still design a pretty good site with a theme just for now?

Also wordpress.com doesnt allow any advertising. Can i have an amazon AStore for example? What kinds of things can i have?
__________________

Please login or register to view this content. Registration is FREE
- My Community for those special people who love Funk & Soul music

Last edited by leafar; 03-09-2009 at 10:32 AM..
leafar is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS was applied to every page (i didnt want that)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.49631 seconds with 12 queries