" - Page 4"> " - Page 4">
GetDotted Domains

Viewing Thread:
"CSS "
""

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Mon 14/03/05 at 17:43
"Dark FX"
Posts: 303
Hey. For my media studies coursework, I've decided to construct a website with CSS. I understand external style sheets (to a certain degree). I just don't understand
and
tags. Where and what do i save the files as. Thanks
Tue 15/03/05 at 21:53
Regular
"Bicycle"
Posts: 4,899
This.Celluloid.Dream wrote:
> #header {
> margin: 0 auto;
> width: 754px;
> \width: 770px;
> w\idth: 754px;
> text-align: left;
> background: #f8f8f8 url(graphics/bg.gif) center top repeat-y;
> }

>
> So if i type that into the external style sheet, what should i type
> into the actual HTML document? All i have so far is..
>
>
Tue 15/03/05 at 21:35
Regular
"l33t cs50r"
Posts: 2,956
This.Celluloid.Dream wrote:
> classes?

#id

.class

You can only have an id appear once in a document, so if you have #header, this can only appear once in your document. If you have repetitive styles such as styled

's then you would use a class, p.class (

)

Tue 15/03/05 at 20:14
"Dark FX"
Posts: 303
classes?
Tue 15/03/05 at 20:11
Regular
"l33t cs50r"
Posts: 2,956
ONe thing not pointed out yet is that ID's should be unique in any document. If you have repeating styles in a document, then you use classes.
Tue 15/03/05 at 20:08
"Dark FX"
Posts: 303
#header {
margin: 0 auto;
width: 754px;
\width: 770px;
w\idth: 754px;
text-align: left;
background: #f8f8f8 url(graphics/bg.gif) center top repeat-y;
}


So if i type that into the external style sheet, what should i type into the actual HTML document? All i have so far is..

Tue 15/03/05 at 17:24
Regular
"Bicycle"
Posts: 4,899
Grrr tables.

Devil spawn.

But yeah. Spans support the ID tag...

In CSS id's = #idname. To use nested IDs, (
) just use the CSS : #idname1 #idname2 { ... }

Simple, no?
Tue 15/03/05 at 11:50
Regular
"you've got a beard"
Posts: 7,442
that's right, but the ID can be assigned to most html elements, not just
's.

you can have if you like to customise tables, etc (even though everyone here is prolly too far advanced to use tables anymore ;P )
Mon 14/03/05 at 18:32
"Dark FX"
Posts: 303
Does the information regarding the
tag go inside the external style sheet. For example

#header {
margin: 0 auto;
width: 754px;
\width: 770px;
w\idth: 754px;
text-align: left;
background: #f8f8f8 url(graphics/bg.gif) center top repeat-y;
}


And then type
Mon 14/03/05 at 18:04
"Dark FX"
Posts: 303
Thanks but our ICT technicians are quite uh... "low budget". I think my Nan knows more about ICT than them
Mon 14/03/05 at 17:44
Regular
"the whites are goin"
Posts: 279
i would help if i new but i dont, you should maybee ask an ICT teacher in you school or something, good luck
Tom

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie
Many thanks!!
Registered my website with Freeola Sites on Tuesday. Now have full and comprehensive Google coverage for my site. Great stuff!!
John Shepherd

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.