Alright well ive been looking on HTML goodies and i know u need to have like H1-like H6 and stuff but are each one specific to certain codes? like is H1 just for font codes, and H3 for like color coding and stuff? would i be able to do this
H3{font-family:arial;font-color:red;margin-right:auto;margin-left:auto;}
or
H4{font-family:arial;font-color:red;margin-right:auto;margin-left:auto;}
or
H1{font-family:arial;font-color:red;margin-right:auto;margin-left:auto;}
so if i use any of these in the like <h1> or <h3> or <h4> they would all work equally? Im not sure if they are specific to each thing but im guessing they arent, also can u use spacing codes in those? like how i have the margin ones? or do i do it for each thing i want spaced out. thanx
Comments
So for instance say you were writing an essay H1 would be the main header, H2 would be the title or each of the sections such as introduction conclussion etc I dont really think there is much use for anything below H1 and 2
So you could do the same thing in your Style Sheet.
As for the Margin, I pass.
but also theres strong belief that if you put your headers in H1 tags or any of the other H tags it counts those words more important so they can be used for optimising your site to a small degree,
as for the rest i dont undrstand the question but im fairly new to css anyway so that might be why
what Im trying to say is CSS just tells the browser how to make things appear on the end users screen....
Am I making sense?
text-align: center;
if you want to center the page you need to do:
#wrapper {
position: relative;
margin-left: auto;
margin-right: auto;
padding-left: auto;
padding-right: auto;
}
body {
text-align: center;
}
#content {
text-align: left;
}
sebastianastill.co.uk - My Portfolio
example
<body>
<div align="center">
<table>
<!-- your sites html -->
</table>
</div>
</body>
this is obviously simplified but I think you get the idea
But yes that method would also work.
The Royal Ram
I mean seriously take a look at this http://www.w3.org/TR/html401/present/graphics.html#adef-align
they are taking away something that is simple and easy and making it time consuming and complex........
sebastianastill.co.uk - My Portfolio
accesibility your trying to tell me a few words versus a few lines of code makes it more accesible, that align (used in every other profession, think about it you get your car aligned) is an accesibility issue........
Im not against CSS or anything Im just saying removing something simple and replacing it with something more complex when the simple worked fine is just retarded.....
I mean people know align, float yeah thats something you do in WATER....hehehe im mostly just kidding here people, so take this with a grain of salt. however I hope you see what I'm saying.....
Submit your threads
Music Forum
My Web Entrepreneur Blog
VolumeBoost - Member Chosen Music News