Been working hard on the tutorials but seem to have come to a stand still. Tutorials seem to be for the most part “beginners guide”.
So now I think the best Idea is to ask all the questions I can’t find the answers for.
My site will be simple - header, slide show, main body, footer. No sidebar, no links.
If I get the terms wrong please forgive me, and if my scripting is incorrect please point it out.
Question I. It appears to me that the days of using tables for the layout are gone. So I don’t need a main table/container table for everything ?? I was reading that some still think its the best way to go.
I’ve been checking out some CSS files and there are some things I’m not sure about.
Lets say I have :
<div class="w3-top"> Cant post it with the brackets
Question 2: Do I need to declare it in my CSS file before I can add selectors, eg:
.w3-top;
.w3-top
{
color:"#ff6666";
background-color:"#000000";
top:0; /* is that the correct order ???
}
The reason I’m asking this is because I have the beginnings to a site but I seem to be having trouble with things like:
.w3- black;
I would have thought that was all that was needed, or:
.w3-black{
color:"#000000";
}
And I see some have done it like this:
.w3-black, /* no semi colon ????
Back with my script and questions soon enough.