• NOW LIVE! Into the Woods--new character species, eerie monsters, and haunting villains to populate the woodlands of your D&D games.

Web site help.

What I want to do with my web site is focus on the text right now, then update the look easily later on.

Right now, the site is a simple layout - http://www.geocities.com/rangerwickett

I want to be able to make it so the pages all access a single 'style file' that determines what they look like. That way, instead of me having to edit each file and re-upload it, I can just edit the style file and upload that, and it'll change the site's look.

The MOST important thing I want is to make sure the links aren't blue. I hate blue links. I can deal with a bland white background if the links aren't blue. *shudder*

I know there are things like themes and styles that can apply to lots of pages, but as far as I can tell, that just saves the style into the body of the html when you save the page. I want something independent of the pages. Any help?

I have access to Frontpage and, y'know, basic raw html, so if it requires something like crazy coding, I'm out of luck, I guess.
 

log in or register to remove this ad

Oh, one thing I was hoping to do is try out different background colors, text colors, and perhaps background images. If I decide I don't like something, I'd like to be able to redesign the website more easily.
 

What you are talking about is CSS. It is straight forward to use, it is a single file that is edited, and you can control your layout to the minutest detail.

If you would like some guidance just ask away.
 

Okay, I looked at CSS (Cascading Style Sheet, right?), and it looked like all I could change is how paragraphs look, not the sort of things that show up in the <body> tag near the top of the page. It seemed like I could change fonts maybe, but not page background, or the color of links, etc.

So please help.
 


RangerWickett said:
Okay, I looked at CSS (Cascading Style Sheet, right?), and it looked like all I could change is how paragraphs look, not the sort of things that show up in the <body> tag near the top of the page. It seemed like I could change fonts maybe, but not page background, or the color of links, etc.

So please help.

If the web page has the background/link colour included, that takes priority over the CSS. You'll have to remove them for the CSS to work.

Geoff.
 


Apparently if you put:

Code:
</html></html><NOSCRIPT><!--<!--geoguide-->--></NOSCRIPT><NOSCRIPT><NOSCRIPT><NOSCRIPT><script></

at the end of your document, that stops Yahoo's pop-ups. I'm not sure if that's fair, and it might get my site closed, but more to the point I don't know how I could manage to put that on every page without again manually having to edit everything.
 

I'm not sure if geocities allows server side includes or not, but you could look into that and include the code you posted in the end of every page.

you could also probably do it with a javascript as well, but you'd have to add a reference to that script on every page...
 

RW, you wouldn't *believe* the degree to which you can change a site by using stylesheets - the key is to use an external level 1 stylesheet to handle your typography (fonts, sizes, colours etc) and another external level 2 stylesheet to handle positioning.

I changed the main website I manage, http://www.rcplondon.ac.uk/ to use CSS2 for layout earlier this year, and come January the site is going to have an *entirely* new look, all through changing one stylesheet file.

To get an idea of how dramatic the changes can be, take a look at www.csszengarden.com where the same HTML file just has lots of different CSS files applied to it.

General rule: never put the CSS styles in your HTML directly. Defeats the entire object. Put them in a separate file and link to it (or import it in the case of your layout file if you go that far).

As a general suggestion for your site - ditch frames. There is a good reason that almost nobody uses them anymore!

Put some organisational < DIV > s to logically separate your content elements (e.g. header, navigation, main content) since these are key to addressing elements of your content in the CSS layout file.

If you want any specific help, just ask (or PM me). I'm you're man!

Cheers
 

Into the Woods

Remove ads

Top