Quick html question

Currently reading:
Quick html question

Kier

Prominent member
Joined
Aug 17, 2008
Messages
4,883
Points
860
Hey, hoping someone can help me, having a little problem with my site.

If you go to www.kiernet.com, and look at the 'Title 1', I want to make the underline go all the way along the page (well until the end of the wrapper div (800px long).

Does anyone know how to do this?

Cheers.
 
Eh I don't see any underline :confused:

If you want a horizontal libe you could use <hr> but that;s old school

if you want to do it in CSS (the proper way) you could either create a border for the h1 element border-bottom: 1px solid #000000; for example or do something like a new div element and apply the border to it.
 
Eh I don't see any underline :confused:

If you want a horizontal libe you could use <hr> but that;s old school

if you want to do it in CSS (the proper way) you could either create a border for the h1 element border-bottom: 1px solid #000000; for example or do something like a new div element and apply the border to it.

I've been edited for the last couple of hours, so things have been appearing and then going every few minutes lol.

I've got it sorted now.

Code:
h2 {
color: #d96d21;
border-bottom:2px solid #d96d21; width:800px;
}
 
I've been edited for the last couple of hours, so things have been appearing and then going every few minutes lol.

I've got it sorted now.

Code:
h2 {
color: #d96d21;
border-bottom:2px solid #d96d21; width:800px;
}

You should use H1 (if you haven't already got one, couldn't see one!)
 
You might want to pop over to http://validator.w3.org/check?verbose=1&uri=http://kiernet.com/
It's well worth spending a little time getting things valid (or at least better).

I've never bothered with getting my site valid, long as it works for most people, thats good enough for me.

Does anyone know what font would be good for the top? Would rather it be a default font on windows so I dont have to make a image etc. Added some spacing as well, but not sure about it yet.
 
Back
Top