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.
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
Page:
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
Tue 15/03/05 at 20:14
Tue 15/03/05 at 20:11
Tue 15/03/05 at 20:08
> #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..
>
>
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
> 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 (
)
classes?
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.
#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
Tue 15/03/05 at 11:50
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..
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?
Devil spawn.
But yeah. Spans support the ID tag...
In CSS id's = #idname. To use nested IDs, (
Simple, no?
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
Mon 14/03/05 at 18:04
Mon 14/03/05 at 17:44
you can have
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
#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
in the html document. Is this correct?
Thanks but our ICT technicians are quite uh... "low budget". I think my Nan knows more about ICT than them
i would help if i new but i dont, you should maybee ask an ICT teacher in you school or something, good luck
Tom
Tom
Page:
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...!
Many thanks!!
Registered my website with Freeola Sites on Tuesday. Now have full and comprehensive Google coverage for my site. Great stuff!!
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.